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 {
163
163
void rewritePHIOperands ();
164
164
165
165
public:
166
- // / runOnMachineFunction - Initialize per-function data structures.
167
- void runOnMachineFunction (MachineFunction &MF) {
166
+ // / init - Initialize per-function data structures.
167
+ void init (MachineFunction &MF) {
168
168
TII = MF.getSubtarget ().getInstrInfo ();
169
169
TRI = MF.getSubtarget ().getRegisterInfo ();
170
170
MRI = &MF.getRegInfo ();
@@ -1097,7 +1097,7 @@ bool EarlyIfConverter::runOnMachineFunction(MachineFunction &MF) {
1097
1097
MinInstr = nullptr ;
1098
1098
1099
1099
bool Changed = false ;
1100
- IfConv.runOnMachineFunction (MF);
1100
+ IfConv.init (MF);
1101
1101
1102
1102
// Visit blocks in dominator tree post-order. The post-order enables nested
1103
1103
// if-conversion in a single pass. The tryConvertIf() function may erase
@@ -1232,7 +1232,7 @@ bool EarlyIfPredicator::runOnMachineFunction(MachineFunction &MF) {
1232
1232
MBPI = &getAnalysis<MachineBranchProbabilityInfoWrapperPass>().getMBPI ();
1233
1233
1234
1234
bool Changed = false ;
1235
- IfConv.runOnMachineFunction (MF);
1235
+ IfConv.init (MF);
1236
1236
1237
1237
// Visit blocks in dominator tree post-order. The post-order enables nested
1238
1238
// if-conversion in a single pass. The tryConvertIf() function may erase
You can’t perform that action at this time.
0 commit comments