mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Remove non-DebugLoc versions of BuildMI.
"I got blisters on my fingers." llvm-svn: 64439
This commit is contained in:
parent
329e01b91b
commit
715b86151d
@ -119,15 +119,6 @@ inline MachineInstrBuilder BuildMI(MachineFunction &MF,
|
||||
/// instruction before the given position in the given MachineBasicBlock, and
|
||||
/// sets up the first operand as a destination virtual register.
|
||||
///
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
MachineBasicBlock::iterator I,
|
||||
const TargetInstrDesc &TID,
|
||||
unsigned DestReg) {
|
||||
MachineInstr *MI =
|
||||
BB.getParent()->CreateMachineInstr(TID, DebugLoc::getUnknownLoc());
|
||||
BB.insert(I, MI);
|
||||
return MachineInstrBuilder(MI).addReg(DestReg, true);
|
||||
}
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
MachineBasicBlock::iterator I,
|
||||
DebugLoc DL,
|
||||
@ -142,14 +133,6 @@ inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
/// instruction before the given position in the given MachineBasicBlock, and
|
||||
/// does NOT take a destination register.
|
||||
///
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
MachineBasicBlock::iterator I,
|
||||
const TargetInstrDesc &TID) {
|
||||
MachineInstr *MI =
|
||||
BB.getParent()->CreateMachineInstr(TID, DebugLoc::getUnknownLoc());
|
||||
BB.insert(I, MI);
|
||||
return MachineInstrBuilder(MI);
|
||||
}
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
MachineBasicBlock::iterator I,
|
||||
DebugLoc DL,
|
||||
@ -163,10 +146,6 @@ inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
|
||||
/// instruction at the end of the given MachineBasicBlock, and does NOT take a
|
||||
/// destination register.
|
||||
///
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB,
|
||||
const TargetInstrDesc &TID) {
|
||||
return BuildMI(*BB, BB->end(), TID);
|
||||
}
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB,
|
||||
DebugLoc DL,
|
||||
const TargetInstrDesc &TID) {
|
||||
@ -177,11 +156,6 @@ inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB,
|
||||
/// instruction at the end of the given MachineBasicBlock, and sets up the first
|
||||
/// operand as a destination virtual register.
|
||||
///
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB,
|
||||
const TargetInstrDesc &TID,
|
||||
unsigned DestReg) {
|
||||
return BuildMI(*BB, BB->end(), TID, DestReg);
|
||||
}
|
||||
inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB,
|
||||
DebugLoc DL,
|
||||
const TargetInstrDesc &TID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user