diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-12 23:08:38 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-12 23:08:38 +0000 |
commit | 21b5541814d57d0a31f353948e4e933dbb1af6a4 (patch) | |
tree | 8f03d09512c1f2d3539b06262321b3b6ab0a0c54 /include/llvm/CodeGen | |
parent | c2390b14c91764cba6e4394d05e58e387a7dfb19 (diff) | |
download | external_llvm-21b5541814d57d0a31f353948e4e933dbb1af6a4.zip external_llvm-21b5541814d57d0a31f353948e4e933dbb1af6a4.tar.gz external_llvm-21b5541814d57d0a31f353948e4e933dbb1af6a4.tar.bz2 |
Eliminate a couple of non-DebugLoc BuildMI variants.
Modify callers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineInstrBuilder.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index 54fbe27..2ddf152 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -99,11 +99,6 @@ public: /// itself. /// inline MachineInstrBuilder BuildMI(MachineFunction &MF, - const TargetInstrDesc &TID) { - return MachineInstrBuilder(MF.CreateMachineInstr(TID, - DebugLoc::getUnknownLoc())); -} -inline MachineInstrBuilder BuildMI(MachineFunction &MF, DebugLoc DL, const TargetInstrDesc &TID) { return MachineInstrBuilder(MF.CreateMachineInstr(TID, DL)); @@ -113,13 +108,6 @@ inline MachineInstrBuilder BuildMI(MachineFunction &MF, /// destination virtual register. /// inline MachineInstrBuilder BuildMI(MachineFunction &MF, - const TargetInstrDesc &TID, - unsigned DestReg) { - return MachineInstrBuilder(MF.CreateMachineInstr(TID, - DebugLoc::getUnknownLoc())) - .addReg(DestReg, true); -} -inline MachineInstrBuilder BuildMI(MachineFunction &MF, DebugLoc DL, const TargetInstrDesc &TID, unsigned DestReg) { |