/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 133 Constant *getAggregateElement(unsigned Elt) const; 134 Constant *getAggregateElement(Constant *Elt) const;
|
H A D | Constants.h | 359 Constant *getStructElement(unsigned Elt) const; 517 static Constant *getSplat(unsigned NumElts, Constant *Elt); 681 const char *getElementPointer(unsigned Elt) const; 793 static Constant *getSplat(unsigned NumElts, Constant *Elt); 1199 static Constant *getInsertElement(Constant *Vec, Constant *Elt, Constant *Idx, 1305 UndefValue *getStructElement(unsigned Elt) const;
|
H A D | PatternMatch.h | 238 Constant *Elt = C->getAggregateElement(i); local 239 if (!Elt) 241 if (isa<UndefValue>(Elt)) 243 auto *CI = dyn_cast<ConstantInt>(Elt); 297 Constant *Elt = C->getAggregateElement(i); local 298 if (!Elt) 300 if (isa<UndefValue>(Elt)) 302 auto *CF = dyn_cast<ConstantFP>(Elt); 1267 m_InsertElement(const Val_t &Val, const Elt_t &Elt, const Idx_t &Idx) { argument 1269 Val, Elt, Id [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTVector.h | 162 void push_back(const_reference Elt, const ASTContext &C) { argument 165 new (End) T(Elt); 202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { argument 208 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 219 iterator insert(const ASTContext &C, iterator I, const T &Elt) { argument 221 push_back(Elt, C); 231 *I = Elt; 241 const T &Elt) { 246 append(C, NumToInsert, Elt); 267 std::fill_n(I, NumToInsert, Elt); 240 insert(const ASTContext &C, iterator I, size_type NumToInsert, const T &Elt) argument 358 construct_range(T *S, T *E, const T &Elt) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 211 void push_back(const T &Elt) { 214 ::new ((void*) this->end()) T(Elt); 218 void push_back(T &&Elt) { argument 221 ::new ((void*) this->end()) T(::std::move(Elt)); 302 void push_back(const T &Elt) { argument 305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); local 396 /// Append \p NumInputs copies of \p Elt to the end. 397 void append(size_type NumInputs, const T &Elt) { argument 401 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 412 void assign(size_type NumElts, const T &Elt) { argument 467 insert(iterator I, T &&Elt) argument 497 insert(iterator I, const T &Elt) argument 526 insert(iterator I, size_type NumToInsert, const T &Elt) argument [all...] |
H A D | SmallString.h | 45 void assign(size_t NumElts, char Elt) { argument 46 this->SmallVectorImpl<char>::assign(NumElts, Elt); 78 void append(size_t NumInputs, char Elt) { argument 79 SmallVectorImpl<char>::append(NumInputs, Elt);
|
H A D | TinyPtrVector.h | 312 iterator insert(iterator I, const EltTy &Elt) { argument 316 push_back(Elt); 323 Val = Elt; 328 return Val.template get<VecTy*>()->insert(I, Elt);
|
H A D | EquivalenceClasses.h | 77 ECValue(const ElemTy &Elt) argument 78 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 110 const void *Elt = *BucketPtr; 111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) 112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.h | 38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
|
H A D | Constants.cpp | 166 Constant *Elt = this->getAggregateElement(i); local 167 if (!Elt || !Elt->isNotOneValue()) 216 Constant *Elt = this->getAggregateElement(i); local 217 if (!Elt || !Elt->isNotMinSignedValue()) 388 Constant *Constant::getAggregateElement(unsigned Elt) const { 390 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; 393 return Elt < CA 984 rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) argument 1463 Constant *Elt = getOperand(0); local 2205 getInsertElement(Constant *Val, Constant *Elt, Constant *Idx, Type *OnlyIfReducedTy) argument [all...] |
H A D | ConstantFold.cpp | 828 Constant *Elt, 852 Result.push_back(Elt); 887 int Elt = ShuffleVectorInst::getMaskValue(Mask, i); local 888 if (Elt == -1) { 893 if (unsigned(Elt) >= SrcNumElts*2) 895 else if (unsigned(Elt) >= SrcNumElts) { 899 ConstantInt::get(Ty, Elt - SrcNumElts)); 902 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt)); 987 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); local 989 Result.push_back(ConstantExpr::get(Opcode, Elt)); 827 ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, Constant *Idx) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 159 void push_back(const_reference Elt, BumpVectorContext &C) { argument 162 new (End) T(Elt); 202 void construct_range(T *S, T *E, const T &Elt) { argument 204 new (S) T(Elt);
|
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | TableGen.cpp | 214 for (Record *Elt : *Elts) 215 OS << ' ' << Elt->getName();
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 113 Constant *Elt,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SpillPlacement.cpp | 187 for (const auto &Elt : Links) { 188 unsigned n = Elt.second;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ShuffleDecodeConstantPool.cpp | 70 auto *Elt = cast<ConstantInt>(COp); local 71 RawMask[i] = Elt->getValue().getZExtValue();
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1156 Constant *Elt = C->getAggregateElement(i); local 1157 if (!Elt) return nullptr; 1159 if (isa<UndefValue>(Elt)) { // Already undef. 1163 Elts.push_back(Elt); 1696 for (unsigned Elt = 0; Elt != InnerVWidthPerLane; ++Elt) { 1697 unsigned Idx = LaneIdx + Elt + InnerVWidthPerLane * OpNum; 1699 OpDemandedElts.setBit((Lane * InnerVWidthPerLane) + Elt);
|
H A D | InstCombineVectorOps.cpp | 122 Value *Elt = EI.getIndexOperand(); local 131 ExtractElementInst::Create(B0->getOperand(opId), Elt, 132 B0->getOperand(opId)->getName() + ".Elt"), 140 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); 180 if (Value *Elt = findScalarElement(X, ExtIndexC)) 181 return new BitCastInst(Elt, DestTy); 202 // Vector Byte Elt Index: 0 1 2 3 4 5 6 7 410 if (auto *Elt = dyn_cast<ConstantInt>(Index)) { 411 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue()); 736 int Elt local [all...] |
H A D | InstCombineCalls.cpp | 105 Constant *Elt = V->getElementAsConstant(I); local 106 assert((isa<ConstantInt>(Elt) || isa<ConstantFP>(Elt)) && 109 ? cast<ConstantInt>(Elt)->isNegative() 110 : cast<ConstantFP>(Elt)->isNegative(); 605 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt) 606 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane)); 607 for (unsigned Elt 802 APInt Elt = CI0->getValue(); local 3264 Constant *Elt = Mask->getAggregateElement(i); local [all...] |
H A D | InstCombineMulDivRem.cpp | 112 Constant *Elt = C->getAggregateElement(I); local 113 if (!Elt) 115 if (isa<UndefValue>(Elt)) { 119 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) 1449 Constant *Elt = C->getAggregateElement(i); local 1450 if (!Elt) { 1455 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elt))
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 878 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); local 879 if (!canEmitInitWithFewStoresAfterBZero(Elt, NumStores)) 888 llvm::Constant *Elt = CDS->getElementAsConstant(i); local 889 if (!canEmitInitWithFewStoresAfterBZero(Elt, NumStores)) 917 llvm::Constant *Elt = CDS->getElementAsConstant(i); local 920 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) 922 CGM, Elt, Builder.CreateConstInBoundsGEP2_32(Loc, 0, i), isVolatile, 932 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); local 935 if (!Elt [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | JSON.h | 302 template <typename Elt> 303 Value(const std::vector<Elt> &C) : Value(json::Array(C)) {} 307 template <typename Elt> 308 Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {}
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 1092 for (unsigned Elt = 0; Elt < VF; ++Elt) { 1093 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 203 while (auto Elt = C.getAggregateElement(Idx++)) { 204 auto EltRegs = getOrCreateVRegs(*Elt); 1878 Register Elt = getOrCreateVReg(*U.getOperand(1)); local 1881 Regs.push_back(Elt); 1884 MIRBuilder.buildCopy(Regs[0], Elt); 1891 Register Elt = getOrCreateVReg(*U.getOperand(1)); local 1893 MIRBuilder.buildInsertVectorElement(Res, Val, Elt, Idx); 1902 Register Elt = getOrCreateVReg(*U.getOperand(0)); local 1905 Regs.push_back(Elt); 1908 MIRBuilder.buildCopy(Regs[0], Elt); 2160 Constant &Elt = *CAZ->getElementValue(i); local 2170 Constant &Elt = *CV->getElementAsConstant(i); local [all...] |