Home
last modified time | relevance | path

Searched refs:isInBounds (Results 1 – 16 of 16) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp128 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()
131 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp409 bool isInBounds = cast<GEPOperator>(GEP)->isInBounds(); in EmitGEPOffset() local
435 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); in EmitGEPOffset()
446 GEP->getName()+".idx", isInBounds /*NUW*/); in EmitGEPOffset()
DInstructionCombining.cpp853 return (GEP.isInBounds() && Src->isInBounds()) ? in visitGetElementPtrInst()
888 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
918 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
977 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
1029 Value *NGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
DInstCombineCompares.cpp203 if (!GEP->isInBounds() && TD == 0) return 0; in FoldCmpLoadFromIndexedGlobal()
364 if (!GEP->isInBounds() && in FoldCmpLoadFromIndexedGlobal()
573 if (TD && PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp()
632 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
DInstCombinePHI.cpp153 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
DInstCombineCasts.cpp1361 Value *NGEP = cast<GEPOperator>(GEP)->isInBounds() ? in commonPointerCastTransforms()
/external/llvm/include/llvm/
DOperator.h243 bool isInBounds() const { in isInBounds() function
DInstructions.h516 bool isInBounds() const;
/external/llvm/lib/Analysis/
DPHITransAddr.cpp413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DScalarEvolution.cpp2959 if (GEP->isInBounds()) in createNodeForPHI()
3033 bool isInBounds = GEP->isInBounds(); in createNodeForGEP() local
3063 isInBounds ? SCEV::FlagNSW : in createNodeForGEP()
3076 isInBounds ? SCEV::FlagNSW : SCEV::FlagAnyWrap); in createNodeForGEP()
/external/llvm/lib/VMCore/
DConstants.cpp842 return cast<GEPOperator>(this)->isInBounds() ? in getWithOperandReplaced()
846 return cast<GEPOperator>(this)->isInBounds() ? in getWithOperandReplaced()
894 return cast<GEPOperator>(this)->isInBounds() ? in getWithOperands()
2097 cast<GEPOperator>(this)->isInBounds()); in replaceUsesOfWithOnConstant()
DInstructions.cpp1153 bool GetElementPtrInst::isInBounds() const { in isInBounds() function in GetElementPtrInst
1154 return cast<GEPOperator>(this)->isInBounds(); in isInBounds()
DAsmWriter.cpp674 if (GEP->isInBounds()) in WriteOptimizationInfo()
DConstantFold.cpp2235 return (inBounds && cast<GEPOperator>(CE)->isInBounds()) ? in ConstantFoldGetElementPtrImpl()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp856 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
990 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2155 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
2414 InstResult = cast<GEPOperator>(GEP)->isInBounds() ? in EvaluateFunction()