/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/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 201 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions; variable 232 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 243 GEP->getName()+".idx", isInBounds /*NUW*/);
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 166 NewGEP->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP() 177 Indices, GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
|
D | NVPTXGenericToNVVM.cpp | 341 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 422 IndexExprs, GEP->isInBounds()); in tryReassociateGEPAtIndex() 466 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 | 533 IndexExprs, GEP->isInBounds()); in allocateCandidatesAndFindBasisForGEP() 653 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
|
D | Scalarizer.cpp | 461 if (GEPI.isInBounds()) in visitGetElementPtrInst()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 139 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F() 142 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
|
/external/llvm/lib/IR/ |
D | Value.cpp | 446 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets() 496 if (!GEP->isInBounds()) in stripAndAccumulateInBoundsConstantOffsets()
|
D | Constants.cpp | 1223 GEPO->isInBounds(), OnlyIfReducedTy); in getWithOperands() 3014 if (GO->isInBounds()) in getAsInstruction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1555 return GEP.isInBounds() && Src->isInBounds() in visitGetElementPtrInst() 1641 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst() 1677 Value *NewGEP = GEP.isInBounds() in visitGetElementPtrInst() 1698 GEP.isInBounds() in visitGetElementPtrInst() 1733 GEP.isInBounds() && NSW in visitGetElementPtrInst() 1775 Value *NewGEP = GEP.isInBounds() && NSW in visitGetElementPtrInst() 1842 GEP.isInBounds() in visitGetElementPtrInst()
|
D | InstCombineCompares.cpp | 392 if (!GEP->isInBounds()) { in FoldCmpLoadFromIndexedGlobal() 617 if (PtrBase == RHS && GEPLHS->isInBounds()) { in FoldGEPICmp() 650 if (GEPLHS->isInBounds() && GEPRHS->isInBounds() && in FoldGEPICmp() 690 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in FoldGEPICmp()
|
D | InstCombinePHI.cpp | 154 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
|
D | InstCombineLoadStoreAlloca.cpp | 726 if (Idx+1 != GEPI->getNumOperands() && !GEPI->isInBounds()) in canReplaceGEPIdxWithZero()
|
D | InstCombineVectorOps.cpp | 689 GEP->setIsInBounds(cast<GetElementPtrInst>(I)->isInBounds()); in buildNew()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 379 bool isInBounds() const { in isInBounds() function
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
|
D | InlineCost.cpp | 344 if (I.isInBounds()) { in visitGetElementPtr() 1041 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
|
D | LoopAccessAnalysis.cpp | 769 return GEP->isInBounds(); in isInBoundsGep() 790 if (!GEP || !GEP->isInBounds()) in isNoWrapAddRec()
|
D | InstructionSimplify.cpp | 616 if ((!AllowNonInbounds && !GEP->isInBounds()) || in stripAndComputeConstantOffsets() 3046 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 270 GEP2->setIsInBounds(GEP->isInBounds()); in Propagate()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 128 return GEP->isInBounds(); in IsPtrInBounds()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 332 if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds()) in CleanupConstantGlobalUsers() 2204 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit() 2541 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1667 if (GO->isInBounds()) in WriteConstants() 1842 Vals.push_back(GEPInst.isInBounds()); in WriteInstruction()
|