llvm.org GIT mirror llvm / df0c833
[TTI] Fix some typos in comments. NFC 'implementaion' -> 'implementation' 'non-unform' -> 'non-uniform' 'mimimum' -> 'minimum' Patch by Pavel Samolysov Differential Revision: https://reviews.llvm.org/D62136 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361554 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 5 months ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
7979 /// API below.
8080 ///
8181 /// This is used by targets to construct a TTI wrapping their target-specific
82 /// implementaion that encodes appropriate costs for their target.
82 /// implementation that encodes appropriate costs for their target.
8383 template TargetTransformInfo(T Impl);
8484
8585 /// Construct a baseline TTI object using a minimal implementation of
245245 ArrayRef Arguments,
246246 const User *U = nullptr) const;
247247
248 /// \Return the expected cost of a memcpy, which could e.g. depend on the
248 /// \return the expected cost of a memcpy, which could e.g. depend on the
249249 /// source/destination type and alignment and the number of bytes copied.
250250 int getMemcpyCost(const Instruction *I) const;
251251
303303
304304 // Returns true for the target specific
305305 // set of operations which produce uniform result
306 // even taking non-unform arguments
306 // even taking non-uniform arguments
307307 bool isAlwaysUniform(const Value *V) const;
308308
309309 /// Returns the address space ID for a target's 'flat' address space. Note
715715 bool shouldMaximizeVectorBandwidth(bool OptSize) const;
716716
717717 /// \return The minimum vectorization factor for types of given element
718 /// bit width, or 0 if there is no mimimum VF. The returned value only
718 /// bit width, or 0 if there is no minimum VF. The returned value only
719719 /// applies when shouldMaximizeVectorBandwidth returns true.
720720 unsigned getMinimumVF(unsigned ElemWidth) const;
721721