diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-29 02:43:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-29 02:43:35 +0000 |
commit | 355408bcb73f781c72f85de9a3296e025e9e9edf (patch) | |
tree | 56023a5b10c7a96205026ae35ba5e7f663b5494c /utils/TableGen/DAGISelEmitter.h | |
parent | 67a202bc4212f3a53db7ce83bf8d59885d148f3e (diff) | |
download | external_llvm-355408bcb73f781c72f85de9a3296e025e9e9edf.zip external_llvm-355408bcb73f781c72f85de9a3296e025e9e9edf.tar.gz external_llvm-355408bcb73f781c72f85de9a3296e025e9e9edf.tar.bz2 |
move some code around, no change in the generated code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index 904091b..3d45f21 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -155,7 +155,9 @@ namespace llvm { : Types(), Operator(Op), Val(0), TransformFn(0), Children(Ch) { Types.push_back(MVT::isUnknown); } TreePatternNode(Init *val) // leaf ctor - : Types(), Operator(0), Val(val), TransformFn(0) { Types.push_back(MVT::isUnknown); } + : Types(), Operator(0), Val(val), TransformFn(0) { + Types.push_back(MVT::isUnknown); + } ~TreePatternNode(); const std::string &getName() const { return Name; } @@ -468,7 +470,8 @@ private: std::map<std::string, Record*> &InstResults, std::vector<Record*> &InstImpInputs, std::vector<Record*> &InstImpResults); - bool EmitCodeForPattern(PatternToMatch &Pattern, std::ostream &OS); + void EmitCodeForPattern(PatternToMatch &Pattern, + std::vector<std::pair<bool, std::string> > &GeneratedCode); void EmitInstructionSelector(std::ostream &OS); }; |