Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/IR/
H A DOperator.cpp23 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() function in llvm::GEPOperator
25 return I->getSourceElementType(); in getSourceElementType()
26 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()
H A DConstantsContext.h252 Type *getSourceElementType() const;
H A DConstants.cpp1249 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1), in getWithOperands()
2410 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType() function in GetElementPtrConstantExpr
3009 return GetElementPtrInst::CreateInBounds(GO->getSourceElementType(), in getAsInstruction()
3011 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0], in getAsInstruction()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h131 GEPOp->getSourceElementType(), in gep_type_begin()
142 GEPOp.getSourceElementType(), in gep_type_begin()
H A DOperator.h482 Type *getSourceElementType() const;
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp289 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
293 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DPHITransAddr.cpp230 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr()
408 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
H A DTypeMetadataUtils.cpp66 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
H A DBasicAliasAnalysis.cpp490 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
1097 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
1103 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
H A DConstantFolding.cpp808 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
874 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
970 if (SrcElemTy == InnermostGEP->getSourceElementType() && in SymbolicallyEvaluateGEP()
1014 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp677 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
678 GEPR->getSourceElementType())) in cmpGEPs()
H A DValueMapper.cpp472 NewSrcTy = TypeMapper->remapType(GEPO->getSourceElementType()); in mapValue()
923 TypeMapper->remapType(GEP->getSourceElementType())); in remapInstruction()
H A DEvaluator.cpp414 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp303 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
H A DStraightLineStrengthReduce.cpp278 return TTI->getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(), in isGEPFoldable()
H A DInferAddressSpaces.cpp488 GEP->getSourceElementType(), NewPointerOperands[0], in cloneInstructionWithNewAddressSpace()
H A DScalarizer.cpp597 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1557 Type *GEPEltType = GEP.getSourceElementType(); in visitGetElementPtrInst()
1664 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
1825 Src->getSourceElementType(), Src->getOperand(0), Indices, in visitGetElementPtrInst()
1827 : GetElementPtrInst::Create(Src->getSourceElementType(), in visitGetElementPtrInst()
H A DInstCombinePHI.cpp479 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base, in FoldPHIArgGEPIntoPHI()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp286 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()
1041 Type *src_elem_ty = gep_inst->getSourceElementType(); in Interpret()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h800 return static_cast<T *>(this)->getGEPCost(GEP->getSourceElementType(), in getUserCost()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1018 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices); in computePolynomialFromPointer()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DEfficiencySanitizer.cpp739 Type *SourceTy = GepInst->getSourceElementType(); in instrumentGetElementPtr()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp172 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); in doPromotion()

12