mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
CodeGen/LiveVariables: hoist out code in nested loops
This makes runOnMachineFunction vastly more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -175,6 +175,10 @@ private: // Intermediate data structures
|
||||
/// register which is used in a PHI node. We map that to the BB the vreg
|
||||
/// is coming from.
|
||||
void analyzePHINodes(const MachineFunction& Fn);
|
||||
|
||||
void runOnInstr(MachineInstr *MI, SmallVectorImpl<unsigned> &Defs);
|
||||
|
||||
void runOnBlock(MachineBasicBlock *MBB, unsigned NumRegs);
|
||||
public:
|
||||
|
||||
bool runOnMachineFunction(MachineFunction &MF) override;
|
||||
|
||||
Reference in New Issue
Block a user