mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Remove non-DebugLoc versions of BuildMI.
"I got blisters on my fingers." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
948175785d
commit
a200c8faf8
@ -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…
Reference in New Issue
Block a user