diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-04 01:15:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-04 01:15:02 +0000 |
commit | ea50fabfd4e5fad25a25b312f64a9b2a53363586 (patch) | |
tree | 55bebc8fedb5e3b77d9f8d267358126236db411b /include/llvm/CodeGen/MachineInstrBuilder.h | |
parent | 34fb2cad46adb39f3c2cc705fbbf439a383d0f65 (diff) |
Remove a bunch more SparcV9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstrBuilder.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index c267c77da2..c2944c0369 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -46,22 +46,6 @@ public: return *this; } - /// addReg - Add an LLVM value that is to be used as a register... - /// - const MachineInstrBuilder &addReg( - Value *V, - MachineOperand::UseType Ty = MachineOperand::Use) const { - MI->addRegOperand(V, Ty); - return *this; - } - - /// addRegDef - Add an LLVM value that is to be defined as a register... this - /// is the same as addReg(V, MachineOperand::Def). - /// - const MachineInstrBuilder &addRegDef(Value *V) const { - return addReg(V, MachineOperand::Def); - } - /// addImm - Add a new immediate operand. /// const MachineInstrBuilder &addImm(int Val) const { @@ -112,15 +96,13 @@ public: } const MachineInstrBuilder &addGlobalAddress(GlobalValue *GV, - bool isPCRelative = false, int Offset = 0) const { - MI->addGlobalAddressOperand(GV, isPCRelative, Offset); + MI->addGlobalAddressOperand(GV, Offset); return *this; } - const MachineInstrBuilder &addExternalSymbol(const char *FnName, - bool isPCRelative = false) const{ - MI->addExternalSymbolOperand(FnName, isPCRelative); + const MachineInstrBuilder &addExternalSymbol(const char *FnName) const{ + MI->addExternalSymbolOperand(FnName); return *this; } }; |