Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java76 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 …]
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp130 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()
133 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp420 bool isInBounds = cast<GEPOperator>(GEP)->isInBounds(); in EmitGEPOffset() local
446 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); in EmitGEPOffset()
457 GEP->getName()+".idx", isInBounds /*NUW*/); in EmitGEPOffset()
DInstructionCombining.cpp910 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()
DInstCombineCompares.cpp204 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()
DInstCombinePHI.cpp153 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
DInstCombineCasts.cpp1357 Value *NGEP = cast<GEPOperator>(GEP)->isInBounds() ? in commonPointerCastTransforms()
/external/llvm/include/llvm/
DOperator.h266 bool isInBounds() const { in isInBounds() function
DInstructions.h847 bool isInBounds() const;
/external/llvm/lib/Analysis/
DInlineCost.cpp306 if (TD && I.isInBounds()) { in visitGetElementPtr()
781 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
DPHITransAddr.cpp412 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DInstructionSimplify.cpp713 if (!GEP->isInBounds() || !accumulateGEPOffset(TD, GEP, Offset)) in stripAndComputeConstantOffsets()
2364 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
DScalarEvolution.cpp3073 if (GEP->isInBounds()) in createNodeForPHI()
3147 bool isInBounds = GEP->isInBounds(); in createNodeForGEP() local
3177 isInBounds ? SCEV::FlagNSW : in createNodeForGEP()
3190 isInBounds ? SCEV::FlagNSW : SCEV::FlagAnyWrap); in createNodeForGEP()
/external/llvm/lib/VMCore/
DValue.cpp355 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
DInstructions.cpp1419 bool GetElementPtrInst::isInBounds() const { in isInBounds() function in GetElementPtrInst
1420 return cast<GEPOperator>(this)->isInBounds(); in isInBounds()
DAsmWriter.cpp692 if (GEP->isInBounds()) in WriteOptimizationInfo()
DConstantFold.cpp1972 cast<GEPOperator>(CE)->isInBounds()); in ConstantFoldGetElementPtrImpl()
DConstants.cpp1087 cast<GEPOperator>(this)->isInBounds()); in getWithOperands()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp348 if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds()) in CleanupConstantGlobalUsers()
2167 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
2474 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp924 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
1058 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()