reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/ScalarEvolutionExpressions.h
  314       if (isAffine()) return getOperand(1);
lib/Analysis/DependenceAnalysis.cpp
 1028     if (AddRec->isAffine()) {
 1050       if (AddRec->isAffine()) {
 3297   if (!SrcAR || !DstAR || !SrcAR->isAffine() || !DstAR->isAffine())
 3297   if (!SrcAR || !DstAR || !SrcAR->isAffine() || !DstAR->isAffine())
lib/Analysis/IVUsers.cpp
   66       return AR->isAffine() ||
lib/Analysis/Loads.cpp
  219   if (!AddRec || AddRec->getLoop() != L || !AddRec->isAffine())
lib/Analysis/LoopAccessAnalysis.cpp
  636   return AR->isAffine();
lib/Analysis/LoopCacheAnalysis.cpp
   77   if (!AR || !AR->isAffine())
  421   if (!AR->isAffine())
lib/Analysis/ScalarEvolution.cpp
  974     if (!Numerator->isAffine())
 1688     if (AR->isAffine()) {
 2032     if (AR->isAffine()) {
 4415     if (Expr->getLoop() == L && Expr->isAffine())
 4435   if (!AR->isAffine())
 5676     if (AddRec->isAffine()) {
 7537   if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) ||
 8744   if (!AddRec->isAffine())
 9886     if (!LAR->isAffine() || !MAR->isAffine())
 9886     if (!LAR->isAffine() || !MAR->isAffine())
10161   if (!LAR->isAffine() || !RAR->isAffine())
10161   if (!LAR->isAffine() || !RAR->isAffine())
10599   if (!IV || IV->getLoop() != L || !IV->isAffine())
10739   if (!IV || IV->getLoop() != L || !IV->isAffine())
10829   if (isAffine()) {
11218     if (!AR->isAffine())
12133     if (AR && AR->getLoop() == L && AR->isAffine()) {
12149     if (AR && AR->getLoop() == L && AR->isAffine()) {
lib/Analysis/ScalarEvolutionExpander.cpp
 1458     assert(S->isAffine() && "Can't linearly scale non-affine recurrences.");
 1596   if (S->isAffine() && S->getOperand(1)->isOne()) {
 1606   if (S->isAffine())    // {0,+,F} --> i*F
 2240   assert(AR->isAffine() && "Cannot generate RT check for "
 2412       if (!AR->isAffine() && !SE.dominates(Step, AR->getLoop()->getHeader())) {
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  165       if (!LSCEVAddRec || !LSCEVAddRec->isAffine())
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  740         if (!LSCEVAddRec || !LSCEVAddRec->isAffine())
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1930   if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine())
 1952   if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine())
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  331   if (!BasePtrSCEV->isAffine())
lib/Transforms/Scalar/IndVarSimplify.cpp
 2228   if (!AR || AR->getLoop() != L || !AR->isAffine())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  363       IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine();
  844   if (!IndVarBase->isAffine()) {
 1595   if (!IndVar->isAffine())
lib/Transforms/Scalar/LoopFuse.cpp
  856         if (!UseMax || !Pos || !Expr->isAffine()) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  502   if (!StoreEv || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine())
  561     if (!LoadEv || LoadEv->getLoop() != CurLoop || !LoadEv->isAffine())
  822   if (!Ev || Ev->getLoop() != CurLoop || !Ev->isAffine())
 2054   if (!ScevForSrcA->isAffine() || !ScevForSrcB->isAffine() ||
 2054   if (!ScevForSrcA->isAffine() || !ScevForSrcB->isAffine() ||
lib/Transforms/Scalar/LoopInterchange.cpp
  309     if (!AddRec || !AddRec->isAffine())
lib/Transforms/Scalar/LoopPredication.cpp
  686   if (!RangeCheckIV->isAffine()) {
  869   if (!Result->IV->isAffine()) {
lib/Transforms/Scalar/LoopRerollPass.cpp
  586       if (!PHISCEV->isAffine())
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  408     if (!AR->getStart()->isZero() && AR->isAffine()) {
  691     if ((IgnoreSignificantBits || isAddRecSExtable(AR, SE)) && AR->isAffine()) {
 1285     if (!AR->isAffine() || !isa<SCEVConstant>(AR->getOperand(1))) {
 2302   if (!AR || !AR->isAffine() ||
 3504     if (AR->getStart()->isZero() || !AR->isAffine())
lib/Transforms/Utils/LoopUnrollPeel.cpp
  222     if (!LeftAR->isAffine() || LeftAR->getLoop() != &L ||
tools/polly/lib/Support/SCEVAffinator.cpp
  388   assert(Expr->isAffine() && "Only affine AddRecurrences allowed");
tools/polly/lib/Support/SCEVValidator.cpp
  228     if (!Expr->isAffine()) {
unittests/Analysis/ScalarEvolutionTest.cpp
 1189   EXPECT_TRUE(AR->isAffine());
 1782       EXPECT_FALSE(AR->isAffine());
 1826       EXPECT_FALSE(AR->isAffine());
 1881       EXPECT_FALSE(AR->isAffine());