Home
last modified time | relevance | path

Searched refs:Elt (Results 1 – 25 of 219) sorted by relevance

123456789

/external/llvm-project/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp34 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { in getMaskElt() argument
35 return (Mask >> ((3-Elt)*4)) & 0xF; in getMaskElt()
38 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument
39 unsigned FieldShift = ((3-Elt)*4); in setMaskElt()
199 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], in EvaluateOps() argument
201 if (ShufTab[Elt].Cost == 0) return; in EvaluateOps()
205 if (Vals[i] == Elt) return; in EvaluateOps()
208 unsigned Arg0 = ShufTab[Elt].Arg0, Arg1 = ShufTab[Elt].Arg1; in EvaluateOps()
214 Vals[NumVals++] = Elt; in EvaluateOps()
476 template<unsigned Elt>
[all …]
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { in getMaskElt() argument
36 return (Mask >> ((3-Elt)*4)) & 0xF; in getMaskElt()
39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument
40 unsigned FieldShift = ((3-Elt)*4); in setMaskElt()
200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], in EvaluateOps() argument
202 if (ShufTab[Elt].Cost == 0) return; in EvaluateOps()
206 if (Vals[i] == Elt) return; in EvaluateOps()
209 unsigned Arg0 = ShufTab[Elt].Arg0, Arg1 = ShufTab[Elt].Arg1; in EvaluateOps()
215 Vals[NumVals++] = Elt; in EvaluateOps()
477 template<unsigned Elt>
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DSmallVector.h141 bool isSafeToReferenceAfterResize(const void *Elt, size_t NewSize) { in isSafeToReferenceAfterResize() argument
143 if (LLVM_LIKELY(Elt < this->begin() || Elt >= this->end())) in isSafeToReferenceAfterResize()
148 return Elt < this->begin() + NewSize; in isSafeToReferenceAfterResize()
155 void assertSafeToReferenceAfterResize(const void *Elt, size_t NewSize) { in assertSafeToReferenceAfterResize() argument
156 assert(isSafeToReferenceAfterResize(Elt, NewSize) && in assertSafeToReferenceAfterResize()
163 void assertSafeToAdd(const void *Elt, size_t N = 1) {
164 this->assertSafeToReferenceAfterResize(Elt, this->size() + N);
316 void push_back(const T &Elt) { in push_back() argument
317 this->assertSafeToAdd(&Elt); in push_back()
320 ::new ((void*) this->end()) T(Elt); in push_back()
[all …]
DSmallString.h51 void assign(size_t NumElts, char Elt) { in assign() argument
52 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
90 void append(size_t NumInputs, char Elt) { in append() argument
91 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/clang/include/clang/AST/
DASTVector.h157 void push_back(const_reference Elt, const ASTContext &C) { in push_back() argument
160 new (End) T(Elt); in push_back()
199 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append() argument
205 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
216 iterator insert(const ASTContext &C, iterator I, const T &Elt) { in insert() argument
218 push_back(Elt, C); in insert()
228 *I = Elt; in insert()
238 const T &Elt) { in insert() argument
243 append(C, NumToInsert, Elt); in insert()
264 std::fill_n(I, NumToInsert, Elt); in insert()
[all …]
/external/llvm-project/clang/include/clang/AST/
DASTVector.h162 void push_back(const_reference Elt, const ASTContext &C) { in push_back() argument
165 new (End) T(Elt); in push_back()
202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append() argument
208 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
219 iterator insert(const ASTContext &C, iterator I, const T &Elt) { in insert() argument
221 push_back(Elt, C); in insert()
231 *I = Elt; in insert()
241 const T &Elt) { in insert() argument
246 append(C, NumToInsert, Elt); in insert()
267 std::fill_n(I, NumToInsert, Elt); in insert()
[all …]
/external/llvm/include/llvm/ADT/
DSmallVector.h208 void push_back(const T &Elt) { in push_back() argument
211 ::new ((void*) this->end()) T(Elt); in push_back()
215 void push_back(T &&Elt) { in push_back() argument
218 ::new ((void*) this->end()) T(::std::move(Elt)); in push_back()
302 void push_back(const T &Elt) { in push_back() argument
305 memcpy(this->end(), &Elt, sizeof(T)); in push_back()
401 void append(size_type NumInputs, const T &Elt) { in append() argument
407 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
415 void assign(size_type NumElts, const T &Elt) { in assign() argument
420 std::uninitialized_fill(this->begin(), this->end(), Elt); in assign()
[all …]
DSmallString.h45 void assign(size_t NumElts, char Elt) { in assign() argument
46 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
78 void append(size_t NumInputs, char Elt) { in append() argument
79 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallVector.h211 void push_back(const T &Elt) { in push_back() argument
214 ::new ((void*) this->end()) T(Elt); in push_back()
218 void push_back(T &&Elt) { in push_back() argument
221 ::new ((void*) this->end()) T(::std::move(Elt)); in push_back()
306 void push_back(const T &Elt) { in push_back() argument
309 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); in push_back()
404 void append(size_type NumInputs, const T &Elt) { in append() argument
410 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
418 void assign(size_type NumElts, const T &Elt) { in assign() argument
423 std::uninitialized_fill(this->begin(), this->end(), Elt); in assign()
[all …]
DSmallString.h46 void assign(size_t NumElts, char Elt) { in assign() argument
47 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
79 void append(size_t NumInputs, char Elt) { in append() argument
80 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallVector.h211 void push_back(const T &Elt) { in push_back() argument
214 ::new ((void*) this->end()) T(Elt); in push_back()
218 void push_back(T &&Elt) { in push_back() argument
221 ::new ((void*) this->end()) T(::std::move(Elt)); in push_back()
302 void push_back(const T &Elt) { in push_back() argument
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); in push_back()
397 void append(size_type NumInputs, const T &Elt) { in append() argument
401 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
412 void assign(size_type NumElts, const T &Elt) { in assign() argument
417 std::uninitialized_fill(this->begin(), this->end(), Elt); in assign()
[all …]
DSmallString.h45 void assign(size_t NumElts, char Elt) { in assign() argument
46 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
78 void append(size_t NumInputs, char Elt) { in append() argument
79 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/llvm-project/llvm/unittests/Support/
DSuffixTreeTest.cpp98 [](unsigned Elt) { return Elt == 1; })); in TEST() argument
138 [](unsigned Elt) { return Elt == 1; })); in TEST() argument
/external/llvm-project/llvm/lib/Support/
DSmallPtrSet.cpp110 const void *Elt = *BucketPtr; in Grow() local
111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallPtrSet.cpp110 const void *Elt = *BucketPtr; in Grow() local
111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/external/llvm-project/llvm/lib/IR/
DConstants.cpp166 Constant *Elt = this->getAggregateElement(i); in isNotOneValue() local
167 if (!Elt || !Elt->isNotOneValue()) in isNotOneValue()
216 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue() local
217 if (!Elt || !Elt->isNotMinSignedValue()) in isNotMinSignedValue()
410 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement()
412 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; in getAggregateElement()
419 return Elt < CAZ->getNumElements() ? CAZ->getElementValue(Elt) : nullptr; in getAggregateElement()
422 return Elt < PV->getNumElements() ? PV->getElementValue(Elt) : nullptr; in getAggregateElement()
425 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement()
428 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
[all …]
/external/llvm/lib/Support/
DSmallPtrSet.cpp131 const void *Elt = *BucketPtr; in Grow() local
132 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
133 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp132 const void *Elt = *BucketPtr; in Grow() local
133 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
134 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp166 Constant *Elt = this->getAggregateElement(i); in isNotOneValue() local
167 if (!Elt || !Elt->isNotOneValue()) in isNotOneValue()
216 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue() local
217 if (!Elt || !Elt->isNotMinSignedValue()) in isNotMinSignedValue()
388 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement()
390 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; in getAggregateElement()
393 return Elt < CAZ->getNumElements() ? CAZ->getElementValue(Elt) : nullptr; in getAggregateElement()
396 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement()
399 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
404 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement()
[all …]
/external/clang/include/clang/Analysis/Support/
DBumpVector.h154 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back() argument
157 new (End) T(Elt); in push_back()
197 void construct_range(T *S, T *E, const T &Elt) { in construct_range() argument
199 new (S) T(Elt); in construct_range()
/external/llvm-project/clang/include/clang/Analysis/Support/
DBumpVector.h159 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back() argument
162 new (End) T(Elt); in push_back()
202 void construct_range(T *S, T *E, const T &Elt) { in construct_range() argument
204 new (S) T(Elt); in construct_range()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h100 Constant *getAggregateElement(unsigned Elt) const;
101 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/include/llvm/IR/
DConstant.h98 Constant *getAggregateElement(unsigned Elt) const;
99 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/lib/IR/
DConstants.cpp265 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement()
267 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; in getAggregateElement()
270 return Elt < CAZ->getNumElements() ? CAZ->getElementValue(Elt) : nullptr; in getAggregateElement()
273 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement()
276 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
281 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement()
282 assert(isa<IntegerType>(Elt->getType()) && "Index must be an integer"); in getAggregateElement()
283 if (ConstantInt *CI = dyn_cast<ConstantInt>(Elt)) in getAggregateElement()
748 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement()
749 return Constant::getNullValue(getType()->getStructElementType(Elt)); in getStructElement()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DConstant.h139 Constant *getAggregateElement(unsigned Elt) const;
140 Constant *getAggregateElement(Constant *Elt) const;

123456789