Lines Matching defs:rewrite
270 bool rewrite(MachineFunction &MF);
309 // - A function "rewrite", that given the cell map after propagation,
310 // could rewrite instruction MI in a more beneficial form. Return
320 virtual bool rewrite(MachineInstr &MI, const CellMap &Inputs) = 0;
962 bool MachineConstPropagator::rewrite(MachineFunction &MF) {
978 // traversal/rewrite will update block successors, so it's safer
1001 Changed |= MCE.rewrite(MI, Cells);
1004 // The rewriting could rewrite PHI nodes to non-PHI nodes, causing
1066 bool Changed = rewrite(MF);
1851 bool rewrite(MachineInstr &MI, const CellMap &Inputs) override;
2327 bool HexagonConstEvaluator::rewrite(MachineInstr &MI, const CellMap &Inputs) {
2351 // a register that is not compile-time constant), then try to rewrite