diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-02 06:49:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-02 06:49:14 +0000 |
commit | 0614b628cf8245541f0f6842b2f024c5ba9a7967 (patch) | |
tree | b0494352bee41ca99e08f48070d8a6b17797b09c /utils/TableGen/DAGISelEmitter.h | |
parent | 55d1728ec80c7f39d0bb2a68a1bd38b268496ef7 (diff) | |
download | external_llvm-0614b628cf8245541f0f6842b2f024c5ba9a7967.zip external_llvm-0614b628cf8245541f0f6842b2f024c5ba9a7967.tar.gz external_llvm-0614b628cf8245541f0f6842b2f024c5ba9a7967.tar.bz2 |
Add support for immediates directly in the pattern, this allows itanium to
define:
def : Pat<(i1 1), (CMPEQ r0, r0)>;
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index dc9d1f7..be30714 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -382,6 +382,8 @@ public: const CodeGenTarget &getTargetInfo() const { return Target; } + Record *getSDNodeNamed(const std::string &Name) const; + const SDNodeInfo &getSDNodeInfo(Record *R) const { assert(SDNodes.count(R) && "Unknown node!"); return SDNodes.find(R)->second; |