Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp22 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
24 return I->getSourceElementType(); in getSourceElementType()
25 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
68 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
H A DConstantsContext.h292 Type *getSourceElementType() const;
528 return GEPCE->getSourceElementType();
H A DConstantFold.cpp657 GEP->getSourceElementType()); in ConstantFoldExtractElementInstruction()
2122 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP()
2193 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP()
H A DConstants.cpp1572 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands()
2886 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr
3521 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction()
3523 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h142 GEPOp->getSourceElementType(), in gep_type_begin()
153 GEPOp.getSourceElementType(), in gep_type_begin()
H A DOperator.h514 Type *getSourceElementType() const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp288 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
292 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
H A DNVPTXLowerArgs.cpp180 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in convertToParamAS()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp229 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr()
407 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
H A DTypeMetadataUtils.cpp67 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
H A DBasicAliasAnalysis.cpp497 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
504 if (isa<ScalableVectorType>(GEPOp->getSourceElementType())) { in DecomposeGEPExpression()
H A DConstantFolding.cpp901 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
962 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
1059 if (SrcElemTy == InnermostGEP->getSourceElementType() && in SymbolicallyEvaluateGEP()
1106 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp168 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in doPromotion()
638 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument()
680 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp709 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
H A DValueMapper.cpp505 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue()
964 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
H A DEvaluator.cpp446 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp473 EnumerateType(GEP->getSourceElementType()); in ValueEnumerator()
1023 EnumerateType(cast<GEPOperator>(CE)->getSourceElementType()); in EnumerateOperandType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1886 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP()
1897 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst()
2028 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
2202 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst()
2204 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst()
2552 GEP.getSourceElementType(), PtrOp, makeArrayRef(Ops).slice(1), in visitGetElementPtrInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp232 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr()
1198 GEP->getSourceElementType(), Base, Offsets, "gep.merged", GEP); in optimiseAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp327 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
H A DStraightLineStrengthReduce.cpp289 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
/freebsd-13.1/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp288 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()
965 Type *src_elem_ty = gep_inst->getSourceElementType(); in Interpret()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp364 N->PTy = GepI->getSourceElementType(); in processGepInst()
388 Type *PtrTy = GepI->getSourceElementType(); in processGepInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1020 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices); in computePolynomialFromPointer()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h968 return TargetTTI->getGEPCost(GEP->getSourceElementType(), in getUserCost()

12