Home
last modified time | relevance | path

Searched refs:getResultElementType (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp74 Type *GEPOperator::getResultElementType() const { in getResultElementType() function in llvm::GEPOperator
76 return I->getResultElementType(); in getResultElementType()
77 return cast<GetElementPtrConstantExpr>(this)->getResultElementType(); in getResultElementType()
H A DConstantsContext.h208 Type *getResultElementType() const;
H A DConstants.cpp2768 Type *GetElementPtrConstantExpr::getResultElementType() const { in getResultElementType() function in GetElementPtrConstantExpr
H A DVerifier.cpp4094 GEP.getResultElementType() == ElTy, in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp35 if (!Inst->getResultElementType()->isPointerTy()) in classifyPointerType()
36 PointeeTy = Inst->getResultElementType(); in classifyPointerType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp44 Load->getType() != GEP->getResultElementType()) in shouldConvertToRelLookupTable()
H A DValueMapper.cpp1041 TypeMapper->remapType(GEP->getResultElementType())); in remapInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp432 Type *ElementType = GEP->getResultElementType(); in tryReassociateGEPAtIndex()
460 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS)); in tryReassociateGEPAtIndex()
H A DSeparateConstOffsetFromGEP.cpp986 if (!TTI.isLegalAddressingMode(GEP->getResultElementType(), in reorderGEP()
1047 if (!TTI.isLegalAddressingMode(GEP->getResultElementType(), in splitGEP()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp345 Type *ResultElementType = First->getResultElementType(); in foldGEPChainAsStructAccess()
363 ResultElementType = GEP->getResultElementType(); in foldGEPChainAsStructAccess()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp263 if (TLI->isLegalAddressingMode(*DL, AM, GEP->getResultElementType(), in visit()
H A DAMDGPULowerBufferFatPointers.cpp540 I.setResultElementType(TypeMap->remapType(I.getResultElementType())); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h454 Type *getResultElementType() const;
H A DInstructions.h976 Type *getResultElementType() const {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp312 !GEPA->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
313 !GEPB->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h80 return Address(GEP, GEP->getResultElementType(), in createConstGEP2_32()
H A DCodeGenFunction.cpp1205 cast<llvm::GetElementPtrInst>(Addr)->getResultElementType(); in StartFunction()
H A DCGCall.cpp3816 cast<llvm::GetElementPtrInst>(SRet)->getResultElementType(); in EmitFunctionEpilog()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1026 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer()
H A DCodeGenPrepare.cpp6341 GEP->getResultElementType(), in splitLargeGEPOffsets()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp424 Ty = Ref->getResultElementType(); in deduceElementTypeHelper()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2809 TypeSize GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType()); in getGEPInductionOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1667 unsigned Scale = DL.getTypeAllocSize(GEP->getResultElementType()); in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2461 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP()
H A DInstCombineCompares.cpp114 if (LI->isVolatile() || LI->getType() != GEP->getResultElementType() || in foldCmpLoadFromIndexedGlobal()

12