Searched refs:isInBounds (Results 1 – 20 of 20) sorted by relevance
76 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundIntegralDoubleToInt()81 assertTrue(isInBounds); in testRoundIntegralDoubleToInt()83 assertFalse(isInBounds); in testRoundIntegralDoubleToInt()93 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundFractionalDoubleToInt()98 assertTrue(isInBounds); in testRoundFractionalDoubleToInt()100 assertFalse(isInBounds); in testRoundFractionalDoubleToInt()109 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundExactIntegralDoubleToInt()114 assertTrue(isInBounds); in testRoundExactIntegralDoubleToInt()116 assertFalse(isInBounds); in testRoundExactIntegralDoubleToInt()156 boolean isInBounds = expected.compareTo(MAX_LONG_AS_BIG_DECIMAL) <= 0 in testRoundIntegralDoubleToLong()[all …]
130 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()133 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
420 bool isInBounds = cast<GEPOperator>(GEP)->isInBounds(); in EmitGEPOffset() local446 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); in EmitGEPOffset()457 GEP->getName()+".idx", isInBounds /*NUW*/); in EmitGEPOffset()
910 return (GEP.isInBounds() && Src->isInBounds()) ? in visitGetElementPtrInst()948 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()978 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()1037 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()1089 Value *NGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
204 if (!GEP->isInBounds() && TD == 0) return 0; in FoldCmpLoadFromIndexedGlobal()370 if (!GEP->isInBounds() && in FoldCmpLoadFromIndexedGlobal()587 if (TD && PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp()621 if (TD && GEPLHS->isInBounds() && GEPRHS->isInBounds() && in FoldGEPICmp()660 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
153 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
1357 Value *NGEP = cast<GEPOperator>(GEP)->isInBounds() ? in commonPointerCastTransforms()
266 bool isInBounds() const { in isInBounds() function
847 bool isInBounds() const;
306 if (TD && I.isInBounds()) { in visitGetElementPtr()781 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
412 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
713 if (!GEP->isInBounds() || !accumulateGEPOffset(TD, GEP, Offset)) in stripAndComputeConstantOffsets()2364 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
3073 if (GEP->isInBounds()) in createNodeForPHI()3147 bool isInBounds = GEP->isInBounds(); in createNodeForGEP() local3177 isInBounds ? SCEV::FlagNSW : in createNodeForGEP()3190 isInBounds ? SCEV::FlagNSW : SCEV::FlagAnyWrap); in createNodeForGEP()
355 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
1419 bool GetElementPtrInst::isInBounds() const { in isInBounds() function in GetElementPtrInst1420 return cast<GEPOperator>(this)->isInBounds(); in isInBounds()
692 if (GEP->isInBounds()) in WriteOptimizationInfo()
1972 cast<GEPOperator>(CE)->isInBounds()); in ConstantFoldGetElementPtrImpl()
1087 cast<GEPOperator>(this)->isInBounds()); in getWithOperands()
348 if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds()) in CleanupConstantGlobalUsers()2167 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()2474 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
924 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()1058 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()