summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/FastISel.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-05-05 17:59:04 +0000
committerOwen Anderson <resistor@mac.com>2011-05-05 17:59:04 +0000
commitd71867a8f4b1ab6ab8cc8f5b1a732184ec5bad1b (patch)
treeb604d54ec03aa8416f7927d55133eff283b40a24 /include/llvm/CodeGen/FastISel.h
parentd96efb83c11454f511f6b16bbf1fb07d8a14ef66 (diff)
downloadllvm-d71867a8f4b1ab6ab8cc8f5b1a732184ec5bad1b.tar.gz
llvm-d71867a8f4b1ab6ab8cc8f5b1a732184ec5bad1b.tar.bz2
llvm-d71867a8f4b1ab6ab8cc8f5b1a732184ec5bad1b.tar.xz
Allow FastISel of three-register-operand instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FastISel.h')
-rw-r--r--include/llvm/CodeGen/FastISel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index 10c4c33dde..dba4b6d4c0 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -241,6 +241,15 @@ protected:
unsigned Op0, bool Op0IsKill,
unsigned Op1, bool Op1IsKill);
+ /// FastEmitInst_rrr - Emit a MachineInstr with three register operands
+ /// and a result register in the given register class.
+ ///
+ unsigned FastEmitInst_rrr(unsigned MachineInstOpcode,
+ const TargetRegisterClass *RC,
+ unsigned Op0, bool Op0IsKill,
+ unsigned Op1, bool Op1IsKill,
+ unsigned Op2, bool Op2IsKill);
+
/// FastEmitInst_ri - Emit a MachineInstr with a register operand,
/// an immediate, and a result register in the given register class.
///