/external/guava/guava-tests/test/com/google/common/math/ |
D | DoubleMathTest.java | 87 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/ |
D | function-templates-original.cc | 8 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/ |
D | Local.h | 196 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/ |
D | Cloning.cpp | 128 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F() 131 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 169 NewGEP->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP() 180 Indices, GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
|
D | NVPTXGenericToNVVM.cpp | 337 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
|
D | NVPTXInferAddressSpaces.cpp | 321 NewGEP->setIsInBounds(GEP->isInBounds()); in cloneInstructionWithNewAddressSpace()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 409 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()
|
D | InstructionCombining.cpp | 904 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()
|
D | InstCombineCompares.cpp | 204 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/ |
D | NaryReassociate.cpp | 391 IndexExprs, GEP->isInBounds()); in tryReassociateGEPAtIndex() 435 NewGEP->setIsInBounds(GEP->isInBounds()); in tryReassociateGEPAtIndex()
|
D | SeparateConstOffsetFromGEP.cpp | 697 GEP->isInBounds()); in Extract() 713 GEP->isInBounds()) in Find() 968 bool GEPWasInBounds = GEP->isInBounds(); in splitGEP()
|
D | StraightLineStrengthReduce.cpp | 504 IndexExprs, GEP->isInBounds()); in allocateCandidatesAndFindBasisForGEP() 634 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 138 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F() 141 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 130 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit() 316 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1552 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()
|
D | InstCombineCompares.cpp | 399 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/ |
D | Operator.h | 243 bool isInBounds() const { in isInBounds() function
|
/external/llvm/lib/IR/ |
D | Value.cpp | 454 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets() 510 if (!GEP->isInBounds()) in stripAndAccumulateInBoundsConstantOffsets()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 379 bool isInBounds() const { in isInBounds() function
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | PHITransAddr.cpp | 413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 414 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
|
D | InlineCost.cpp | 390 if (I.isInBounds()) { in visitGetElementPtr() 1167 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 128 return GEP->isInBounds(); in IsPtrInBounds()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 844 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()
|