summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* 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
* Make LOC count more accurate by not including the tablegen lexer/parser, any ↵Chris Lattner2003-08-12
| | | | | | .inc files, which are generated by tablegen, nor .lo files which sometimes get picked up from libtool git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7770 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
* Added keyword `include', and a FIXME for hex and binary constants.Misha Brukman2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7740 91177308-0d34-0410-b5e6-96231b3b80d8
* * Added (X)Emacs mode for TableGen description filesMisha Brukman2003-08-11
| | | | | | | | * Added README that describes how to use the mode files * Associated files with .llx extension with llvm-mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7738 91177308-0d34-0410-b5e6-96231b3b80d8
* tablegen.vim:Misha Brukman2003-08-11
| | | | | | | | | | | | * Added keyword `field' * Keywords get different highlighting than types * Added a simple attempt at multi-line C-style comments with FIXME README: * Added note about symlinking an entire directory ~/.vim/syntax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7733 91177308-0d34-0410-b5e6-96231b3b80d8
* Add .llxChris Lattner2003-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7732 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a TableGen syntax highlighting mode for VIM and a README that describesMisha Brukman2003-08-11
| | | | | | | how to add the functionality to the user's VIM installation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7731 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
* Recognize $foo as a variableChris Lattner2003-08-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7712 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
* Add new functionChris Lattner2003-08-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7706 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
* Add new method to get a value type as a stringChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7698 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
* Add and use a new methodChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7682 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
* Allow clients to get at the pointer typeChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7670 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new method getVAlueAsDagChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7669 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
* Eliminate now-dead methodChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7667 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using the CodeGeneratorWrappersChris Lattner2003-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7666 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of useful wrappers around the Target classes, for now, only ↵Chris Lattner2003-08-07
| | | | | | | | | ValueType and Target are wrapped git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7665 91177308-0d34-0410-b5e6-96231b3b80d8
* Ick, add the RIGHT accessorChris Lattner2003-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7656 91177308-0d34-0410-b5e6-96231b3b80d8
* Add accessorChris Lattner2003-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7655 91177308-0d34-0410-b5e6-96231b3b80d8
* There is something wrong with code that looks like:Chris Lattner2003-08-06
| | | | | | | | if (R == 0 || ...) R->getName() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7654 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
* Added asserts to prevent negative shift amounts from being generated.Misha Brukman2003-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7640 91177308-0d34-0410-b5e6-96231b3b80d8
* Sort the file listsChris Lattner2003-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7638 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