Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h100 Constant *getAggregateElement(unsigned Elt) const;
101 Constant *getAggregateElement(Constant *Elt) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h133 Constant *getAggregateElement(unsigned Elt) const;
134 Constant *getAggregateElement(Constant *Elt) const;
DPatternMatch.h238 Constant *Elt = C->getAggregateElement(i); in match()
297 Constant *Elt = C->getAggregateElement(i); in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp87 Constant *CElt = C->getAggregateElement(i); in isConstantIntVector()
166 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad()
299 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore()
414 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather()
538 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter()
624 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedExpandLoad()
734 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
DTargetLoweringObjectFileImpl.cpp1626 HexString += scalarConstantToHexString(C->getAggregateElement(I)); in scalarConstantToHexString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp74 Element = C->getAggregateElement(NumSrcElts - i - 1); in foldConstVectorToAPInt()
76 Element = C->getAggregateElement(i); in foldConstVectorToAPInt()
216 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast()
246 auto *Element = C->getAggregateElement(i); in FoldBitCast()
363 ElemC = C->getAggregateElement(Elem++); in ConstantFoldLoadThroughBitcast()
367 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast()
474 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal()
1378 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr()
1391 C = C->getAggregateElement(Index); in ConstantFoldLoadThroughGEPIndices()
2004 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall1()
[all …]
DVectorUtils.cpp270 return C->getAggregateElement(EltNo); in findScalarElement()
302 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement()
761 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef()
778 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
794 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
DValueTracking.cpp1769 Constant *Element = CV->getAggregateElement(i); in computeKnownBits()
2117 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero()
2445 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant()
3059 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i)); in cannotBeOrderedLessThanZeroImpl()
3235 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverInfinity()
3336 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverNaN()
3545 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
DLint.cpp573 Constant *Elem = C->getAggregateElement(I); in isZero()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp60 Constant *COp = C->getAggregateElement(i); in extractConstantMask()
80 Constant *COp = C->getAggregateElement(i); in extractConstantMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp842 NewMaskVec[i] = i == IdxC ? Zero : Shuf->getMask()->getAggregateElement(i); in foldInsEltIntoSplat()
881 NewMaskVec[i] = OldMask->getAggregateElement(i); in foldInsEltIntoIdentityShuffle()
882 } else if (OldMask->getAggregateElement(i) == NewMaskEltC) { in foldInsEltIntoIdentityShuffle()
887 assert(isa<UndefValue>(OldMask->getAggregateElement(i)) && in foldInsEltIntoIdentityShuffle()
972 NewShufElts[I] = ShufConstVec->getAggregateElement(I); in foldConstantInsEltIntoShuffle()
973 NewMaskElts[I] = Mask->getAggregateElement(I); in foldConstantInsEltIntoShuffle()
1536 if (isa<UndefValue>(Mask->getAggregateElement(i))) in canonicalizeInsertSplat()
1537 NewMask[i] = Mask->getAggregateElement(i); in canonicalizeInsertSplat()
1737 Constant *ExtractMaskElt = Shuf.getMask()->getAggregateElement(i); in foldIdentityExtractShuffle()
1738 Constant *MaskElt = Mask->getAggregateElement(i); in foldIdentityExtractShuffle()
DInstCombineCalls.cpp488 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift()
745 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86extrq()
884 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86insertq()
887 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in simplifyX86insertq()
939 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb()
986 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar()
1034 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv()
1423 Constant *COp = C->getAggregateElement(I); in simplifyNeonTbl1()
3008 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in visitCallInst()
3011 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)1)) in visitCallInst()
[all …]
DInstCombineSimplifyDemanded.cpp1156 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
1431 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
1530 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
DInstCombineMulDivRem.cpp112 Constant *Elt = C->getAggregateElement(I); in getLogBase2()
1449 Constant *Elt = C->getAggregateElement(i); in visitSRem()
1463 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
DInstCombineInternal.h290 Constant *C = In->getAggregateElement(i); in getSafeVectorConstantForBinop()
DInstCombineAndOrXor.cpp1663 Constant *Elt = C->getAggregateElement(i); in canNarrowShiftAmt()
2093 Constant *EltC1 = C1->getAggregateElement(i); in areInverseVectorBitmasks()
2094 Constant *EltC2 = C2->getAggregateElement(i); in areInverseVectorBitmasks()
DInstCombineCompares.cpp224 Constant *Elt = Init->getAggregateElement(i); in foldCmpLoadFromIndexedGlobal()
3375 if (!isa<UndefValue>(VecC->getAggregateElement(i))) { in foldICmpWithLowBitMaskedVal()
3376 SafeReplacementConstant = VecC->getAggregateElement(i); in foldICmpWithLowBitMaskedVal()
5213 Constant *Elt = C->getAggregateElement(i); in getFlippedStrictnessPredicateAndConstant()
DInstructionCombining.cpp843 Constant *Elt = CV->getAggregateElement(i); in dyn_castNegVal()
1541 Constant *CElt = C->getAggregateElement(I); in foldVectorBinop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp166 Constant *Elt = this->getAggregateElement(i); in isNotOneValue()
216 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue()
233 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isFiniteNonZeroFP()
246 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNormalFP()
259 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in hasExactInverseFP()
272 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNaN()
301 if (isa<UndefValue>(getAggregateElement(i))) in containsUndefElement()
311 if (isa<ConstantExpr>(getAggregateElement(i))) in containsConstantExpression()
388 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant
404 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant
[all …]
DConstantFold.cpp824 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction()
916 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
937 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp516 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal()
2417 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2435 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2567 Elts.push_back(Init->getAggregateElement(i)); in BatchCommitValueTo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp836 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
907 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h640 dyn_cast<ConstantInt>(VectorValue->getAggregateElement(i))) { in minRequiredElementSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp963 Elements.push_back(InitPrefix->getAggregateElement(I)); in mapAppendingVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp539 Constant *Elt = C->getAggregateElement(i); in getStructValueState()

12