Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp62 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask()
139 Constant *COp = C->getAggregateElement(i * Factor); in DecodeVPERMILPMask()
191 Constant *COp = C->getAggregateElement(i * Factor); in DecodeVPERMIL2PMask()
257 Constant *COp = C->getAggregateElement(i); in DecodeVPPERMMask()
308 Constant *COp = C->getAggregateElement(i); in DecodeVPERMVMask()
341 Constant *COp = C->getAggregateElement(i); in DecodeVPERMV3Mask()
DX86TargetObjectFile.cpp128 HexString += scalarConstantToHexString(C->getAggregateElement(I)); in scalarConstantToHexString()
/external/llvm/include/llvm/IR/
DConstant.h98 Constant *getAggregateElement(unsigned Elt) const;
99 Constant *getAggregateElement(Constant *Elt) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h100 Constant *getAggregateElement(unsigned Elt) const;
101 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp48 EltTy, Ctor->getAggregateElement((unsigned)0), in appendToGlobalArray()
49 Ctor->getAggregateElement(1), in appendToGlobalArray()
DValueMapper.cpp946 Elements.push_back(InitPrefix->getAggregateElement(I)); in mapAppendingVariable()
/external/llvm/lib/Analysis/
DConstantFolding.cpp89 Element = C->getAggregateElement(NumSrcElts-i-1); in FoldBitCast()
91 Element = C->getAggregateElement(i); in FoldBitCast()
183 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
209 auto *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i)); in FoldBitCast()
380 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal()
536 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast()
1250 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr()
1263 C = C->getAggregateElement(Index); in ConstantFoldLoadThroughGEPIndices()
1679 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1687 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
[all …]
DVectorUtils.cpp242 return C->getAggregateElement(EltNo); in findScalarElement()
273 if (Constant *Elt = Con->getAggregateElement(EltNo)) in findScalarElement()
DLint.cpp534 Constant *Elem = C->getAggregateElement(I); in isZero()
DValueTracking.cpp1424 Constant *Element = CV->getAggregateElement(i); in computeKnownBits()
1683 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero()
1939 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant()
2684 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp377 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift()
460 auto *COp = C->getAggregateElement(I); in simplifyX86movmsk()
550 C0 ? dyn_cast<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86extrq()
689 C0 ? dyn_cast<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86insertq()
692 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)0)) in simplifyX86insertq()
744 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb()
788 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar()
840 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv()
1049 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
1810 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)0)) in visitCallInst()
[all …]
DInstCombineMulDivRem.cpp439 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isFiniteNonZeroFp()
454 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isNormalFp()
1495 Constant *Elt = C->getAggregateElement(i); in visitSRem()
1509 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
DInstCombineVectorOps.cpp33 if (Constant *Op0 = C->getAggregateElement(0U)) { in cheapToScalarize()
36 if (C->getAggregateElement(i) != Op0) in cheapToScalarize()
155 return replaceInstUsesWith(EI, C->getAggregateElement(0U)); in visitExtractElementInst()
DInstCombineSimplifyDemanded.cpp944 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
1090 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
DInstCombineAndOrXor.cpp1596 Constant *EltC1 = C1->getAggregateElement(i); in areInverseVectorBitmasks()
1597 Constant *EltC2 = C2->getAggregateElement(i); in areInverseVectorBitmasks()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp454 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
488 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
2112 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2135 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
/external/llvm/lib/Linker/
DIRMover.cpp740 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
813 E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp125 return ComplexPairTy(pair->getAggregateElement(0U), in VisitDeclRefExpr()
126 pair->getAggregateElement(1U)); in VisitDeclRefExpr()
DMicrosoftCXXABI.cpp2814 Val->getAggregateElement(0U) : Val; in MemberPointerConstantIsNull()
2834 if (Val->getAggregateElement(I) != Fields[I]) in MemberPointerConstantIsNull()
3132 Mapping->getAggregateElement(cast<llvm::Constant>(VBIndex)); in EmitNonNullMemberPointerConversion()
4115 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U)) in getThrowInfo()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp726 ConstantInt* cLow128b = cast<ConstantInt>(cB->getAggregateElement(i)); in PSHUFB()
727 ConstantInt* cHigh128b = cast<ConstantInt>(cB->getAggregateElement(i + numElms)); in PSHUFB()
/external/llvm/lib/IR/
DConstants.cpp265 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant
281 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant
284 return getAggregateElement(CI->getZExtValue()); in getAggregateElement()
1321 const Constant *C = this->getAggregateElement(0U); in getUniqueInteger()
DConstantFold.cpp794 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
876 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
899 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
DAsmWriter.cpp1320 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal()
1326 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp422 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp793 Constant *Elt = Init->getAggregateElement(I); in LowerConstantInitializer()
817 Constant *Elt = Init->getAggregateElement(i); in LowerConstantInitializer()

12