Home
last modified time | relevance | path

Searched refs:getAggregateElement (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstant.h119 Constant *getAggregateElement(unsigned Elt) const;
120 Constant *getAggregateElement(Constant *Elt) const;
H A DPatternMatch.h219 Constant *Elt = C->getAggregateElement(i); in match()
278 Constant *Elt = C->getAggregateElement(i); in match()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DScalarizeMaskedMemIntrin.cpp87 Constant *CElt = C->getAggregateElement(i); in isConstantIntVector()
166 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad()
287 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore()
386 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather()
496 if (cast<ConstantVector>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter()
H A DTargetLoweringObjectFileImpl.cpp1602 HexString += scalarConstantToHexString(C->getAggregateElement(I)); in scalarConstantToHexString()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp72 Element = C->getAggregateElement(NumSrcElts - i - 1); in foldConstVectorToAPInt()
74 Element = C->getAggregateElement(i); in foldConstVectorToAPInt()
211 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast()
241 auto *Element = C->getAggregateElement(i); in FoldBitCast()
358 ElemC = C->getAggregateElement(Elem++); in ConstantFoldLoadThroughBitcast()
362 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast()
1346 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr()
1359 C = C->getAggregateElement(Index); in ConstantFoldLoadThroughGEPIndices()
2233 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall()
2236 auto *PassthruElt = Passthru->getAggregateElement(I); in ConstantFoldVectorCall()
[all …]
H A DVectorUtils.cpp261 return C->getAggregateElement(EltNo); in findScalarElement()
293 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement()
H A DValueTracking.cpp1644 Constant *Element = CV->getAggregateElement(i); in computeKnownBits()
1974 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero()
2277 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant()
2890 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i)); in cannotBeOrderedLessThanZeroImpl()
3097 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverNaN()
3295 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
H A DLint.cpp569 Constant *Elem = C->getAggregateElement(I); in isZero()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp61 Constant *COp = C->getAggregateElement(i); in extractConstantMask()
81 Constant *COp = C->getAggregateElement(i); in extractConstantMask()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp48 ConstantStruct::get(EltTy, Ctor->getAggregateElement((unsigned)0), in appendToGlobalArray()
49 Ctor->getAggregateElement(1), in appendToGlobalArray()
H A DValueMapper.cpp966 Elements.push_back(InitPrefix->getAggregateElement(I)); in mapAppendingVariable()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp464 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift()
558 auto *COp = Cst->getAggregateElement(SrcIdx); in simplifyX86pack()
718 auto *COp = C->getAggregateElement(I); in simplifyX86movmsk()
828 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86extrq()
1022 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb()
1069 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar()
1117 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv()
1184 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
1478 Constant *COp = C->getAggregateElement(I); in simplifyNeonTbl1()
3201 Constant *Elt = Mask->getAggregateElement(i); in visitCallInst()
[all …]
H A DInstCombineVectorOps.cpp804 NewShufElts[I] = ShufConstVec->getAggregateElement(I); in foldConstantInsEltIntoShuffle()
805 NewMaskElts[I] = Mask->getAggregateElement(I); in foldConstantInsEltIntoShuffle()
1519 Constant *ExtractMaskElt = Shuf.getMask()->getAggregateElement(i); in foldIdentityExtractShuffle()
1520 Constant *MaskElt = Mask->getAggregateElement(i); in foldIdentityExtractShuffle()
H A DInstCombineInternal.h155 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in IsFreeToInvert()
271 Constant *C = In->getAggregateElement(i); in getSafeVectorConstantForBinop()
H A DInstCombineMulDivRem.cpp113 Constant *Elt = C->getAggregateElement(I); in getLogBase2()
1325 Constant *Elt = C->getAggregateElement(i); in visitSRem()
1339 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
H A DInstCombineSimplifyDemanded.cpp1130 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
1343 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
H A DInstCombineAndOrXor.cpp1470 Constant *Elt = C->getAggregateElement(i); in canNarrowShiftAmt()
1868 Constant *EltC1 = C1->getAggregateElement(i); in areInverseVectorBitmasks()
1869 Constant *EltC2 = C2->getAggregateElement(i); in areInverseVectorBitmasks()
H A DInstructionCombining.cpp771 Constant *Elt = CV->getAggregateElement(i); in dyn_castNegVal()
1445 Constant *CElt = C->getAggregateElement(I); in foldVectorBinop()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp191 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue()
208 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isFiniteNonZeroFP()
221 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNormalFP()
234 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in hasExactInverseFP()
247 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNaN()
258 if (isa<UndefValue>(getAggregateElement(i))) in containsUndefElement()
335 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant
351 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant
357 return getAggregateElement(CI->getZExtValue()); in getAggregateElement()
1393 const Constant *C = this->getAggregateElement(0U); in getUniqueInteger()
H A DConstantFold.cpp800 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
882 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
903 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp483 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
518 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
2370 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2388 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2520 Elts.push_back(Init->getAggregateElement(i)); in BatchCommitValueTo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprComplex.cpp134 return ComplexPairTy(pair->getAggregateElement(0U), in emitConstant()
135 pair->getAggregateElement(1U)); in emitConstant()
H A DMicrosoftCXXABI.cpp2878 Val->getAggregateElement(0U) : Val; in MemberPointerConstantIsNull()
2898 if (Val->getAggregateElement(I) != Fields[I]) in MemberPointerConstantIsNull()
3196 Mapping->getAggregateElement(cast<llvm::Constant>(VBIndex)); in EmitNonNullMemberPointerConversion()
4189 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U)) in getThrowInfo()
/freebsd-12.1/contrib/llvm/lib/Linker/
H A DIRMover.cpp787 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
858 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h607 dyn_cast<ConstantInt>(VectorValue->getAggregateElement(i))) { in minRequiredElementSize()

12