Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DOperator.cpp22 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
24 return I->getSourceElementType(); in getSourceElementType()
25 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
DConstantsContext.h251 Type *getSourceElementType() const;
DConstants.cpp1331 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands()
2490 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr
3089 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction()
3091 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
DConstantFold.cpp648 Type *Ty = GEPO->getSourceElementType(); in ConstantFoldCastInstruction()
2320 cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0), in ConstantFoldGetElementPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h130 GEPOp->getSourceElementType(), in gep_type_begin()
141 GEPOp.getSourceElementType(), in gep_type_begin()
DOperator.h502 Type *getSourceElementType() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp288 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
292 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPHITransAddr.cpp229 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr()
407 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
DTypeMetadataUtils.cpp65 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
DBasicAliasAnalysis.cpp529 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
1139 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
1145 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
DConstantFolding.cpp828 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
894 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
990 if (SrcElemTy == InnermostGEP->getSourceElementType() && in SymbolicallyEvaluateGEP()
1036 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp174 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in doPromotion()
645 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument()
691 if (!UpdateBaseTy(GEP->getSourceElementType())) in isSafeToPromoteArgument()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp678 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
679 GEPR->getSourceElementType())) in cmpGEPs()
DValueMapper.cpp471 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue()
920 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
DEvaluator.cpp440 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp303 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
DStraightLineStrengthReduce.cpp278 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
DInferAddressSpaces.cpp486 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace()
DScalarizer.cpp654 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1664 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst()
1791 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
1953 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst()
1955 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst()
2297 GEP.getSourceElementType(), PtrOp, makeArrayRef(Ops).slice(1), in visitGetElementPtrInst()
DInstCombinePHI.cpp490 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in FoldPHIArgGEPIntoPHI()
DInstCombineLoadStoreAlloca.cpp878 GetElementPtrInst::getIndexedType(GEPI->getSourceElementType(), Ops); in canReplaceGEPIdxWithZero()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h874 return static_cast<T *>(this)->getGEPCost(GEP->getSourceElementType(), in getUserCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp1019 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices); in computePolynomialFromPointer()

12