Lines Matching full:duplicate
1 //===-- TailDuplicator.cpp - Duplicate blocks into predecessors' tails ---===//
121 /// Tail duplicate the block and cleanup.
223 /// through. Tail-duplicate their instructions into their predecessors to
333 /// Duplicate a TailBB instruction to PredBB and update
340 MachineInstr *NewMI = TII->duplicate(*MI, MF);
447 // There could be duplicate phi source entries. FIXME: Should sdisel
468 // If we didn't duplicate a bb into a particular predecessor, we
505 /// Determine if it is profitable to duplicate this block.
509 // Only duplicate blocks that end with unconditional branches.
513 // Don't try to tail-duplicate single-block loops.
517 // Set the limit on the cost to duplicate. When optimizing for size,
518 // duplicate only one, because one branch instruction can be eliminated to
554 // Do not duplicate 'return' instructions if this is a pre-regalloc run.
720 /// If it is profitable, duplicate TailBB's contents in each
734 // Iterate through all the unique predecessors and tail-duplicate this
757 // Don't duplicate into a fall-through predecessor (at least for now).
868 // if we duplicate 2 into 1 but not into 3, we end up with