| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Operator.cpp | 54 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator 56 return I->getSourceElementType(); in getSourceElementType() 57 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType() 98 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
|
| H A D | TypeFinder.cpp | 80 incorporateType(GEP->getSourceElementType()); in run() 156 incorporateType(GEP->getSourceElementType()); in incorporateValue()
|
| H A D | ConstantsContext.h | 229 Type *getSourceElementType() const; 448 return GEPCE->getSourceElementType();
|
| H A D | Instruction.cpp | 546 return GEP->getSourceElementType() == in haveSameSpecialState() 547 cast<GetElementPtrInst>(I2)->getSourceElementType(); in haveSameSpecialState()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | GetElementPtrTypeIterator.h | 126 GEPOp->getSourceElementType(), in gep_type_begin() 137 GEPOp.getSourceElementType(), in gep_type_begin()
|
| H A D | Operator.h | 435 Type *getSourceElementType() const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 229 if (Value *V = simplifyGEPInst(GEP->getSourceElementType(), GEPOps[0], in PHITranslateSubExpr() 243 GEPI->getSourceElementType() == GEP->getSourceElementType() && in PHITranslateSubExpr() 408 GEP->getSourceElementType(), GEPOps[0], ArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
|
| H A D | TypeMetadataUtils.cpp | 66 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
|
| H A D | Delinearization.cpp | 498 Ty = GEP->getSourceElementType(); in getIndexExpressionsFromGEP()
|
| H A D | ConstantFolding.cpp | 885 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() 930 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() 996 if (SrcElemTy == InnermostGEP->getSourceElementType() && in SymbolicallyEvaluateGEP() 1059 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl() 1439 GEP->getSourceElementType()->isIntegerTy(8)) { in ConstantFoldCastOperand()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1980 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP() 1994 if (Src->getResultElementType() == GEP.getSourceElementType() && in visitGEPOfGEP() 2015 Value *NewSrc = Builder.CreateGEP(GEP.getSourceElementType(), in visitGEPOfGEP() 2019 GEP.getSourceElementType(), NewSrc, {SO1}); in visitGEPOfGEP() 2104 ? GetElementPtrInst::CreateInBounds(Src->getSourceElementType(), in visitGEPOfGEP() 2107 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGEPOfGEP() 2112 if (Src->getResultElementType() != GEP.getSourceElementType()) in visitGEPOfGEP() 2165 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGEPOfGEP() 2167 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGEPOfGEP() 2183 Type *GEPEltType = GEP.getSourceElementType(); in visitGEPOfBitcast() [all …]
|
| H A D | InstCombinePHI.cpp | 522 GEP->getSourceElementType() != FirstInst->getSourceElementType() || in foldPHIArgGEPIntoPHI() 607 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in foldPHIArgGEPIntoPHI()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 393 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride() 429 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
|
| H A D | FunctionComparator.cpp | 724 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
|
| H A D | ValueMapper.cpp | 515 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue() 982 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 51 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 275 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
| H A D | NVPTXLowerArgs.cpp | 182 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in convertToParamAS()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 537 if (!GEP->getSourceElementType()->isArrayTy()) in tryToRecognizeTableBasedCttz() 540 uint64_t ArraySize = GEP->getSourceElementType()->getArrayNumElements(); in tryToRecognizeTableBasedCttz()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 645 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace() 751 cast<GEPOperator>(CE)->getSourceElementType()); in cloneConstantExprWithNewAddressSpace()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCommonGEP.cpp | 361 N->PTy = GepI->getSourceElementType(); in processGepInst() 385 Type *PtrTy = GepI->getSourceElementType(); in processGepInst()
|