Chris Lattner
e91ffcf8bd
Add support for frameidx and literal immediates for instructions
...
llvm-svn: 7749
2003-08-11 21:28:59 +00:00
Chris Lattner
114ee856b4
Add support for naming the destination of a "set" in a pattern
...
llvm-svn: 7748
2003-08-11 20:32:02 +00:00
Chris Lattner
641eca6881
Add support for the Arg1 argument type
...
llvm-svn: 7747
2003-08-11 20:25:52 +00:00
Chris Lattner
a577beaba5
Sort #includes, eliminate #include of "llvm/Type.h" which was redundant
...
llvm-svn: 7746
2003-08-11 20:06:16 +00:00
Chris Lattner
05b3cd4716
Cygwin apparently works with %'s on registers!
...
llvm-svn: 7745
2003-08-11 20:04:57 +00:00
Brian Gaeke
0c25ceaba7
If we can't find INT64_MAX, set it to a reasonable default value,
...
instead of printing out an (incorrect) #error message.
llvm-svn: 7744
2003-08-11 20:04:57 +00:00
Chris Lattner
d29a705b4b
Whoops, accidental checkin. :(
...
llvm-svn: 7743
2003-08-11 19:35:46 +00:00
Chris Lattner
84e5185cbd
Add a new -enable-cygwin-compatible-output argument, which make the output more
...
consumably by the cygwin assembler. This is really just a nasty hack until we
get real target triple support.
llvm-svn: 7742
2003-08-11 19:35:26 +00:00
Chris Lattner
f918b0a5fc
Add support to the mangler for targets which require _'s on global symbols
...
llvm-svn: 7741
2003-08-11 19:34:29 +00:00
Misha Brukman
2c1f199d28
Added keyword `include', and a FIXME for hex and binary constants.
...
llvm-svn: 7740
2003-08-11 19:14:20 +00:00
Misha Brukman
f33f94e332
* Added pointers to the README files in emacs/ and vim/ directories.
...
* Added slashes to distinguish directories and tools from simple scripts.
llvm-svn: 7739
2003-08-11 19:13:12 +00:00
Misha Brukman
dd4c8e6dda
* Added (X)Emacs mode for TableGen description files
...
* Added README that describes how to use the mode files
* Associated files with .llx extension with llvm-mode
llvm-svn: 7738
2003-08-11 19:10:02 +00:00
Brian Gaeke
e599cf3856
Print % signs before register names; turn off "noprefix" mode in gas output.
...
Fixes test case test/Programs/LLVMSource/2003-08-03-ReservedWordGlobal.ll.
Also: Refactor implicit-uses printing into its own method.
Remove a couple of unused variables.
llvm-svn: 7737
2003-08-11 19:05:46 +00:00
Chris Lattner
7efc8c6584
Geez, this misha guy is a _horrible_ speller. :)
...
llvm-svn: 7736
2003-08-11 18:53:14 +00:00
Misha Brukman
b94f3bbb0c
* Added a section describing the hidden gems in llvm/utils
...
* Converted some tabs to spaces
* Made lines fit within 80 columns
llvm-svn: 7735
2003-08-11 18:45:46 +00:00
Vikram S. Adve
aab4ebecd9
Register argument to va_start must be marked as defined!
...
llvm-svn: 7734
2003-08-11 18:42:47 +00:00
Misha Brukman
eb7d99c6ae
tablegen.vim:
...
* 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
llvm-svn: 7733
2003-08-11 18:05:19 +00:00
Chris Lattner
20f6e29d0f
Add .llx
...
llvm-svn: 7732
2003-08-11 18:01:39 +00:00
Misha Brukman
c7d108b6e1
Added a TableGen syntax highlighting mode for VIM and a README that describes
...
how to add the functionality to the user's VIM installation.
llvm-svn: 7731
2003-08-11 17:56:08 +00:00
Chris Lattner
1ecd1818a0
Add (ret int) expander so that we can at least write testcases
...
llvm-svn: 7730
2003-08-11 15:48:00 +00:00
Chris Lattner
8c7089a744
Don't forget to initializer result field to 0!
...
llvm-svn: 7729
2003-08-11 15:47:35 +00:00
Misha Brukman
caed7aad11
Converted tabs to spaces.
...
llvm-svn: 7728
2003-08-11 15:38:50 +00:00
Misha Brukman
a0b2a82f8d
Removed `-debug' so that spurious printouts of patterns are not seen at
...
compilation time.
llvm-svn: 7727
2003-08-11 15:30:20 +00:00
Chris Lattner
4578d0770f
Remove dead code
...
llvm-svn: 7726
2003-08-11 15:24:02 +00:00
Chris Lattner
3f4b5cf09a
Add patterns for multiply, and, or, and xor
...
llvm-svn: 7725
2003-08-11 15:23:25 +00:00
Chris Lattner
854980039a
add support for more nodes
...
llvm-svn: 7724
2003-08-11 15:23:05 +00:00
Misha Brukman
8477eb70ee
Put printouts of acquired patterns under the DEBUG() guard, fixed spelling.
...
llvm-svn: 7723
2003-08-11 15:16:12 +00:00
Chris Lattner
4650950aee
Until the pattern matching instruction selector is finished, enable debug output from it
...
llvm-svn: 7722
2003-08-11 15:11:01 +00:00
Chris Lattner
623bd2eb83
Fix handling of 'free' if it has absolutely no prototype
...
llvm-svn: 7721
2003-08-11 15:05:08 +00:00
Chris Lattner
a0d327277d
Include the new selection library for the X86 target
...
llvm-svn: 7720
2003-08-11 14:59:53 +00:00
Chris Lattner
3dc2860679
Add support for a pattern matching instruction selector. This is still in
...
the early implementation phases, so it is disabled by default
llvm-svn: 7719
2003-08-11 14:59:22 +00:00
Chris Lattner
f40b9fb6c2
Build the SelectionDAG library
...
llvm-svn: 7718
2003-08-11 14:57:48 +00:00
Chris Lattner
45414456b3
Initial checkin of SelectionDAG implementation. This is still rough and
...
unfinished
llvm-svn: 7717
2003-08-11 14:57:33 +00:00
Chris Lattner
49f6244b56
Initial checkin of SelectionDAG header file
...
llvm-svn: 7716
2003-08-11 14:56:26 +00:00
Chris Lattner
6b5833f7f9
Add full support for code generating expanders!
...
This includes support for referencing named arguments.
llvm-svn: 7715
2003-08-10 23:51:52 +00:00
Chris Lattner
064a7ce4ab
Implement autopromotion of leaf trees from arguments to nodes of their own,
...
making it easier to write patterns without lots of extraneous parens
llvm-svn: 7714
2003-08-10 22:38:36 +00:00
Chris Lattner
b02ea334f3
Implement correct parsing, representation, and printing of DAG argument names
...
Implements testcase TableGen/TreeNames.td
llvm-svn: 7713
2003-08-10 22:14:13 +00:00
Chris Lattner
71108605d3
Recognize $foo as a variable
...
llvm-svn: 7712
2003-08-10 22:04:25 +00:00
Chris Lattner
050e145557
New testcase
...
llvm-svn: 7711
2003-08-10 22:02:44 +00:00
Chris Lattner
328e935aa6
Implement real code emission, at least for Instruction patterns,
...
next up: support for expanders
llvm-svn: 7710
2003-08-10 21:54:43 +00:00
Chris Lattner
9392cd389e
First cut at emitting the reducer. This reducer just prints out the patterns
...
selected, but it seems to work great!
llvm-svn: 7709
2003-08-10 20:34:13 +00:00
Chris Lattner
7d1623b861
Make imm be a leaf instead of a nonterminal
...
llvm-svn: 7708
2003-08-10 19:51:16 +00:00
Chris Lattner
ba61a16a15
Finish the matcher!
...
llvm-svn: 7707
2003-08-10 19:50:51 +00:00
Chris Lattner
d754461205
Add new function
...
llvm-svn: 7706
2003-08-10 19:50:32 +00:00
John Criswell
91352f7fdb
Removed information on the Pool Allocator as it is no longer available.
...
Fixed a spelling error.
llvm-svn: 7705
2003-08-08 22:46:30 +00:00
John Criswell
5ee47e31c2
Added a FAQ about how to clean the directory if it fails to build after an
...
update.
llvm-svn: 7704
2003-08-08 22:43:39 +00:00
John Criswell
6a40dbb476
Updated for the 1.1 pre-release.
...
Attempted to explain how OBJ_ROOT=. and OBJ_ROOT=`pwd` are not the same thing.
llvm-svn: 7703
2003-08-08 22:36:30 +00:00
Chris Lattner
1f87681075
This implements a large amount of the matcher, in fact, all of it except for one bug
...
llvm-svn: 7702
2003-08-08 22:29:23 +00:00
Chris Lattner
f169468353
Emit the first half of the instruction selector.
...
llvm-svn: 7701
2003-08-08 16:30:10 +00:00
Misha Brukman
84acb273f9
Chomped spurious blank lines.
...
llvm-svn: 7700
2003-08-08 15:37:35 +00:00