Home
last modified time | relevance | path

Searched refs:IVOperIdx (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp151 unsigned IVOperIdx = 0; in eliminateIVComparison() local
156 IVOperIdx = 1; in eliminateIVComparison()
161 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); in eliminateIVComparison()
162 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); in eliminateIVComparison()
194 ICmp->getOperand(S == InvariantLHS ? IVOperIdx : (1 - IVOperIdx)); in eliminateIVComparison()
198 ICmp->getOperand(S == InvariantRHS ? IVOperIdx : (1 - IVOperIdx)); in eliminateIVComparison()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp167 unsigned IVOperIdx = 0; in makeIVComparisonInvariant() local
172 IVOperIdx = 1; in makeIVComparisonInvariant()
179 const SCEV *S = SE->getSCEVAtScope(ICmp->getOperand(IVOperIdx), ICmpLoop); in makeIVComparisonInvariant()
180 const SCEV *X = SE->getSCEVAtScope(ICmp->getOperand(1 - IVOperIdx), ICmpLoop); in makeIVComparisonInvariant()
197 CheapExpansions[S] = ICmp->getOperand(IVOperIdx); in makeIVComparisonInvariant()
198 CheapExpansions[X] = ICmp->getOperand(1 - IVOperIdx); in makeIVComparisonInvariant()
236 unsigned IVOperIdx = 0; in eliminateIVComparison() local
242 IVOperIdx = 1; in eliminateIVComparison()
249 const SCEV *S = SE->getSCEVAtScope(ICmp->getOperand(IVOperIdx), ICmpLoop); in eliminateIVComparison()
250 const SCEV *X = SE->getSCEVAtScope(ICmp->getOperand(1 - IVOperIdx), ICmpLoop); in eliminateIVComparison()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyIndVar.cpp154 unsigned IVOperIdx = 0; in eliminateIVComparison() local
159 IVOperIdx = 1; in eliminateIVComparison()
164 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); in eliminateIVComparison()
165 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); in eliminateIVComparison()