Home
last modified time | relevance | path

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

123

/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java87 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundIntegralDoubleToInt()
92 assertTrue(isInBounds); in testRoundIntegralDoubleToInt()
94 assertFalse(isInBounds); in testRoundIntegralDoubleToInt()
105 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundFractionalDoubleToInt()
110 assertTrue(isInBounds); in testRoundFractionalDoubleToInt()
112 assertFalse(isInBounds); in testRoundFractionalDoubleToInt()
122 boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 in testRoundExactIntegralDoubleToInt()
127 assertTrue(isInBounds); in testRoundExactIntegralDoubleToInt()
129 assertFalse(isInBounds); in testRoundExactIntegralDoubleToInt()
173 boolean isInBounds = expected.compareTo(MAX_LONG_AS_BIG_DECIMAL) <= 0 in testRoundIntegralDoubleToLong()
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dfunction-templates-original.cc8 bool isInBounds(From value) { in isInBounds() function
14 if (!isInBounds<To>(value)) in safeCast()
26 if (!isInBounds<T>(rhs.m_value)) in Checked()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h196 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions; variable
227 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/);
238 GEP->getName()+".idx", isInBounds /*NUW*/);
/external/swiftshader/third_party/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/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp169 NewGEP->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
180 Indices, GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
DNVPTXGenericToNVVM.cpp337 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
DNVPTXInferAddressSpaces.cpp321 NewGEP->setIsInBounds(GEP->isInBounds()); in cloneInstructionWithNewAddressSpace()
/external/swiftshader/third_party/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.cpp904 return (GEP.isInBounds() && Src->isInBounds()) ? in visitGetElementPtrInst()
937 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
967 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
1026 Value *NewGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
1078 Value *NGEP = GEP.isInBounds() ? in visitGetElementPtrInst()
DInstCombineCompares.cpp204 if (!GEP->isInBounds() && TD == 0) return 0; in FoldCmpLoadFromIndexedGlobal()
365 if (!GEP->isInBounds() && in FoldCmpLoadFromIndexedGlobal()
574 if (TD && PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp()
633 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp391 IndexExprs, GEP->isInBounds()); in tryReassociateGEPAtIndex()
435 NewGEP->setIsInBounds(GEP->isInBounds()); in tryReassociateGEPAtIndex()
DSeparateConstOffsetFromGEP.cpp697 GEP->isInBounds()); in Extract()
713 GEP->isInBounds()) in Find()
968 bool GEPWasInBounds = GEP->isInBounds(); in splitGEP()
DStraightLineStrengthReduce.cpp504 IndexExprs, GEP->isInBounds()); in allocateCandidatesAndFindBasisForGEP()
634 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp138 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()
141 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DEvaluator.cpp130 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
316 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1552 return GEP.isInBounds() && Src->isInBounds() in visitGetElementPtrInst()
1636 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
1672 Value *NewGEP = GEP.isInBounds() in visitGetElementPtrInst()
1693 GEP.isInBounds() in visitGetElementPtrInst()
1728 GEP.isInBounds() && NSW in visitGetElementPtrInst()
1770 Value *NewGEP = GEP.isInBounds() && NSW in visitGetElementPtrInst()
1837 GEP.isInBounds() in visitGetElementPtrInst()
DInstCombineCompares.cpp399 if (!GEP->isInBounds()) { in FoldCmpLoadFromIndexedGlobal()
655 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset()
858 if (!GEP->isInBounds()) in getAsConstantIndexedAddress()
939 if (PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp()
972 if (GEPLHS->isInBounds() && GEPRHS->isInBounds() && in FoldGEPICmp()
1013 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h243 bool isInBounds() const { in isInBounds() function
/external/llvm/lib/IR/
DValue.cpp454 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
510 if (!GEP->isInBounds()) in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/include/llvm/IR/
DOperator.h379 bool isInBounds() const { in isInBounds() function
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPHITransAddr.cpp413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp414 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DInlineCost.cpp390 if (I.isInBounds()) { in visitGetElementPtr()
1167 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp128 return GEP->isInBounds(); in IsPtrInBounds()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp844 cast<GEPOperator>(this)->isInBounds()); in getWithOperandReplaced()
848 cast<GEPOperator>(this)->isInBounds()); in getWithOperandReplaced()
896 cast<GEPOperator>(this)->isInBounds()); in getWithOperands()
2097 cast<GEPOperator>(this)->isInBounds()); in replaceUsesOfWithOnConstant()

123