| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 70 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator 72 return I->getSourceElementType(); in getSourceElementType() 73 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType() 120 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
|
| H A D | TypeFinder.cpp | 80 incorporateType(GEP->getSourceElementType()); in run() 175 incorporateType(GEP->getSourceElementType()); in incorporateValue()
|
| H A D | ConstantsContext.h | 218 Type *getSourceElementType() const; 404 return GEPCE->getSourceElementType();
|
| H A D | Value.cpp | 1078 GEP1->getSourceElementType() != GEP2->getSourceElementType()) in getPointerOffsetFrom()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GetElementPtrTypeIterator.h | 176 GEPOp->getSourceElementType(), 187 GEPOp.getSourceElementType(),
|
| H A D | Operator.h | 472 LLVM_ABI Type *getSourceElementType() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 216 if (Value *V = simplifyGEPInst(GEP->getSourceElementType(), GEPOps[0], in translateSubExpr() 233 GEPI->getSourceElementType() == GEP->getSourceElementType() && in translateSubExpr() 393 GEP->getSourceElementType(), GEPOps[0], ArrayRef(GEPOps).slice(1), in insertTranslatedSubExpr()
|
| H A D | TypeMetadataUtils.cpp | 71 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
|
| H A D | Delinearization.cpp | 495 Ty = GEP->getSourceElementType(); in getIndexExpressionsFromGEP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 341 Info.SourceElementType = First->getSourceElementType(); in foldGEPChainAsStructAccess() 351 if (!GEP->getSourceElementType() || in foldGEPChainAsStructAccess() 352 GEP->getSourceElementType() != ResultElementType) { in foldGEPChainAsStructAccess()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 373 Builder.CreateGEP(GEP->getSourceElementType(), BaseBase, Indices, in determineBaseAndStride() 439 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride() 475 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILLegalizePass.cpp | 100 ElementType = GEP->getSourceElementType(); in fixI8UseChain() 116 if (!GEP->getSourceElementType()->isIntegerTy(8)) in fixI8UseChain() 215 !GEP->getSourceElementType()->isIntegerTy(8)) in fixI8UseChain()
|
| H A D | DXILFlattenArrays.cpp | 238 Builder.CreateGEP(GEP.getSourceElementType(), OldGEPI, Indices, in visitGetElementPtrInst() 280 Type *RootTy = GEP.getSourceElementType(); in visitGetElementPtrInst()
|
| H A D | DXILPrepare.cpp | 280 GEP->getSourceElementType())) in runOnModule()
|
| H A D | DXILDataScalarization.cpp | 305 Type *OrigGEPType = GEPI.getSourceElementType(); in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 449 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants() 450 GEPR->getSourceElementType())) in cmpConstants() 829 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
|
| H A D | RelLookupTableConverter.cpp | 39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 210 !GEP->getSourceElementType()->isIntegerTy(8)) { in EmitGEPOffset() 2581 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP() 2609 Type *BaseType = GEP.getSourceElementType(); in canonicalizeGEPOfConstGEPI8() 2694 GEP, Builder.CreateGEP(Src->getSourceElementType(), Src->getOperand(0), in visitGEPOfGEP() 2698 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP() 2744 Src->getSourceElementType(), Src->getOperand(0), Indices, "", in visitGEPOfGEP() 2942 Type *GEPEltType = GEP.getSourceElementType(); in shouldCanonicalizeGEPToPtrAdd() 2990 Op1->getSourceElementType() != Op2->getSourceElementType()) in foldGEPOfPhi() 3033 CurTy = Op1->getSourceElementType(); in foldGEPOfPhi() 3083 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst() [all …]
|
| H A D | InstCombinePHI.cpp | 555 GEP->getSourceElementType() != FirstInst->getSourceElementType() || in foldPHIArgGEPIntoPHI() 640 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in foldPHIArgGEPIntoPHI() 1427 return Builder.CreateGEP(GEP->getSourceElementType(), Start, Iv2, "", in foldDependentIVs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 53 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 233 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr() 755 computeScale(DL->getTypeSizeInBits(GEP->getSourceElementType()), in tryCreateIncrementingGatScat() 1191 Scale = DL->getTypeAllocSize(GEP->getSourceElementType()); in foldGEP() 1203 DL->getTypeAllocSize(GEP->getSourceElementType()), Builder); in foldGEP()
|
| /freebsd/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/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 476 EnumerateType(GEP->getSourceElementType()); in ValueEnumerator() 944 EnumerateType(GEP->getSourceElementType()); in EnumerateValue() 1027 EnumerateType(cast<GEPOperator>(CE)->getSourceElementType()); in EnumerateOperandType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 251 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 1036 GEP->getSourceElementType(), PtrGEP->getPointerOperand(), in reorderGEP() 1038 Value *NewGEP = Builder.CreateGEP(PtrGEP->getSourceElementType(), NewSrc, in reorderGEP()
|