Home
last modified time | relevance | path

Searched refs:isAffine (Results 1 – 25 of 44) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoopDependenceAnalysis.cpp153 bool LoopDependenceAnalysis::isAffine(const SCEV *S) const { in isAffine() function in LoopDependenceAnalysis
155 return isLoopInvariant(S) || (rec && rec->isAffine()); in isAffine()
202 if (!isAffine(A) || !isAffine(B)) { in analyseSubscript()
DIVUsers.cpp55 return AR->isAffine() || in isInteresting()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java128 assertThat(matrix.isAffine()) in testIsAffine()
132 assertThat(matrix.isAffine()) in testIsAffine()
135 assertThat(matrix.isAffine()) in testIsAffine()
138 assertThat(matrix.isAffine()) in testIsAffine()
142 assertThat(matrix.isAffine()) in testIsAffine()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp285 if (StoreEv == 0 || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in processLoopStore()
316 if (LoadEv && LoadEv->getLoop() == CurLoop && LoadEv->isAffine() && in processLoopStore()
342 if (Ev == 0 || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
DIndVarSimplify.cpp615 return AR->isAffine(); in isSafe()
1462 if (!AR || AR->getLoop() != L || !AR->isAffine()) in FindLoopCounter()
1565 assert(AR && AR->getLoop() == L && AR->isAffine() && "bad loop counter"); in LinearFunctionTestReplace()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopDependenceAnalysis.h81 bool isAffine(const SCEV*) const;
DScalarEvolutionExpressions.h310 if (isAffine()) return getOperand(1); in getStepRecurrence()
318 bool isAffine() const { in isAffine() function
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java79 protected boolean isAffine() { in isAffine() method in ShadowMatrix
80 return simpleMatrix.isAffine(); in isAffine()
434 public boolean isAffine() { in isAffine() method in ShadowMatrix.SimpleMatrix
/external/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp132 if (AR->isAffine() && in TransformImpl()
DIVUsers.cpp60 return AR->isAffine() || in isInteresting()
DScalarEvolutionExpander.cpp1375 assert(S->isAffine() && "Can't linearly scale non-affine recurrences."); in expandAddRecExprLiterally()
1498 if (S->isAffine() && S->getOperand(1)->isOne()) { in visitAddRecExpr()
1508 if (S->isAffine()) // {0,+,F} --> i*F in visitAddRecExpr()
2034 assert(AR->isAffine() && "Cannot generate RT check for " in generateOverflowCheck()
2194 if (!AR->isAffine() && !SE.dominates(Step, AR->getLoop()->getHeader())) { in follow()
DScalarEvolution.cpp786 if (!Numerator->isAffine()) in visitAddRecExpr()
1448 if (AR->isAffine()) { in getZeroExtendExpr()
1675 if (AR->isAffine()) { in getSignExtendExpr()
3741 if (Expr->getLoop() == L && Expr->isAffine()) in visitAddRecExpr()
3756 if (!AR->isAffine()) in proveNoWrapViaConstantRanges()
4543 if (AddRec->isAffine()) { in getRange()
6114 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in computeLoadConstantCompareExitLimit()
7085 if (!AddRec->isAffine()) in howFarToZero()
8251 if (!LAR->isAffine() || !MAR->isAffine()) in computeConstantDifference()
8443 if (!LAR->isAffine() || !RAR->isAffine()) in IsKnownPredicateViaAddRecStart()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp531 if (!RangeCheckIV->isAffine()) { in widenICmpRangeCheck()
664 if (!Result->IV->isAffine()) { in parseLoopLatchICmp()
DLoopIdiomRecognize.cpp415 if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in isLegalStore()
474 if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine()) in isLegalStore()
732 if (!Ev || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
DInductiveRangeCheckElimination.cpp400 IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine(); in extractRangeChecksFromCond()
932 if (!IndVarBase->isAffine()) { in parseLoopStructure()
1679 if (!IndVar->isAffine()) in computeSafeIterationSpace()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h308 if (isAffine()) return getOperand(1); in getStepRecurrence()
316 bool isAffine() const { in isAffine() function
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h298 if (isAffine()) return getOperand(1); in getStepRecurrence()
306 bool isAffine() const { in isAffine() function
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp358 if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in isLegalStore()
411 if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine()) in isLegalStore()
663 if (!Ev || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
DInductiveRangeCheckElimination.cpp372 IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine(); in extractRangeChecksFromCond()
715 if (!AR->isAffine()) in parseLoopStructure()
1309 if (!IndVar->isAffine()) in computeSafeIterationSpace()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DIVUsers.cpp67 return AR->isAffine() || in isInteresting()
DScalarEvolutionExpander.cpp1439 assert(S->isAffine() && "Can't linearly scale non-affine recurrences."); in expandAddRecExprLiterally()
1566 if (S->isAffine() && S->getOperand(1)->isOne()) { in visitAddRecExpr()
1576 if (S->isAffine()) // {0,+,F} --> i*F in visitAddRecExpr()
2150 assert(AR->isAffine() && "Cannot generate RT check for " in generateOverflowCheck()
2322 if (!AR->isAffine() && !SE.dominates(Step, AR->getLoop()->getHeader())) { in follow()
DScalarEvolution.cpp944 if (!Numerator->isAffine()) in visitAddRecExpr()
1650 if (AR->isAffine()) { in getZeroExtendExpr()
1994 if (AR->isAffine()) { in getSignExtendExpr()
4393 if (Expr->getLoop() == L && Expr->isAffine()) in visitAddRecExpr()
4413 if (!AR->isAffine()) in proveNoWrapViaConstantRanges()
5657 if (AddRec->isAffine()) { in getRangeRef()
7472 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in computeLoadConstantCompareExitLimit()
8466 if (!AddRec->isAffine()) in howFarToZero()
9601 if (!LAR->isAffine() || !MAR->isAffine()) in computeConstantDifference()
9902 if (!LAR->isAffine() || !RAR->isAffine()) in IsKnownPredicateViaAddRecStart()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp304 if (!BasePtrSCEV->isAffine()) in runOnLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp201 if (!LeftAR->isAffine() || LeftAR->getLoop() != &L || in countToEliminateCompares()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp394 if (!BasePtrSCEV->isAffine()) in runOnLoop()

12