Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DOperator.cpp54 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 DTypeFinder.cpp80 incorporateType(GEP->getSourceElementType()); in run()
156 incorporateType(GEP->getSourceElementType()); in incorporateValue()
H A DConstantsContext.h229 Type *getSourceElementType() const;
448 return GEPCE->getSourceElementType();
H A DInstruction.cpp546 return GEP->getSourceElementType() == in haveSameSpecialState()
547 cast<GetElementPtrInst>(I2)->getSourceElementType(); in haveSameSpecialState()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h126 GEPOp->getSourceElementType(), in gep_type_begin()
137 GEPOp.getSourceElementType(), in gep_type_begin()
H A DOperator.h435 Type *getSourceElementType() const;
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DPHITransAddr.cpp229 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 DTypeMetadataUtils.cpp66 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
H A DDelinearization.cpp498 Ty = GEP->getSourceElementType(); in getIndexExpressionsFromGEP()
H A DConstantFolding.cpp885 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 DInstructionCombining.cpp1980 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 DInstCombinePHI.cpp522 GEP->getSourceElementType() != FirstInst->getSourceElementType() || in foldPHIArgGEPIntoPHI()
607 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in foldPHIArgGEPIntoPHI()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp393 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
429 Type *SourceTy = GEP->getSourceElementType(); in determineBaseAndStride()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp39 GV.getValueType() != GEP->getSourceElementType()) in shouldConvertToRelLookupTable()
H A DFunctionComparator.cpp724 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
H A DValueMapper.cpp515 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 DPointerTypeAnalysis.cpp51 NewPointeeTy = Inst->getSourceElementType(); in classifyPointerType()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp275 return Builder.CreateGEP(cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
H A DNVPTXLowerArgs.cpp182 auto *NewGEP = GetElementPtrInst::Create(GEP->getSourceElementType(), in convertToParamAS()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp537 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 DMVEGatherScatterLowering.cpp234 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 DInferAddressSpaces.cpp645 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace()
751 cast<GEPOperator>(CE)->getSourceElementType()); in cloneConstantExprWithNewAddressSpace()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp361 N->PTy = GepI->getSourceElementType(); in processGepInst()
385 Type *PtrTy = GepI->getSourceElementType(); in processGepInst()

123