Searched refs:isInBounds (Results 1 – 16 of 16) sorted by relevance
128 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()131 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
409 bool isInBounds = cast<GEPOperator>(GEP)->isInBounds(); in EmitGEPOffset() local435 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); in EmitGEPOffset()446 GEP->getName()+".idx", isInBounds /*NUW*/); in EmitGEPOffset()
853 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()
203 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()
153 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
1361 Value *NGEP = cast<GEPOperator>(GEP)->isInBounds() ? in commonPointerCastTransforms()
243 bool isInBounds() const { in isInBounds() function
516 bool isInBounds() const;
413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
2959 if (GEP->isInBounds()) in createNodeForPHI()3033 bool isInBounds = GEP->isInBounds(); in createNodeForGEP() local3063 isInBounds ? SCEV::FlagNSW : in createNodeForGEP()3076 isInBounds ? SCEV::FlagNSW : SCEV::FlagAnyWrap); in createNodeForGEP()
842 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()
1153 bool GetElementPtrInst::isInBounds() const { in isInBounds() function in GetElementPtrInst1154 return cast<GEPOperator>(this)->isInBounds(); in isInBounds()
674 if (GEP->isInBounds()) in WriteOptimizationInfo()
2235 return (inBounds && cast<GEPOperator>(CE)->isInBounds()) ? in ConstantFoldGetElementPtrImpl()
856 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()990 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()
2155 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()2414 InstResult = cast<GEPOperator>(GEP)->isInBounds() ? in EvaluateFunction()