aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-20 21:45:57 +0000
committerDan Gohman <gohman@apple.com>2008-08-20 21:45:57 +0000
commit1e0ee4bc38e9cdc7e7ac49968527e2c05f927904 (patch)
treec8bedf614fd3fd0d9c7ca157ae3bc0fc41bdb4f3 /utils/TableGen/CodeGenTarget.h
parent0bfa1bfbff1ddc5a85494c9e2b1f985f145dc8a6 (diff)
Factor the code for determining the target-specific instruction
namespace out of the isel emitters and into common code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.h')
-rw-r--r--utils/TableGen/CodeGenTarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h
index f53b6a99c1..ef46b6c618 100644
--- a/utils/TableGen/CodeGenTarget.h
+++ b/utils/TableGen/CodeGenTarget.h
@@ -78,6 +78,10 @@ public:
Record *getTargetRecord() const { return TargetRec; }
const std::string &getName() const;
+ /// getInstNamespace - Return the target-specific instruction namespace.
+ ///
+ std::string getInstNamespace() const;
+
/// getInstructionSet - Return the InstructionSet object.
///
Record *getInstructionSet() const;