summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3e2225dfd67a345a52fe55b19c8e7686b67e1892 (patch)
tree0a4125cf8de9d7d482c66c79ef007c7cf11359f5 /llvm/utils/TableGen/CodeGenTarget.h
parent814f291664deb14fd37f3fc90141f3e37c21f51f (diff)
downloadbcm5719-llvm-3e2225dfd67a345a52fe55b19c8e7686b67e1892.tar.gz
bcm5719-llvm-3e2225dfd67a345a52fe55b19c8e7686b67e1892.zip
Factor the code for determining the target-specific instruction
namespace out of the isel emitters and into common code. llvm-svn: 55079
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.h')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h
index f53b6a99c15..ef46b6c6185 100644
--- a/llvm/utils/TableGen/CodeGenTarget.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud