/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Operator.cpp | 22 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator 24 return I->getSourceElementType(); in getSourceElementType() 25 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType() 68 return GEPOperator::accumulateConstantOffset(getSourceElementType(), Index, in accumulateConstantOffset()
|
H A D | ReplaceConstant.cpp | 30 Builder.CreateInBoundsGEP(cast<GEPOperator>(CE)->getSourceElementType(), in createReplacementInstr()
|
H A D | ConstantsContext.h | 298 Type *getSourceElementType() const; 535 return GEPCE->getSourceElementType();
|
H A D | Constants.cpp | 1570 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands() 2884 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr 3519 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction() 3521 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
|
H A D | ConstantFold.cpp | 684 Type *Ty = GEPO->getSourceElementType(); in ConstantFoldCastInstruction() 2495 cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0), in ConstantFoldGetElementPtr()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | GetElementPtrTypeIterator.h | 142 GEPOp->getSourceElementType(), in gep_type_begin() 153 GEPOp.getSourceElementType(), in gep_type_begin()
|
H A D | Operator.h | 505 Type *getSourceElementType() const;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 288 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr() 292 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | PHITransAddr.cpp | 229 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr() 407 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
|
H A D | TypeMetadataUtils.cpp | 67 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
|
H A D | ConstantFolding.cpp | 862 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() 926 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() 1022 if (SrcElemTy == InnermostGEP->getSourceElementType() && in SymbolicallyEvaluateGEP() 1068 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
|
H A D | BasicAliasAnalysis.cpp | 488 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression() 495 if (isa<ScalableVectorType>(GEPOp->getSourceElementType())) { in DecomposeGEPExpression()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 169 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in doPromotion() 639 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument() 681 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 709 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
|
H A D | ValueMapper.cpp | 505 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue() 964 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
|
H A D | Evaluator.cpp | 436 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
|
H A D | SCCPSolver.cpp | 1045 ConstantExpr::getGetElementPtr(I.getSourceElementType(), Ptr, Indices); in visitGetElementPtrInst()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1845 Type *Ty = GEP.getSourceElementType(); in foldSelectGEP() 1856 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst() 1987 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst() 2145 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst() 2147 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst() 2495 GEP.getSourceElementType(), PtrOp, makeArrayRef(Ops).slice(1), in visitGetElementPtrInst()
|
H A D | InstCombineLoadStoreAlloca.cpp | 850 Type *SourceElementType = GEPI->getSourceElementType(); in canReplaceGEPIdxWithZero()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 327 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
|
H A D | StraightLineStrengthReduce.cpp | 289 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
|
H A D | InferAddressSpaces.cpp | 608 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace()
|
H A D | Scalarizer.cpp | 666 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 1019 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices); in computePolynomialFromPointer()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 965 return TargetTTI->getGEPCost(GEP->getSourceElementType(), in getUserCost()
|