Lines Matching refs:rewrite
271 bool rewrite(MachineFunction &MF);
310 // - A function "rewrite", that given the cell map after propagation,
311 // could rewrite instruction MI in a more beneficial form. Return
321 virtual bool rewrite(MachineInstr &MI, const CellMap &Inputs) = 0;
959 bool MachineConstPropagator::rewrite(MachineFunction &MF) {
975 // traversal/rewrite will update block successors, so it's safer
999 Changed |= MCE.rewrite(MI, Cells);
1002 // The rewriting could rewrite PHI nodes to non-PHI nodes, causing
1068 bool Changed = rewrite(MF);
1853 bool rewrite(MachineInstr &MI, const CellMap &Inputs) override;
2329 bool HexagonConstEvaluator::rewrite(MachineInstr &MI, const CellMap &Inputs) {
2353 // a register that is not compile-time constant), then try to rewrite