Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp60 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
62 return I->getSourceElementType(); in getSourceElementType()
63 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
104 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
H A DTypeFinder.cpp80 incorporateType(GEP->getSourceElementType()); in run()
161 incorporateType(GEP->getSourceElementType()); in incorporateValue()
H A DConstantsContext.h203 Type *getSourceElementType() const;
417 return GEPCE->getSourceElementType();
H A DValue.cpp1049 GEP1->getSourceElementType() != GEP2->getSourceElementType()) in getPointerOffsetFrom()
H A DInstruction.cpp757 return GEP->getSourceElementType() == in hasSameSpecialState()
758 cast<GetElementPtrInst>(I2)->getSourceElementType(); in hasSameSpecialState()
H A DConstantFold.cpp452 GEP->getSourceElementType()); in ConstantFoldExtractElementInstruction()
1480 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP()
1538 GEP->getSourceElementType(), cast<Constant>(GEP->getPointerOperand()), in foldGEPOfGEP()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h176 GEPOp->getSourceElementType(), in gep_type_begin()
187 GEPOp.getSourceElementType(), in gep_type_begin()
H A DOperator.h427 Type *getSourceElementType() const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp215 if (Value *V = simplifyGEPInst(GEP->getSourceElementType(), GEPOps[0], in translateSubExpr()
229 GEPI->getSourceElementType() == GEP->getSourceElementType() && in translateSubExpr()
389 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-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp343 Info.SourceElementType = First->getSourceElementType(); in foldGEPChainAsStructAccess()
354 if (!GEP->getSourceElementType() || in foldGEPChainAsStructAccess()
355 GEP->getSourceElementType() != ResultElementType) { in foldGEPChainAsStructAccess()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp157 GEP->getSourceElementType())) in runOnModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp424 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants()
425 GEPR->getSourceElementType())) in cmpConstants()
795 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
H A DRelLookupTableConverter.cpp39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp51 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp411 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
447 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp436 EnumerateType(GEP->getSourceElementType()); in ValueEnumerator()
905 EnumerateType(GEP->getSourceElementType()); in EnumerateValue()
988 EnumerateType(cast<GEPOperator>(CE)->getSourceElementType()); in EnumerateOperandType()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp260 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
H A DNVPTXLowerArgs.cpp186 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2134 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP()
2215 GEP, Builder.CreateGEP(Src->getSourceElementType(), Src->getOperand(0), in visitGEPOfGEP()
2219 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP()
2272 Src->getSourceElementType(), Src->getOperand(0), Indices, "", in visitGEPOfGEP()
2386 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst()
2474 Op1->getSourceElementType() != Op2->getSourceElementType()) in visitGetElementPtrInst()
2517 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
2663 GEP.getSourceElementType(), PtrOp, Indices, GEP.getName()); in visitGetElementPtrInst()
H A DInstCombinePHI.cpp522 GEP->getSourceElementType() != FirstInst->getSourceElementType() || in foldPHIArgGEPIntoPHI()
607 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in foldPHIArgGEPIntoPHI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp234 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr()
1187 Scale = DL->getTypeAllocSize(GEP->getSourceElementType()); in foldGEP()
1199 DL->getTypeAllocSize(GEP->getSourceElementType()), Builder); in foldGEP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp542 if (!GEP->getSourceElementType()->isArrayTy()) in tryToRecognizeTableBasedCttz()
545 uint64_t ArraySize = GEP->getSourceElementType()->getArrayNumElements(); in tryToRecognizeTableBasedCttz()

123