Home
last modified time | relevance | path

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

12

/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/include/llvm/Transforms/Utils/
DLocal.h195 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions; variable
226 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/);
237 GEP->getName()+".idx", isInBounds /*NUW*/);
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp130 NewGEPI->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
138 GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
DNVPTXGenericToNVVM.cpp336 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
/external/chromium_org/third_party/WebKit/Source/wtf/
DStdLibExtras.h127 ASSERT(isInBounds<To>(value)); in safeCast()
DCheckedArithmetic.h171 template <typename Target, typename Source> static inline bool isInBounds(Source value)
438 if (!isInBounds<T>(value))
453 if (!isInBounds<T>(rhs.m_value))
462 if (!isInBounds<T>(rhs.m_value))
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp564 GEP->isInBounds()); in Extract()
577 GEP->isInBounds()) in Find()
618 if (!GEP->isInBounds()) in convertInBoundsZExtToSExt()
DScalarizer.cpp450 if (GEPI.isInBounds()) in visitGetElementPtrInst()
/external/chromium_org/third_party/WebKit/Source/platform/
DLayoutUnit.h210 static bool isInBounds(int value) in isInBounds() function
214 static bool isInBounds(unsigned value) in isInBounds() function
218 static bool isInBounds(double value) in isInBounds() function
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp140 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()
143 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1475 return (GEP.isInBounds() && Src->isInBounds()) ? in visitGetElementPtrInst()
1527 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
1562 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
1580 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
1614 Value *NewGEP = GEP.isInBounds() && NSW ? in visitGetElementPtrInst()
1657 Value *NewGEP = GEP.isInBounds() && NSW ? in visitGetElementPtrInst()
1711 Value *NGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
DInstCombineCompares.cpp223 if (!GEP->isInBounds() && !DL) in FoldCmpLoadFromIndexedGlobal()
390 if (!GEP->isInBounds()) { in FoldCmpLoadFromIndexedGlobal()
621 if (DL && PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp()
654 if (DL && GEPLHS->isInBounds() && GEPRHS->isInBounds() && in FoldGEPICmp()
694 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
DInstCombinePHI.cpp155 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
DInstCombineVectorOps.cpp736 GEP->setIsInBounds(cast<GetElementPtrInst>(I)->isInBounds()); in BuildNew()
/external/llvm/lib/IR/
DValue.cpp400 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
450 if (!GEP->isInBounds()) in stripAndAccumulateInBoundsConstantOffsets()
DConstants.cpp1183 cast<GEPOperator>(this)->isInBounds()); in getWithOperands()
2863 if (cast<GEPOperator>(this)->isInBounds()) in getAsInstruction()
DInstructions.cpp1439 bool GetElementPtrInst::isInBounds() const { in isInBounds() function in GetElementPtrInst
1440 return cast<GEPOperator>(this)->isInBounds(); in isInBounds()
/external/llvm/include/llvm/IR/
DOperator.h377 bool isInBounds() const { in isInBounds() function
/external/llvm/lib/Analysis/
DPHITransAddr.cpp411 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DInstructionSimplify.cpp612 if ((!AllowNonInbounds && !GEP->isInBounds()) || in stripAndComputeConstantOffsets()
2579 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600KernelParameters.cpp270 GEP2->setIsInBounds(GEP->isInBounds()); in Propagate()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp270 GEP2->setIsInBounds(GEP->isInBounds()); in Propagate()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp325 if (DL && I.isInBounds()) { in visitGetElementPtr()
957 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp328 if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds()) in CleanupConstantGlobalUsers()
2077 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
2405 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1108 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
1262 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()

12