summaryrefslogtreecommitdiff
path: root/utils/TableGen/InstrSelectorEmitter.cpp
Commit message (Collapse)AuthorAge
* Fix warning on sparc buildChris Lattner2003-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8006 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for nodes with void arguments, like chain nodesChris Lattner2003-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7869 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix emission of instructions that directly reference MBBsChris Lattner2003-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7771 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the Any type. Minor fixes and enhancements for BasicBlock ↵Chris Lattner2003-08-12
| | | | | | operands git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7769 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename DNVT_bool to DNVT_i1 to be consistent with type systemChris Lattner2003-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7768 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a bool argtyChris Lattner2003-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7766 91177308-0d34-0410-b5e6-96231b3b80d8
* It is not an error if a rule does not match, it's just a failed match!Chris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7761 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for frameidx and literal immediates for instructionsChris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7749 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for naming the destination of a "set" in a patternChris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7748 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the Arg1 argument typeChris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7747 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't forget to initializer result field to 0!Chris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7729 91177308-0d34-0410-b5e6-96231b3b80d8
* Put printouts of acquired patterns under the DEBUG() guard, fixed spelling.Misha Brukman2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7723 91177308-0d34-0410-b5e6-96231b3b80d8
* Add full support for code generating expanders!Chris Lattner2003-08-10
| | | | | | | This includes support for referencing named arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7715 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement autopromotion of leaf trees from arguments to nodes of their own,Chris Lattner2003-08-10
| | | | | | | making it easier to write patterns without lots of extraneous parens git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7714 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement correct parsing, representation, and printing of DAG argument namesChris Lattner2003-08-10
| | | | | | | Implements testcase TableGen/TreeNames.td git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7713 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement real code emission, at least for Instruction patterns,Chris Lattner2003-08-10
| | | | | | | next up: support for expanders git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7710 91177308-0d34-0410-b5e6-96231b3b80d8
* First cut at emitting the reducer. This reducer just prints out the patternsChris Lattner2003-08-10
| | | | | | | selected, but it seems to work great! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7709 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish the matcher!Chris Lattner2003-08-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7707 91177308-0d34-0410-b5e6-96231b3b80d8
* This implements a large amount of the matcher, in fact, all of it except for ↵Chris Lattner2003-08-08
| | | | | | one bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7702 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit the first half of the instruction selector.Chris Lattner2003-08-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7701 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish implementation of nonterminal instantiation.Chris Lattner2003-08-07
| | | | | | | Tree patterns are now, finally, ready to use! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7699 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement type-inference/checking for non-terminal referencesChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7686 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename all of the "Process" methods to be "read" methods, start the ↵Chris Lattner2003-08-07
| | | | | | Instantiate method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7685 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for "cast" nodes, which are required when there is not enough ↵Chris Lattner2003-08-07
| | | | | | | | | information to infer type type of all nodes, e.g. (ret imm) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7684 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new version of isSubClassOfChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7683 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup and reorganize code, no functional changesChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7679 91177308-0d34-0410-b5e6-96231b3b80d8
* Read in expanders tooChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7678 91177308-0d34-0410-b5e6-96231b3b80d8
* Continued evolution of the selector emitter: Represent instruction patternsChris Lattner2003-08-07
| | | | | | | as first class objects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7677 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish implementation of the type inference engine.Chris Lattner2003-08-07
| | | | | | | Start working on reading in nonterminals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7671 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of tree pattern parser and type inference engine (which ↵Chris Lattner2003-08-07
| | | | | | still needs work). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7668 91177308-0d34-0410-b5e6-96231b3b80d8
* Export the register classes so that the instruction selector can get at them ↵Chris Lattner2003-08-06
| | | | | | as needed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7651 91177308-0d34-0410-b5e6-96231b3b80d8
* Add error checking code to the node type parser. Start the instruction patternChris Lattner2003-08-06
| | | | | | | reader git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7632 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for an instruction selector emitterChris Lattner2003-08-06
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7631 91177308-0d34-0410-b5e6-96231b3b80d8