Searched refs:InductionPHI (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopFlatten.cpp | 98 PHINode *&InductionPHI, Value *&Limit, BinaryOperator *&Increment, in findLoopComponents() argument 127 InductionPHI = nullptr; in findLoopComponents() 131 InductionPHI = &PHI; in findLoopComponents() 132 LLVM_DEBUG(dbgs() << "Found induction PHI: "; InductionPHI->dump()); in findLoopComponents() 136 if (!InductionPHI) { in findLoopComponents() 161 m_c_Add(m_Specific(InductionPHI), m_ConstantInt<1>()))) { in findLoopComponents() 166 m_c_Add(m_Specific(InductionPHI), m_ConstantInt<1>()))) { in findLoopComponents() 178 assert(InductionPHI->getNumIncomingValues() == 2); in findLoopComponents() 179 assert(InductionPHI->getIncomingValueForBlock(Latch) == Increment && in findLoopComponents() 183 InductionPHI->getIncomingValueForBlock(L->getLoopPreheader())); in findLoopComponents()
|
D | LoopInterchange.cpp | 1234 PHINode *InductionPHI = getInductionVariable(InnerLoop, SE); in transform() local 1235 if (!InductionPHI) { in transform() 1240 if (InductionPHI->getIncomingBlock(0) == InnerLoopPreHeader) in transform() 1241 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(1)); in transform() 1243 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(0)); in transform() 1246 if (&InductionPHI->getParent()->front() != InductionPHI) in transform() 1247 InductionPHI->moveBefore(&InductionPHI->getParent()->front()); in transform() 1259 auto MoveInstructions = [&i, &WorkList, this, InductionPHI, NewLatch]() { in transform() 1273 UserI->getParent() == NewLatch || UserI == InductionPHI) in transform() 1282 OpI == InductionPHI) in transform()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 1232 PHINode *InductionPHI = getInductionVariable(InnerLoop, SE); in transform() local 1233 if (!InductionPHI) { in transform() 1238 if (InductionPHI->getIncomingBlock(0) == InnerLoopPreHeader) in transform() 1239 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(1)); in transform() 1241 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(0)); in transform() 1244 if (&InductionPHI->getParent()->front() != InductionPHI) in transform() 1245 InductionPHI->moveBefore(&InductionPHI->getParent()->front()); in transform() 1257 auto MoveInstructions = [&i, &WorkList, this, InductionPHI, NewLatch]() { in transform() 1271 UserI->getParent() == NewLatch || UserI == InductionPHI) in transform() 1280 OpI == InductionPHI) in transform()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 1033 PHINode *InductionPHI = getInductionVariable(InnerLoop, SE); in transform() local 1034 if (!InductionPHI) { in transform() 1039 if (InductionPHI->getIncomingBlock(0) == InnerLoopPreHeader) in transform() 1040 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(1)); in transform() 1042 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(0)); in transform()
|