19 #ifndef LLVM_CODEGEN_LOOPTRAVERSAL_H 20 #define LLVM_CODEGEN_LOOPTRAVERSAL_H 26 class MachineBasicBlock;
27 class MachineFunction;
70 bool PrimaryCompleted =
false;
73 unsigned IncomingProcessed = 0;
76 unsigned PrimaryIncoming = 0;
79 unsigned IncomingCompleted = 0;
93 bool PrimaryPass =
true;
100 : MBB(BB), PrimaryPass(Primary), IsDone(Done) {}
116 #endif // LLVM_CODEGEN_LOOPTRAVERSAL_H This class represents lattice values for constants.
SmallVector< TraversedMBBInfo, 4 > TraversalOrder
Identifies basic blocks that are part of loops and should to be visited twice and returns efficient t...
TraversalOrder traverse(MachineFunction &MF)
This class provides the basic blocks traversal order used by passes like ReachingDefAnalysis and Exec...
TraversedMBBInfo(MachineBasicBlock *BB=nullptr, bool Primary=true, bool Done=true)