Lines Matching full:duplicate
1 //===- TailDuplicator.cpp - Duplicate blocks into predecessors' tails -----===//
158 /// Tail duplicate the block and cleanup.
277 /// through. Tail-duplicate their instructions into their predecessors to
388 /// Duplicate a TailBB instruction to PredBB and update
402 MachineInstr &NewMI = TII->duplicate(*PredBB, PredBB->end(), *MI); in duplicateInstruction()
507 // There could be duplicate phi source entries. FIXME: Should sdisel in updateSuccessorsPHIs()
528 // If we didn't duplicate a bb into a particular predecessor, we in updateSuccessorsPHIs()
564 /// Determine if it is profitable to duplicate this block.
573 // Don't try to tail-duplicate single-block loops. in shouldTailDuplicate()
585 // Set the limit on the cost to duplicate. When optimizing for size, in shouldTailDuplicate()
586 // duplicate only one, because one branch instruction can be eliminated to in shouldTailDuplicate()
599 // duplicate it. in shouldTailDuplicate()
640 // Do not duplicate 'return' instructions if this is a pre-regalloc run. in shouldTailDuplicate()
835 /// If it is profitable, duplicate TailBB's contents in each
861 // Iterate through all the unique predecessors and tail-duplicate this in tailDuplicate()
878 // Don't duplicate into a fall-through predecessor (at least for now). in tailDuplicate()
1020 // if we duplicate 2 into 1 but not into 3, we end up with in tailDuplicate()