| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 60 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 D | TypeFinder.cpp | 80 incorporateType(GEP->getSourceElementType()); in run() 161 incorporateType(GEP->getSourceElementType()); in incorporateValue()
|
| H A D | ConstantsContext.h | 203 Type *getSourceElementType() const; 417 return GEPCE->getSourceElementType();
|
| H A D | Value.cpp | 1049 GEP1->getSourceElementType() != GEP2->getSourceElementType()) in getPointerOffsetFrom()
|
| H A D | Instruction.cpp | 757 return GEP->getSourceElementType() == in hasSameSpecialState() 758 cast<GetElementPtrInst>(I2)->getSourceElementType(); in hasSameSpecialState()
|
| H A D | ConstantFold.cpp | 452 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 D | GetElementPtrTypeIterator.h | 176 GEPOp->getSourceElementType(), in gep_type_begin() 187 GEPOp.getSourceElementType(), in gep_type_begin()
|
| H A D | Operator.h | 427 Type *getSourceElementType() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 215 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 D | TypeMetadataUtils.cpp | 66 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
|
| H A D | Delinearization.cpp | 496 Ty = GEP->getSourceElementType(); in getIndexExpressionsFromGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 343 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 D | DXILPrepare.cpp | 157 GEP->getSourceElementType())) in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 424 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants() 425 GEPR->getSourceElementType())) in cmpConstants() 795 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
|
| H A D | RelLookupTableConverter.cpp | 39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 51 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 411 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 D | ValueEnumerator.cpp | 436 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 D | DXILValueEnumerator.cpp | 474 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 D | NVPTXGenericToNVVM.cpp | 260 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
| H A D | NVPTXLowerArgs.cpp | 186 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2134 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 D | InstCombinePHI.cpp | 522 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 D | MVEGatherScatterLowering.cpp | 234 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 D | AggressiveInstCombine.cpp | 542 if (!GEP->getSourceElementType()->isArrayTy()) in tryToRecognizeTableBasedCttz() 545 uint64_t ArraySize = GEP->getSourceElementType()->getArrayNumElements(); in tryToRecognizeTableBasedCttz()
|