diff options
author | Evan Cheng <evan.cheng@apple.com> | 2005-12-09 22:45:35 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2005-12-09 22:45:35 +0000 |
commit | b915f3110d74823e7b56d2c9cc4b83439bbedebc (patch) | |
tree | a94703f8ecb62ba6034c30fb0f8832d456b8308b /utils/TableGen/DAGISelEmitter.h | |
parent | 42a80fedad12fbdc585909762f2284268e5619a8 (diff) | |
download | external_llvm-b915f3110d74823e7b56d2c9cc4b83439bbedebc.zip external_llvm-b915f3110d74823e7b56d2c9cc4b83439bbedebc.tar.gz external_llvm-b915f3110d74823e7b56d2c9cc4b83439bbedebc.tar.bz2 |
* Do not allow nodes which produce chain results (e.g. loads) to be folded if
it has more than one real use (non-chain uses).
* Record folded chain producing node in CodeGenMap.
* Do not fold a chain producing node if it has already been selected as an
operand of a chain use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index 84985b4..5c3bbcb 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -421,19 +421,6 @@ private: std::map<std::string, TreePatternNode*> &InstInputs, std::map<std::string, Record*> &InstResults); - void EmitMatchForPattern(TreePatternNode *N, const std::string &RootName, - std::map<std::string,std::string> &VarMap, - unsigned PatternNo, std::ostream &OS, - std::string &ChainName, - bool &HasChain, bool &InFlag, bool isRoot = false); - void EmitCopyToRegsForPattern(TreePatternNode *N, const std::string &RootName, - std::ostream &OS, bool HasChain); - std::pair<unsigned, unsigned> - CodeGenPatternResult(TreePatternNode *M, TreePatternNode *N, unsigned &Ctr, - std::string &ChainName, - std::map<std::string,std::string> &VariableMap, - unsigned PatternNo, std::ostream &OS, - bool InFlag, bool isRoot = false); void EmitCodeForPattern(PatternToMatch &Pattern, std::ostream &OS); void EmitInstructionSelector(std::ostream &OS); }; |