| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 22 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 D | ConstantsContext.h | 292 Type *getSourceElementType() const; 528 return GEPCE->getSourceElementType();
|
| H A D | ConstantFold.cpp | 657 GEP->getSourceElementType()); in ConstantFoldExtractElementInstruction() 2122 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP() 2193 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP()
|
| H A D | Constants.cpp | 1572 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 D | GetElementPtrTypeIterator.h | 142 GEPOp->getSourceElementType(), in gep_type_begin() 153 GEPOp.getSourceElementType(), in gep_type_begin()
|
| H A D | Operator.h | 514 Type *getSourceElementType() const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 288 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr() 292 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
| H A D | NVPTXLowerArgs.cpp | 180 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in convertToParamAS()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 229 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr() 407 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
|
| H A D | TypeMetadataUtils.cpp | 67 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
|
| H A D | BasicAliasAnalysis.cpp | 497 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression() 504 if (isa<ScalableVectorType>(GEPOp->getSourceElementType())) { in DecomposeGEPExpression()
|
| H A D | ConstantFolding.cpp | 901 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 D | ArgumentPromotion.cpp | 168 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 D | FunctionComparator.cpp | 709 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
|
| H A D | ValueMapper.cpp | 505 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue() 964 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
|
| H A D | Evaluator.cpp | 446 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 473 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 D | InstructionCombining.cpp | 1886 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 D | MVEGatherScatterLowering.cpp | 232 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 D | NaryReassociate.cpp | 327 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
|
| H A D | StraightLineStrengthReduce.cpp | 289 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 288 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 D | HexagonCommonGEP.cpp | 364 N->PTy = GepI->getSourceElementType(); in processGepInst() 388 Type *PtrTy = GepI->getSourceElementType(); in processGepInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 1020 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices); in computePolynomialFromPointer()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 968 return TargetTTI->getGEPCost(GEP->getSourceElementType(), in getUserCost()
|