Home
last modified time | relevance | path

Searched refs:getSourceElementType (Results 1 – 25 of 39) 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.h240 Type *getSourceElementType() const;
DConstants.cpp1171 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands()
2277 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr
2885 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction()
2887 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
DConstantFold.cpp635 Type *Ty = GEPO->getSourceElementType(); in ConstantFoldCastInstruction()
2154 cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0), in ConstantFoldGetElementPtrImpl()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h100 GEPOp->getSourceElementType(), in gep_type_begin()
111 GEPOp.getSourceElementType(), in gep_type_begin()
DOperator.h403 Type *getSourceElementType() const;
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp167 GEP->getSourceElementType(), Cast->getOperand(0), Indices, in hoistAddrSpaceCastFromGEP()
179 GEP->getSourceElementType(), cast<Constant>(Cast->getOperand(0)), in hoistAddrSpaceCastFromGEP()
DNVPTXGenericToNVVM.cpp339 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
343 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
DNVPTXInferAddressSpaces.cpp319 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace()
/external/llvm/lib/Analysis/
DTypeMetadataUtils.cpp56 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
DPHITransAddr.cpp232 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr()
411 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
DBasicAliasAnalysis.cpp403 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
870 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
876 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
DConstantFolding.cpp747 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
809 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
939 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), in ConstantFoldInstOperandsImpl()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp307 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
390 GEP->getSourceElementType(), SE->getSCEV(GEP->getPointerOperand()), in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp242 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
502 const SCEV *BaseExpr = SE->getGEPExpr(GEP->getSourceElementType(), in allocateCandidatesAndFindBasisForGEP()
DScalarizer.cpp462 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1333 if (Value *V = SimplifyGEPInst(GEP.getSourceElementType(), Ops, DL, TLI, DT, AC)) in visitGetElementPtrInst()
1435 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
1554 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst()
1556 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst()
1565 Type *Ty = GEP.getSourceElementType(); in visitGetElementPtrInst()
1629 dyn_cast<ArrayType>(GEP.getSourceElementType())) { in visitGetElementPtrInst()
1686 Type *ResElTy = GEP.getSourceElementType(); in visitGetElementPtrInst()
DInstCombinePHI.cpp223 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in FoldPHIArgGEPIntoPHI()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h510 GEP->getSourceElementType(), GEP->getPointerOperand(), Indices); in getUserCost()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp471 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue()
907 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
DEvaluator.cpp315 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1086 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
1087 GEPR->getSourceElementType())) in cmpGEPs()
DArgumentPromotion.cpp706 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in DoPromotion()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp740 Type *SourceTy = GepInst->getSourceElementType(); in instrumentGetElementPtr()

12