summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/FastISel.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-04-22 23:38:06 +0000
committerOwen Anderson <resistor@mac.com>2011-04-22 23:38:06 +0000
commitd74ea775af55782e3b0d5b10fa7602f8822a2f72 (patch)
tree415cf195c8f373d74b616f61f8c43fcf56f25ba4 /include/llvm/CodeGen/FastISel.h
parent5e06bb83f4d7b1b86659ad851324350afb04f5b0 (diff)
downloadllvm-d74ea775af55782e3b0d5b10fa7602f8822a2f72.tar.gz
llvm-d74ea775af55782e3b0d5b10fa7602f8822a2f72.tar.bz2
llvm-d74ea775af55782e3b0d5b10fa7602f8822a2f72.tar.xz
Teach FastISel to deal with instructions that have two immediate operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FastISel.h')
-rw-r--r--include/llvm/CodeGen/FastISel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index 76eb5942e6..fa6594c01e 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -288,7 +288,12 @@ protected:
unsigned FastEmitInst_i(unsigned MachineInstrOpcode,
const TargetRegisterClass *RC,
uint64_t Imm);
-
+
+ /// FastEmitInst_ii - Emit a MachineInstr with a two immediate operands.
+ unsigned FastEmitInst_ii(unsigned MachineInstrOpcode,
+ const TargetRegisterClass *RC,
+ uint64_t Imm1, uint64_t Imm2);
+
/// FastEmitInst_extractsubreg - Emit a MachineInstr for an extract_subreg
/// from a specified index of a superregister to a specified type.
unsigned FastEmitInst_extractsubreg(MVT RetVT,