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.cpp76 Type *GEPOperator::getResultElementType() const { in getResultElementType() function in llvm::GEPOperator
78 return I->getResultElementType(); in getResultElementType()
79 return cast<GetElementPtrConstantExpr>(this)->getResultElementType(); in getResultElementType()
H A DConstantsContext.h219 Type *getResultElementType() const;
H A DConstants.cpp2804 Type *GetElementPtrConstantExpr::getResultElementType() const { in getResultElementType() function in GetElementPtrConstantExpr
H A DVerifier.cpp4238 Check(PtrTy && 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.cpp1053 TypeMapper->remapType(GEP->getResultElementType())); in remapInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp430 Type *ElementType = GEP->getResultElementType(); in tryReassociateGEPAtIndex()
458 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS)); in tryReassociateGEPAtIndex()
H A DSeparateConstOffsetFromGEP.cpp1016 if (!TTI.isLegalAddressingMode(GEP->getResultElementType(), in reorderGEP()
1077 if (!TTI.isLegalAddressingMode(GEP->getResultElementType(), in splitGEP()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp342 Type *ResultElementType = First->getResultElementType(); in foldGEPChainAsStructAccess()
359 ResultElementType = GEP->getResultElementType(); in foldGEPChainAsStructAccess()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp361 !GEPA->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
362 !GEPB->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
1128 if (GEPSearch->getResultElementType() != CharTy || in recognizeFindFirstByte()
1129 GEPNeedle->getResultElementType() != CharTy) in recognizeFindFirstByte()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h473 LLVM_ABI Type *getResultElementType() const;
H A DInstructions.h1012 Type *getResultElementType() const {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp260 if (TLI->isLegalAddressingMode(*DL, AM, GEP->getResultElementType(), in visit()
H A DAMDGPULowerBufferFatPointers.cpp571 I.setResultElementType(TypeMap->remapType(I.getResultElementType())); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1025 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer()
H A DCodeGenPrepare.cpp6731 GEP->getResultElementType(), in splitLargeGEPOffsets()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp808 Type *GetElementPtrInst::getResultElementType() const { in getResultElementType() function in llvm::sandboxir::GetElementPtrInst
810 cast<llvm::GetElementPtrInst>(Val)->getResultElementType()); in getResultElementType()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1699 LLVM_ABI Type *getResultElementType() const;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1246 cast<llvm::GetElementPtrInst>(Addr)->getResultElementType(); in StartFunction()
H A DCGCall.cpp3981 cast<llvm::GetElementPtrInst>(SRet)->getResultElementType(); in EmitFunctionEpilog()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp567 Ty = Ref->getResultElementType(); in getGEPType()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1750 unsigned Scale = DL.getTypeAllocSize(GEP->getResultElementType()); in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2698 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP()
H A DInstCombineCompares.cpp112 if (LI->isVolatile() || LI->getType() != GEP->getResultElementType() || in foldCmpLoadFromIndexedGlobal()

12