Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DPointerTypeAnalysis.cpp28 if (!Inst->getResultElementType()->isOpaquePointerTy()) in classifyPointerType()
29 PointeeTy = Inst->getResultElementType(); in classifyPointerType()
H A DDXILPrepare.cpp159 GEP->getResultElementType())) in runOnModule()
/llvm-project-15.0.7/llvm/lib/IR/
H A DOperator.cpp53 Type *GEPOperator::getResultElementType() const { in getResultElementType() function in llvm::GEPOperator
55 return I->getResultElementType(); in getResultElementType()
56 return cast<GetElementPtrConstantExpr>(this)->getResultElementType(); in getResultElementType()
H A DConstantsContext.h232 Type *getResultElementType() const;
H A DConstantFold.cpp1963 if (PointeeTy != GEP->getResultElementType()) in foldGEPOfGEP()
H A DConstants.cpp2835 Type *GetElementPtrConstantExpr::getResultElementType() const { in getResultElementType() function in GetElementPtrConstantExpr
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp44 Load->getType() != GEP->getResultElementType()) in shouldConvertToRelLookupTable()
H A DValueMapper.cpp985 TypeMapper->remapType(GEP->getResultElementType())); in remapInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp431 Type *ElementType = GEP->getResultElementType(); in tryReassociateGEPAtIndex()
459 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS)); in tryReassociateGEPAtIndex()
H A DSeparateConstOffsetFromGEP.cpp991 if (!TTI.isLegalAddressingMode(GEP->getResultElementType(), in splitGEP()
1098 DL->getTypeAllocSize(GEP->getResultElementType())); in splitGEP()
1104 NewGEP = GetElementPtrInst::Create(GEP->getResultElementType(), NewGEP, in splitGEP()
H A DStraightLineStrengthReduce.cpp595 cast<GetElementPtrInst>(Basis.Ins)->getResultElementType())); in emitBump()
693 cast<GetElementPtrInst>(Basis.Ins)->getResultElementType(), in rewriteCandidateWithBasis()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DLoopGenerators.cpp249 Type *ElemTy = cast<GetElementPtrInst>(Address)->getResultElementType(); in extractValuesFromStruct()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h432 Type *getResultElementType() const;
H A DInstructions.h1009 Type *getResultElementType() const {
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp263 if (TLI->isLegalAddressingMode(*DL, AM, GEP->getResultElementType(), in visit()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuilder.h306 return Address(GEP, GEP->getResultElementType(),
H A DCodeGenFunction.cpp1106 cast<llvm::GetElementPtrInst>(Addr)->getResultElementType(); in StartFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1020 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DVectorUtils.cpp155 TypeSize GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType()); in getGEPInductionOperand()
H A DConstantFolding.cpp886 Type *ResElemTy = GEP->getResultElementType(); in SymbolicallyEvaluateGEP()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp421 Type *ElementType = TGEP->getResultElementType(); in foldSelectOpOp()
2928 Type *ElementType = Gep->getResultElementType(); in visitSelectInst()
H A DInstructionCombining.cpp1979 if (Src->getResultElementType() == GEP.getSourceElementType() && in visitGEPOfGEP()
2097 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1602 if (GEP->getResultElementType() != Orig->getType()) in insertSpills()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1641 unsigned Scale = DL.getTypeAllocSize(GEP->getResultElementType()); in getGatherScatterOpCost()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp1456 if (!GEP || DL.getTypeAllocSize(GEP->getResultElementType()) != in buildAccessMultiDimFixed()

12