Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DConstant.h118 Constant *getAggregateElement(unsigned Elt) const;
119 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp178 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
204 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i)); in FoldBitCast()
374 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal()
520 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast()
1197 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr()
1212 C = C->getAggregateElement(Indices[i]); in ConstantFoldLoadThroughGEPIndices()
1573 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1581 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1747 Constant *Agg = Operands[J]->getAggregateElement(I); in ConstantFoldVectorCall()
DLint.cpp730 Constant *Elem = C->getAggregateElement(I); in isZero()
DValueTracking.cpp2486 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp163 assert(isa<ConstantArray>(Init->getAggregateElement(4)) && in lowerCoverageData()
165 ConstantArray *Records = cast<ConstantArray>(Init->getAggregateElement(4)); in lowerCoverageData()
DMemorySanitizer.cpp1550 dyn_cast<ConstantInt>(ConstArg->getAggregateElement(Idx)); in handleMulByConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp31 if (Constant *Op0 = C->getAggregateElement(0U)) { in CheapToScalarize()
34 if (C->getAggregateElement(i) != Op0) in CheapToScalarize()
74 return C->getAggregateElement(EltNo); in FindScalarElement()
105 if (Con->getAggregateElement(EltNo)->isNullValue()) in FindScalarElement()
185 return ReplaceInstUsesWith(EI, C->getAggregateElement(0U)); in visitExtractElementInst()
DInstCombineMulDivRem.cpp425 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isFiniteNonZeroFp()
440 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isNormalFp()
1446 Constant *Elt = C->getAggregateElement(i); in visitSRem()
1460 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
DInstCombineCalls.cpp961 Constant *Elt = Mask->getAggregateElement(i); in visitCallInst()
981 if (isa<UndefValue>(Mask->getAggregateElement(i))) in visitCallInst()
984 cast<ConstantInt>(Mask->getAggregateElement(i))->getZExtValue(); in visitCallInst()
DInstCombineSimplifyDemanded.cpp998 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
1144 if (CV->getAggregateElement(i)->isNullValue()) in SimplifyDemandedVectorElts()
DInstructionCombining.cpp1264 C2M[ShMask[I]] = C1->getAggregateElement(I); in SimplifyVectorOp()
2144 if (Constant *C2 = C->getAggregateElement(*EV.idx_begin())) { in visitExtractValueInst()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp168 scalarConstantToHexString(C->getAggregateElement(I)); in getSectionForConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp317 cast<ConstantInt>(CS->getAggregateElement(0U))->getZExtValue(); in createTryBlockMapEntry()
319 cast<GlobalVariable>(CS->getAggregateElement(1)->stripPointerCasts()); in createTryBlockMapEntry()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp296 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp2410 Val->getAggregateElement(0U) : Val; in MemberPointerConstantIsNull()
2430 if (Val->getAggregateElement(I) != Fields[I]) in MemberPointerConstantIsNull()
2714 FirstField = Src->getAggregateElement(I++); in EmitMemberPointerConversion()
2716 NonVirtualBaseAdjustment = Src->getAggregateElement(I++); in EmitMemberPointerConversion()
2718 VBPtrOffset = Src->getAggregateElement(I++); in EmitMemberPointerConversion()
2720 VirtualBaseAdjustmentOffset = Src->getAggregateElement(I++); in EmitMemberPointerConversion()
3658 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U)) in getThrowInfo()
DCGExprComplex.cpp125 return ComplexPairTy(pair->getAggregateElement(0U), in VisitDeclRefExpr()
126 pair->getAggregateElement(1U)); in VisitDeclRefExpr()
DCGExpr.cpp465 return cast<llvm::ConstantInt>(Elts->getAggregateElement(Idx)) in getAccessedFieldNo()
2621 CElts.push_back(BaseElts->getAggregateElement(Indices[i])); in EmitExtVectorElementExpr()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp493 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
525 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
2117 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2140 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
/external/llvm/lib/IR/
DConstantFold.cpp796 return Val->getAggregateElement(Index); in ConstantFoldExtractElementInstruction()
871 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
894 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
DConstants.cpp250 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant
272 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant
275 return getAggregateElement(CI->getZExtValue()); in getAggregateElement()
1419 const Constant *C = this->getAggregateElement(0U); in getUniqueInteger()
DAsmWriter.cpp1259 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal()
1265 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
DInstructions.cpp1526 Constant *C = Mask->getAggregateElement(i); in getMaskValue()
1544 Constant *C = Mask->getAggregateElement(i); in getShuffleMask()
/external/llvm/lib/Linker/
DLinkModules.cpp1123 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
1143 Constant *Key = V->getAggregateElement(2); in linkAppendingVarInit()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp406 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp706 Constant *Elt = Init->getAggregateElement(I); in LowerConstantInitializer()
730 Constant *Elt = Init->getAggregateElement(i); in LowerConstantInitializer()

12