| /src/external/apache2/llvm/dist/llvm/utils/PerfectShuffle/ |
| PerfectShuffle.cpp | 34 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { 35 return (Mask >> ((3-Elt)*4)) & 0xF; 38 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { 39 unsigned FieldShift = ((3-Elt)*4); 70 /// getCompressedMask - Turn a 16-bit uncompressed mask (where each elt uses 4 71 /// bits) into a compressed 13-bit mask, where each elt is multiplied by 9. 137 assert(SrcElt == 8 && "Bad src elt!"); 199 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], 201 if (ShufTab[Elt].Cost == 0) return; 205 if (Vals[i] == Elt) return [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| SmallVector.h | 158 /// Return true unless Elt will be invalidated by resizing the vector to 160 bool isSafeToReferenceAfterResize(const void *Elt, size_t NewSize) { 162 if (LLVM_LIKELY(!isReferenceToStorage(Elt))) 165 // Return false if Elt will be destroyed by shrinking. 167 return Elt < this->begin() + NewSize; 173 /// Check whether Elt will be invalidated by resizing the vector to NewSize. 174 void assertSafeToReferenceAfterResize(const void *Elt, size_t NewSize) { 175 assert(isSafeToReferenceAfterResize(Elt, NewSize) && 180 /// Check whether Elt will be invalidated by increasing the size of the 182 void assertSafeToAdd(const void *Elt, size_t N = 1) [all...] |
| TinyPtrVector.h | 312 iterator insert(iterator I, const EltTy &Elt) { 316 push_back(Elt); 323 Val = Elt; 328 return Val.template get<VecTy*>()->insert(I, Elt);
|
| EquivalenceClasses.h | 77 ECValue(const ElemTy &Elt) 78 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| ASTVector.h | 162 void push_back(const_reference Elt, const ASTContext &C) { 165 new (End) T(Elt); 202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { 208 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 219 iterator insert(const ASTContext &C, iterator I, const T &Elt) { 221 push_back(Elt, C); 231 *I = Elt; 241 const T &Elt) { 242 // Convert iterator to elt# to avoid invalidating iterator when we reserve() 246 append(C, NumToInsert, Elt); [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| Constant.h | 145 Constant *getAggregateElement(unsigned Elt) const; 146 Constant *getAggregateElement(Constant *Elt) const;
|
| Constants.h | 353 Constant *getStructElement(unsigned Elt) const; 511 static Constant *getSplat(ElementCount EC, Constant *Elt); 668 const char *getElementPointer(unsigned Elt) const; 800 static Constant *getSplat(unsigned NumElts, Constant *Elt); 1250 static Constant *getInsertElement(Constant *Vec, Constant *Elt, Constant *Idx, 1369 UndefValue *getStructElement(unsigned Elt) const; 1414 PoisonValue *getStructElement(unsigned Elt) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| SmallPtrSet.cpp | 110 const void *Elt = *BucketPtr; 111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) 112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Support/ |
| BumpVector.h | 159 void push_back(const_reference Elt, BumpVectorContext &C) { 162 new (End) T(Elt); 202 void construct_range(T *S, T *E, const T &Elt) { 204 new (S) T(Elt);
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| ConstantFold.h | 38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
|
| Constants.cpp | 166 Constant *Elt = this->getAggregateElement(i); 167 if (!Elt || !Elt->isNotOneValue()) 216 Constant *Elt = this->getAggregateElement(i); 217 if (!Elt || !Elt->isNotMinSignedValue()) 421 Constant *Constant::getAggregateElement(unsigned Elt) const { 426 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; 429 return Elt < CAZ->getElementCount().getKnownMinValue( [all...] |
| ConstantFold.cpp | 924 Constant *Elt, 949 Result.push_back(Elt); 969 if (all_of(Mask, [](int Elt) { return Elt == UndefMaskElem; })) { 975 if (all_of(Mask, [](int Elt) { return Elt == 0; }) && 978 Constant *Elt = 980 return ConstantVector::getSplat(MaskEltCount, Elt); 992 int Elt = Mask[i]; 993 if (Elt == -1) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ConstantFolding.h | 116 Constant *Elt,
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| SpillPlacement.cpp | 183 for (const auto &Elt : Links) { 184 unsigned n = Elt.second;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86ShuffleDecodeConstantPool.cpp | 72 auto *Elt = cast<ConstantInt>(COp); 73 RawMask[i] = Elt->getValue().getZExtValue();
|
| X86InstCombineIntrinsic.cpp | 493 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt) 494 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane)); 495 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt) 496 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane) + NumSrcElts); 687 APInt Elt = CI0->getValue(); 688 Elt.lshrInPlace(Index) [all...] |
| X86LowerAMXIntrinsics.cpp | 210 // %elt = load i32, i32* %ptr 211 // %ResVec = insertelement <256 x i32> %vec.phi, i32 %elt, i16 %idxvec 213 Value *Elt = B.CreateLoad(EltTy, EltPtr); 214 Value *ResVec = B.CreateInsertElement(VecPhi, Elt, Idx); 229 Value *Elt = B.CreateExtractElement(Vec, Idx); 231 B.CreateStore(Elt, EltPtr); 375 // %neweltc = add i32 %elt, %acc
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| TableGen.cpp | 233 for (Record *Elt : *Elts) 234 OS << ' ' << Elt->getName();
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineVectorOps.cpp | 133 Value *Elt = EI.getIndexOperand(); 142 ExtractElementInst::Create(B0->getOperand(opId), Elt, 143 B0->getOperand(opId)->getName() + ".Elt"), 151 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); 192 if (Value *Elt = findScalarElement(X, ExtIndexC)) 193 return new BitCastInst(Elt, DestTy); 218 // Vector Byte Elt Index: 0 1 2 3 4 5 6 7 745 [](Optional<Value *> Elt) { return Elt != NotFound; }); 770 Optional<Value *> &Elt = AggElts[Indices.front()] [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| Utils.cpp | 852 auto FirstDefinedIdx = find_if(Mask, [](int Elt) { return Elt >= 0; }); 863 [&SplatValue](int Elt) { return Elt >= 0 && Elt != SplatValue; }))
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
| AArch64PostLegalizerLowering.cpp | 114 auto FirstRealElt = find_if(M, [](int Elt) { return Elt >= 0; }); 126 [&ExpectedElt](int Elt) { return Elt != ExpectedElt++ && Elt >= 0; }))
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUPromoteAlloca.cpp | 536 Value *Elt = SI->getValueOperand(); 537 if (Elt->getType() != VecEltTy) 538 Elt = Builder.CreateBitOrPointerCast(Elt, VecEltTy); 539 Value *NewVecValue = Builder.CreateInsertElement(VecValue, Elt, Index);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| JSON.h | 309 template <typename Elt> 310 Value(const std::vector<Elt> &C) : Value(json::Array(C)) {} 314 template <typename Elt> 315 Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {}
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| SystemZTargetTransformInfo.cpp | 1162 for (unsigned Elt = 0; Elt < VF; ++Elt) { 1163 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg;
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ValueTracking.cpp | 171 if (all_of(Shuf->getShuffleMask(), [](int Elt) { return Elt == 0; })) { 1685 const Value *Elt = I->getOperand(1); 1698 computeKnownBits(Elt, Known, Depth + 1, Q); 1856 APInt Elt = CDV->getElementAsAPInt(i); 1857 Known.Zero &= ~Elt; 1858 Known.One &= Elt; 1876 const APInt &Elt = ElementCI->getValue(); 1877 Known.Zero &= ~Elt; 1878 Known.One &= Elt; [all...] |