Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp68 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
70 return I->getSourceElementType(); in getSourceElementType()
71 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
118 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
H A DTypeFinder.cpp80 incorporateType(GEP->getSourceElementType()); in run()
175 incorporateType(GEP->getSourceElementType()); in incorporateValue()
H A DConstantsContext.h207 Type *getSourceElementType() const;
393 return GEPCE->getSourceElementType();
H A DValue.cpp1050 GEP1->getSourceElementType() != GEP2->getSourceElementType()) in getPointerOffsetFrom()
H A DInstruction.cpp849 return GEP->getSourceElementType() == in hasSameSpecialState()
850 cast<GetElementPtrInst>(I2)->getSourceElementType(); in hasSameSpecialState()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h176 GEPOp->getSourceElementType(),
187 GEPOp.getSourceElementType(),
H A DOperator.h453 Type *getSourceElementType() const;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp216 if (Value *V = simplifyGEPInst(GEP->getSourceElementType(), GEPOps[0], in translateSubExpr()
230 GEPI->getSourceElementType() == GEP->getSourceElementType() && in translateSubExpr()
390 GEP->getSourceElementType(), GEPOps[0], ArrayRef(GEPOps).slice(1), in insertTranslatedSubExpr()
H A DTypeMetadataUtils.cpp66 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
H A DDelinearization.cpp496 Ty = GEP->getSourceElementType(); in getIndexExpressionsFromGEP()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp364 Builder.CreateGEP(GEP->getSourceElementType(), BaseBase, Indices, in determineBaseAndStride()
430 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
466 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp344 Info.SourceElementType = First->getSourceElementType(); in foldGEPChainAsStructAccess()
355 if (!GEP->getSourceElementType() || in foldGEPChainAsStructAccess()
356 GEP->getSourceElementType() != ResultElementType) { in foldGEPChainAsStructAccess()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp433 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants()
434 GEPR->getSourceElementType())) in cmpConstants()
815 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
H A DRelLookupTableConverter.cpp39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp206 !GEP->getSourceElementType()->isIntegerTy(8)) { in EmitGEPOffset()
2336 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP()
2364 Type *BaseType = GEP.getSourceElementType(); in canonicalizeGEPOfConstGEPI8()
2457 GEP, Builder.CreateGEP(Src->getSourceElementType(), Src->getOperand(0), in visitGEPOfGEP()
2461 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP()
2514 Src->getSourceElementType(), Src->getOperand(0), Indices, "", in visitGEPOfGEP()
2713 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst()
2825 Op1->getSourceElementType() != Op2->getSourceElementType()) in visitGetElementPtrInst()
2868 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
3023 Builder.CreateGEP(GEP.getSourceElementType(), GEP.getPointerOperand(), in visitGetElementPtrInst()
[all …]
H A DInstCombinePHI.cpp523 GEP->getSourceElementType() != FirstInst->getSourceElementType() || in foldPHIArgGEPIntoPHI()
608 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in foldPHIArgGEPIntoPHI()
1424 return Builder.CreateGEP(GEP->getSourceElementType(), Start, Iv2, "", in foldDependentIVs()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp53 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp227 GEP->getSourceElementType())) in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp474 EnumerateType(GEP->getSourceElementType()); in ValueEnumerator()
910 EnumerateType(GEP->getSourceElementType()); in EnumerateValue()
992 EnumerateType(cast<GEPOperator>(CE)->getSourceElementType()); in EnumerateOperandType()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp473 EnumerateType(GEP->getSourceElementType()); in ValueEnumerator()
941 EnumerateType(GEP->getSourceElementType()); in EnumerateValue()
1024 EnumerateType(cast<GEPOperator>(CE)->getSourceElementType()); in EnumerateOperandType()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp252 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
H A DNVPTXLowerArgs.cpp239 GEP->getSourceElementType(), I.NewParam, Indices, GEP->getName(), in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp234 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr()
1193 Scale = DL->getTypeAllocSize(GEP->getSourceElementType()); in foldGEP()
1205 DL->getTypeAllocSize(GEP->getSourceElementType()), Builder); in foldGEP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp1006 GEP->getSourceElementType(), PtrGEP->getPointerOperand(), in reorderGEP()
1008 Value *NewGEP = Builder.CreateGEP(PtrGEP->getSourceElementType(), NewSrc, in reorderGEP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp545 if (!GEP->getSourceElementType()->isArrayTy()) in tryToRecognizeTableBasedCttz()
548 uint64_t ArraySize = GEP->getSourceElementType()->getArrayNumElements(); in tryToRecognizeTableBasedCttz()

123