| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 194 return Elt < this->begin() + NewSize; in isSafeToReferenceAfterResize() 246 return &Elt; in reserveForParamAndGetAddressImpl() 253 Index = &Elt - This->begin(); in reserveForParamAndGetAddressImpl() 426 void push_back(const T &Elt) { in push_back() argument 432 void push_back(T &&Elt) { in push_back() argument 556 void growAndAssign(size_t NumElts, T Elt) { in growAndAssign() argument 574 void push_back(ValueParamT Elt) { in push_back() argument 720 this->growAndAssign(NumElts, Elt); in assign() 818 iterator insert(iterator I, T &&Elt) { in insert() argument 822 iterator insert(iterator I, const T &Elt) { in insert() argument [all …]
|
| H A D | TinyPtrVector.h | 310 iterator insert(iterator I, const EltTy &Elt) { in insert() argument 314 push_back(Elt); in insert() 321 Val = Elt; in insert() 326 return cast<VecTy *>(Val)->insert(I, Elt); in insert()
|
| H A D | EquivalenceClasses.h | 79 ECValue(const ElemTy &Elt) in ECValue() argument 80 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {} in ECValue()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTVector.h | 162 void push_back(const_reference Elt, const ASTContext &C) { in push_back() argument 165 new (End) T(Elt); in push_back() 208 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append() 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() 281 std::fill_n(I, NumOverwritten, Elt); in insert() 358 void construct_range(T *S, T *E, const T &Elt) { in construct_range() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 322 for (const auto &Elt : B.Elements) { in writeBlock() local 325 Elt.dumpToStream(DumpS); in writeBlock() 363 unsigned Elt = Missing; in writeCode() member 384 Elts.push_back(Elt); in writeCode() 386 this->Elt = Elt; in writeCode() 389 return std::tie(BB, Elt, Elts) == in writeCode() 397 for (unsigned Elt : Elts) in writeCode() local 398 OS << " " << eltID(BB, Elt); in writeCode() 401 if (Elt != Missing) in writeCode() 413 for (const auto& Elt : *Block) { in writeCode() [all …]
|
| H A D | TypeErasedDataflowAnalysis.cpp | 348 builtinTransferStatement(unsigned CurBlockID, const CFGStmt &Elt, in builtinTransferStatement() argument 351 const Stmt *S = Elt.getStmt(); in builtinTransferStatement() 359 builtinTransferInitializer(const CFGInitializer &Elt, in builtinTransferInitializer() argument 361 const CXXCtorInitializer *Init = Elt.getInitializer(); in builtinTransferInitializer() 421 static void builtinTransfer(unsigned CurBlockID, const CFGElement &Elt, in builtinTransfer() argument 424 switch (Elt.getKind()) { in builtinTransfer() 426 builtinTransferStatement(CurBlockID, Elt.castAs<CFGStmt>(), State, AC); in builtinTransfer() 429 builtinTransferInitializer(Elt.castAs<CFGInitializer>(), State); in builtinTransfer() 437 if (const ValueDecl *VD = Elt.castAs<CFGLifetimeEnds>().getVarDecl()) in builtinTransfer()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.h | 55 void transfer(const CFGElement &Elt, NoopLattice &L, Environment &Env); 67 operator()(const CFGElement &Elt, ASTContext &Ctx, in operator() 69 return DiagnoseMatchSwitch(Elt, Ctx, State.Env); in operator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineFunctionInfo.cpp | 106 for (const auto &Elt : ParamtersType) { in getVecExtParmsType() local 107 switch (Elt) { in getVecExtParmsType() 148 for (const auto &Elt : ParamtersType) { in getParmsType() local 150 if (Bits > 31 || (Bits > 30 && (Elt != FixedType || hasVectorParms()))) in getParmsType() 153 switch (Elt) { in getParmsType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 140 if (!Elt || !Elt->isNotOneValue()) in isNotOneValue() 185 if (!Elt || !Elt->isNotMinSignedValue()) in isNotMinSignedValue() 423 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; in getAggregateElement() 435 return Elt < PV->getNumElements() ? PV->getElementValue(Elt) : nullptr; in getAggregateElement() 438 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement() 441 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement() 1653 if (OpC == Elt) in getSplatValue() 1666 Elt = OpC; in getSplatValue() 1668 if (OpC != Elt) in getSplatValue() 1671 return Elt; in getSplatValue() [all …]
|
| H A D | ConstantFold.cpp | 485 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction() 508 Result.push_back(Elt); in ConstantFoldInsertElementInstruction() 528 if (all_of(Mask, [](int Elt) { return Elt == PoisonMaskElem; })) { in ConstantFoldShuffleVectorInstruction() argument 534 if (all_of(Mask, [](int Elt) { return Elt == 0; })) { in ConstantFoldShuffleVectorInstruction() argument 536 Constant *Elt = in ConstantFoldShuffleVectorInstruction() local 539 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction() 543 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction() 555 int Elt = Mask[i]; in ConstantFoldShuffleVectorInstruction() local 556 if (Elt == -1) { in ConstantFoldShuffleVectorInstruction() 561 if (unsigned(Elt) >= SrcNumElts*2) in ConstantFoldShuffleVectorInstruction() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SmallPtrSet.cpp | 110 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()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
| H A D | BumpVector.h | 168 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back() argument 171 new (End) T(Elt); in push_back() 211 void construct_range(T *S, T *E, const T &Elt) { in construct_range() argument 213 new (S) T(Elt); in construct_range()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 145 const Constant *Elt = C->getAggregateElement(I); in classifyConstantWithOpaquePtr() local 146 Type *EltTy = classifyConstantWithOpaquePtr(Elt, Map); in classifyConstantWithOpaquePtr() 153 for (auto &Elt : CA->operands()) { in classifyConstantWithOpaquePtr() local 154 Type *EltTy = classifyConstantWithOpaquePtr(cast<Constant>(&Elt), Map); in classifyConstantWithOpaquePtr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | CXXPredicates.cpp | 22 [&](auto &Elt) { return Elt.second.get(); }); in getSorted() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | TableGen.cpp | 60 for (Record *Elt : *Elts) in PrintSets() 61 OS << ' ' << Elt->getName(); in PrintSets()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 145 Constant *getAggregateElement(unsigned Elt) const; 146 Constant *getAggregateElement(Constant *Elt) const;
|
| H A D | Constants.h | 354 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); 1231 static Constant *getInsertElement(Constant *Vec, Constant *Elt, Constant *Idx, 1358 UndefValue *getStructElement(unsigned Elt) const; 1403 PoisonValue *getStructElement(unsigned Elt) const;
|
| H A D | ConstantFold.h | 42 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 41 for (Constant *Elt : EleCs) { in makeConstantsWithType() 42 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUIGroupLP.cpp | 918 for (auto &Elt : SyncPipe[0].DAG->SUnits) { in apply() local 919 if (TII->isMFMAorWMMA(*Elt.getInstr())) { in apply() 923 Cache->push_back(&Elt); in apply() 930 for (auto &Elt : *Cache) { in apply() 931 if (DAG->IsReachable(Elt, const_cast<SUnit *>(SU))) in apply() 969 return llvm::any_of(*Cache, [&SU](SUnit *Elt) { in apply() argument 971 return ThisSucc.getSUnit() == Elt; in apply() 1027 for (auto &Elt : Collection) { in apply() local 1028 auto Op = Elt->getInstr()->getOperand(0); in apply() 1091 return llvm::any_of(*Cache, [&SU, &DAG](SUnit *Elt) { in apply() argument [all …]
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 388 auto *Elt = findScalarElement(UseV, i); in trimTrailingZerosInVector() local 389 if (!Elt) in trimTrailingZerosInVector() 392 if (auto *ConstElt = dyn_cast<Constant>(Elt)) { in trimTrailingZerosInVector() 393 if (!ConstElt->isNullValue() && !isa<UndefValue>(Elt)) in trimTrailingZerosInVector() 419 auto *Elt = findScalarElement(V, I); in defaultComponentBroadcast() local 420 if (!Elt || (Elt != FirstComponent && !isa<UndefValue>(Elt))) in defaultComponentBroadcast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 131 if (Constant *Elt = CV->getAggregateElement(Idx)) { in getSplatableConstant() local 132 if (isa<UndefValue>(Elt)) in getSplatableConstant() 135 if (!Sequence[SplatIdx] || Sequence[SplatIdx] == Elt) { in getSplatableConstant() 136 Sequence[SplatIdx] = Elt; in getSplatableConstant()
|
| H A D | X86ShuffleDecodeConstantPool.cpp | 72 auto *Elt = cast<ConstantInt>(COp); in extractConstantMask() local 73 RawMask[i] = Elt->getValue().getZExtValue(); in extractConstantMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineOrder.cpp | 243 void push(const T &Elt) override { in push() argument 244 CallBase *CB = Elt.first; in push() 245 const int InlineHistoryID = Elt.second; in push()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineOrder.h | 25 virtual void push(const T &Elt) = 0;
|