Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DOperator.cpp9 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
11 return I->getSourceElementType(); in getSourceElementType()
12 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
DConstantsContext.h249 Type *getSourceElementType() const;
DConstants.cpp1222 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands()
2345 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr
3015 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction()
3017 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
DConstantFold.cpp636 Type *Ty = GEPO->getSourceElementType(); in ConstantFoldCastInstruction()
2134 cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0), in ConstantFoldGetElementPtrImpl()
DAsmWriter.cpp1312 TypePrinter.print(GEP->getSourceElementType(), Out); in WriteConstantInternal()
3049 TypePrinter.print(GEP->getSourceElementType(), Out); in printInstruction()
DVerifier.cpp2658 Assert(GEP.getSourceElementType()->isSized(), "GEP into unsized type!", &GEP); in visitGetElementPtrInst()
2661 GetElementPtrInst::getIndexedType(GEP.getSourceElementType(), Idxs); in visitGetElementPtrInst()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h106 GEPOp->getSourceElementType(), in gep_type_begin()
117 GEPOp.getSourceElementType(), in gep_type_begin()
DOperator.h403 Type *getSourceElementType() const;
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp164 GEP->getSourceElementType(), Cast->getOperand(0), Indices, in hoistAddrSpaceCastFromGEP()
176 GEP->getSourceElementType(), cast<Constant>(Cast->getOperand(0)), in hoistAddrSpaceCastFromGEP()
DNVPTXGenericToNVVM.cpp343 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
347 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp150 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in MapValue()
479 TypeMapper->remapType(GEP->getSourceElementType())); in RemapInstruction()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp410 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
DBasicAliasAnalysis.cpp802 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
808 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h474 GEP->getSourceElementType(), GEP->getPointerOperand(), Indices); in getUserCost()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp421 GEP->getSourceElementType(), SE->getSCEV(GEP->getPointerOperand()), in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp531 const SCEV *BaseExpr = SE->getGEPExpr(GEP->getSourceElementType(), in allocateCandidatesAndFindBasisForGEP()
DScalarizer.cpp459 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
DSCCP.cpp1023 markConstant(&I, ConstantExpr::getGetElementPtr(I.getSourceElementType(), Ptr, in visitGetElementPtrInst()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1068 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
1069 GEPR->getSourceElementType())) in cmpGEPs()
DArgumentPromotion.cpp680 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in DoPromotion()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp233 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in FoldPHIArgGEPIntoPHI()
DInstCombineVectorOps.cpp688 cast<GetElementPtrInst>(I)->getSourceElementType(), Ptr, Idx, "", I); in buildNew()
DInstructionCombining.cpp1557 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst()
1559 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1669 Record.push_back(VE.getTypeID(GO->getSourceElementType())); in WriteConstants()
1843 Vals.push_back(VE.getTypeID(GEPInst.getSourceElementType())); in WriteInstruction()

12