File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ class SSAIfConv {
163163 void rewritePHIOperands ();
164164
165165public:
166- // / runOnMachineFunction - Initialize per-function data structures.
167- void runOnMachineFunction (MachineFunction &MF) {
166+ // / init - Initialize per-function data structures.
167+ void init (MachineFunction &MF) {
168168 TII = MF.getSubtarget ().getInstrInfo ();
169169 TRI = MF.getSubtarget ().getRegisterInfo ();
170170 MRI = &MF.getRegInfo ();
@@ -1097,7 +1097,7 @@ bool EarlyIfConverter::runOnMachineFunction(MachineFunction &MF) {
10971097 MinInstr = nullptr ;
10981098
10991099 bool Changed = false ;
1100- IfConv.runOnMachineFunction (MF);
1100+ IfConv.init (MF);
11011101
11021102 // Visit blocks in dominator tree post-order. The post-order enables nested
11031103 // if-conversion in a single pass. The tryConvertIf() function may erase
@@ -1232,7 +1232,7 @@ bool EarlyIfPredicator::runOnMachineFunction(MachineFunction &MF) {
12321232 MBPI = &getAnalysis<MachineBranchProbabilityInfoWrapperPass>().getMBPI ();
12331233
12341234 bool Changed = false ;
1235- IfConv.runOnMachineFunction (MF);
1235+ IfConv.init (MF);
12361236
12371237 // Visit blocks in dominator tree post-order. The post-order enables nested
12381238 // if-conversion in a single pass. The tryConvertIf() function may erase
You can’t perform that action at this time.
0 commit comments