Searched refs:getAggregateElement (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h135 Constant *getAggregateElement(unsigned Elt) const;
136 Constant *getAggregateElement(Constant *Elt) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DScalarizeMaskedMemIntrin.cpp88 Constant *CElt = C->getAggregateElement(i);
168 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
302 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
417 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
542 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
628 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
738 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp62 Constant *COp = C->getAggregateElement(i);
82 Constant *COp = C->getAggregateElement(i);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp77 Element = C->getAggregateElement(NumSrcElts - i - 1);
79 Element = C->getAggregateElement(i);
219 Constant *Src = C->getAggregateElement(SrcElt++);
250 auto *Element = C->getAggregateElement(i);
386 ElemC = C->getAggregateElement(Elem++);
390 C = C->getAggregateElement(0u);
500 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr,
1397 C = C->getAggregateElement(CE->getOperand(i));
1410 C = C->getAggregateElement(Index);
1684 ConstantInt *CI = dyn_cast<ConstantInt>(Op->getAggregateElement(
[all...]
H A DVectorUtils.cpp274 return C->getAggregateElement(EltNo);
309 if (Constant *Elt = C->getAggregateElement(EltNo))
872 if (auto *MaskElt = ConstMask->getAggregateElement(I))
890 if (auto *MaskElt = ConstMask->getAggregateElement(I))
906 if (CV->getAggregateElement(i)->isNullValue())
H A DValueTracking.cpp1961 Constant *Element = CV->getAggregateElement(i);
2316 Constant *Elt = C->getAggregateElement(i);
2673 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i));
3301 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i));
3491 Constant *Elt = cast<Constant>(V)->getAggregateElement(i);
3595 Constant *Elt = cast<Constant>(V)->getAggregateElement(i);
3808 C = C->getAggregateElement(idx_range[0]);
4692 ShiftAmounts.push_back(C->getAggregateElement(i));
H A DLint.cpp571 Constant *Elem = C->getAggregateElement(I);
H A DInstructionSimplify.cpp952 Constant *Elt = Op1C->getAggregateElement(i);
1227 if (!isUndefShift(C->getAggregateElement(I)))
4125 Constant *TEltC = TrueC->getAggregateElement(i);
4126 Constant *FEltC = FalseC->getAggregateElement(i);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp166 Constant *Elt = this->getAggregateElement(i);
216 Constant *Elt = this->getAggregateElement(i);
234 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i));
248 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i));
262 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i));
276 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i));
310 if (isa<UndefValue>(getAggregateElement(i)))
320 if (isa<ConstantExpr>(getAggregateElement(i)))
402 Constant *Constant::getAggregateElement(unsigned Elt) const { function in class:Constant
418 Constant *Constant::getAggregateElement(Constan function in class:Constant
[all...]
H A DConstantFold.cpp849 return Val->getAggregateElement(CIdx);
949 if (Constant *C = Agg->getAggregateElement(Idxs[0]))
970 Constant *C = Agg->getAggregateElement(i);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp551 auto *CElt = CShift->getAggregateElement(I);
808 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0))
942 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0))
945 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0))
996 Constant *COp = V->getAggregateElement(I);
1041 Constant *COp = V->getAggregateElement(I);
1087 Constant *COp = V->getAggregateElement(I);
1481 Constant *COp = C->getAggregateElement(I);
3065 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0))
3068 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigne
[all...]
H A DInstCombineSimplifyDemanded.cpp1226 Constant *Elt = C->getAggregateElement(i);
1515 Constant *CElt = CV->getAggregateElement(i);
1614 Constant *CElt = CV->getAggregateElement(i);
H A DInstCombineMulDivRem.cpp115 Constant *Elt = C->getAggregateElement(I);
1503 Constant *Elt = C->getAggregateElement(i);
1517 Elts[i] = C->getAggregateElement(i); // Handle undef, etc.
H A DInstCombineInternal.h298 Constant *C = In->getAggregateElement(i);
H A DInstCombineAndOrXor.cpp1710 Constant *Elt = C->getAggregateElement(i);
2203 Constant *EltC1 = C1->getAggregateElement(i);
2204 Constant *EltC2 = C2->getAggregateElement(i);
H A DInstCombineCompares.cpp224 Constant *Elt = Init->getAggregateElement(i);
3390 if (!isa<UndefValue>(VecC->getAggregateElement(i))) {
3391 SafeReplacementConstant = VecC->getAggregateElement(i);
5215 Constant *Elt = C->getAggregateElement(i);
H A DInstructionCombining.cpp840 Constant *Elt = CV->getAggregateElement(i);
1564 Constant *CElt = C->getAggregateElement(I);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp107 return ComplexPairTy(Result->getAggregateElement(0U),
108 Result->getAggregateElement(1U));
138 return ComplexPairTy(pair->getAggregateElement(0U),
139 pair->getAggregateElement(1U));
H A DCGDecl.cpp1028 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i));
1066 OpValue = constant->getAggregateElement(Op);
H A DMicrosoftCXXABI.cpp2960 Val->getAggregateElement(0U) : Val;
2980 if (Val->getAggregateElement(I) != Fields[I])
3278 Mapping->getAggregateElement(cast<llvm::Constant>(VBIndex));
4263 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp840 Dest.push_back(C->getAggregateElement(i));
911 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h667 dyn_cast<ConstantInt>(VectorValue->getAggregateElement(i))) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp536 Constant *In = Init->getAggregateElement(ElementIdx);
2549 Elts.push_back(Init->getAggregateElement(i));
2570 Elts.push_back(Init->getAggregateElement(i));
2704 Elts.push_back(Init->getAggregateElement(i));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp963 Elements.push_back(InitPrefix->getAggregateElement(I));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp474 Constant *Elt = C->getAggregateElement(i);

Completed in 426 milliseconds

12