summaryrefslogtreecommitdiff
path: root/utils/TableGen/FastISelEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/FastISelEmitter.cpp')
-rw-r--r--utils/TableGen/FastISelEmitter.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp
index 305158f471..fedb44e4d0 100644
--- a/utils/TableGen/FastISelEmitter.cpp
+++ b/utils/TableGen/FastISelEmitter.cpp
@@ -351,6 +351,14 @@ void FastISelMap::PrintClass(std::ostream &OS) {
}
OS << "\n";
+ OS << "bool TargetSelectInstruction(Instruction *I,\n";
+ OS << " "
+ "DenseMap<const Value *, unsigned> &ValueMap,\n";
+ OS << " "
+ "DenseMap<const BasicBlock *, MachineBasicBlock *> &MBBMap,\n";
+ OS << " "
+ "MachineBasicBlock *MBB);\n";
+
// Declare the Subtarget member, which is used for predicate checks.
OS << " const " << InstNS.substr(0, InstNS.size() - 2)
<< "Subtarget *Subtarget;\n";