Home
last modified time | relevance | path

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

12

/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/llvm/include/llvm/Transforms/Utils/
DLocal.h201 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/
DNVPTXFavorNonGenericAddrSpaces.cpp166 NewGEP->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
177 Indices, GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
DNVPTXGenericToNVVM.cpp341 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp422 IndexExprs, GEP->isInBounds()); in tryReassociateGEPAtIndex()
466 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.cpp533 IndexExprs, GEP->isInBounds()); in allocateCandidatesAndFindBasisForGEP()
653 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
DScalarizer.cpp461 if (GEPI.isInBounds()) in visitGetElementPtrInst()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp139 EXPECT_FALSE(this->clone(GEP)->isInBounds()); in TEST_F()
142 EXPECT_TRUE(this->clone(GEP)->isInBounds()); in TEST_F()
/external/llvm/lib/IR/
DValue.cpp446 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
496 if (!GEP->isInBounds()) in stripAndAccumulateInBoundsConstantOffsets()
DConstants.cpp1223 GEPO->isInBounds(), OnlyIfReducedTy); in getWithOperands()
3014 if (GO->isInBounds()) in getAsInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1555 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()
DInstCombineCompares.cpp392 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()
DInstCombinePHI.cpp154 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
DInstCombineLoadStoreAlloca.cpp726 if (Idx+1 != GEPI->getNumOperands() && !GEPI->isInBounds()) in canReplaceGEPIdxWithZero()
DInstCombineVectorOps.cpp689 GEP->setIsInBounds(cast<GetElementPtrInst>(I)->isInBounds()); in buildNew()
/external/llvm/include/llvm/IR/
DOperator.h379 bool isInBounds() const { in isInBounds() function
/external/llvm/lib/Analysis/
DPHITransAddr.cpp413 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DInlineCost.cpp344 if (I.isInBounds()) { in visitGetElementPtr()
1041 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
DLoopAccessAnalysis.cpp769 return GEP->isInBounds(); in isInBoundsGep()
790 if (!GEP || !GEP->isInBounds()) in isNoWrapAddRec()
DInstructionSimplify.cpp616 if ((!AllowNonInbounds && !GEP->isInBounds()) || in stripAndComputeConstantOffsets()
3046 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp270 GEP2->setIsInBounds(GEP->isInBounds()); in Propagate()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp128 return GEP->isInBounds(); in IsPtrInBounds()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp332 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/
DBitcodeWriter.cpp1667 if (GO->isInBounds()) in WriteConstants()
1842 Vals.push_back(GEPInst.isInBounds()); in WriteInstruction()

12