| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and clean recursive descent parser.
This change has a couple of ramifications:
1. The parser code is about 400 lines shorter (in what we maintain, not
including what is autogenerated).
2. The code should be significantly faster than the old code because we
don't have to work around bison's poor handling of datatypes with
ctors/dtors. This also makes the code much more resistant to memory
leaks.
3. We now get caret diagnostics from the .ll parser, woo.
4. The actual diagnostics emited from the parser are completely different
so a bunch of testcases had to be updated.
5. I now disallow "%ty = type opaque %ty = type i32". There was no good
reason to support this, it was just an accident of the old
implementation. I have no reason to think that anyone is actually using
this.
6. The syntax for sticking a global variable has changed to make it
unambiguous. I don't think anyone is depending on this since only clang
supports this and it is not solid yet, so I'm not worried about anything
breaking.
7. This gets rid of the last use of bison, and along with it the .cvs files.
I'll prune this from the makefiles as a subsequent commit.
There are a few minor cleanups that can be done after this commit (suggestions
welcome!) but this passes dejagnu testing and is ready for its time in the
limelight.
llvm-svn: 61558
|
|
|
|
| |
llvm-svn: 61241
|
|
|
|
| |
llvm-svn: 61150
|
|
|
|
| |
llvm-svn: 61031
|
|
|
|
|
|
|
|
|
| |
indicate functions that allocate, such as operator new, or list::insert. The
actual definition is slightly less strict (for now).
No changes to the bitcode reader/writer, asm printer or verifier were needed.
llvm-svn: 59934
|
|
|
|
| |
llvm-svn: 59204
|
|
|
|
| |
llvm-svn: 58697
|
|
|
|
| |
llvm-svn: 58694
|
|
|
|
| |
llvm-svn: 57577
|
|
|
|
| |
llvm-svn: 57575
|
|
|
|
| |
llvm-svn: 57573
|
|
|
|
| |
llvm-svn: 57561
|
|
|
|
| |
llvm-svn: 57559
|
|
|
|
| |
llvm-svn: 57331
|
|
|
|
| |
llvm-svn: 57290
|
|
|
|
| |
llvm-svn: 57114
|
|
|
|
| |
llvm-svn: 57009
|
|
|
|
| |
llvm-svn: 57007
|
|
|
|
| |
llvm-svn: 56801
|
|
|
|
| |
llvm-svn: 56715
|
|
|
|
| |
llvm-svn: 56679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g
This sets the stage
- to implement function notes as function attributes and
- to distinguish between function attributes and return value attributes.
This requires corresponding changes in llvm-gcc and clang.
llvm-svn: 56622
|
|
|
|
| |
llvm-svn: 56545
|
|
|
|
| |
llvm-svn: 56527
|
|
|
|
|
|
| |
Do not check isDeclaration() in hasNote(). It is clients' responsibility.
llvm-svn: 56524
|
|
|
|
| |
llvm-svn: 56520
|
|
|
|
| |
llvm-svn: 56502
|
|
|
|
| |
llvm-svn: 55972
|
|
|
|
| |
llvm-svn: 55676
|
|
|
|
| |
llvm-svn: 55646
|
|
|
|
| |
llvm-svn: 55542
|
|
|
|
| |
llvm-svn: 54900
|
|
|
|
| |
llvm-svn: 54745
|
|
|
|
|
|
| |
CodeGen & Clang work coming next.
llvm-svn: 54161
|
|
|
|
| |
llvm-svn: 53943
|
|
|
|
| |
llvm-svn: 53440
|
|
|
|
|
|
|
|
| |
Added abstract class MemSDNode for any Node that have an associated MemOperand
Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and
atomic.lss => atomic.load.sub
llvm-svn: 52706
|
|
|
|
| |
llvm-svn: 52637
|
|
|
|
| |
llvm-svn: 52149
|
|
|
|
|
|
|
|
|
|
|
| |
insertvalue and extractvalue to use constant indices instead of
Value* indices. And begin updating LangRef.html.
There's definately more to come here, but I'm checking this
basic support in now to make it available to people who are
interested.
llvm-svn: 51806
|
|
|
|
|
|
|
|
|
| |
and bitcode support for the extractvalue and insertvalue
instructions and constant expressions.
Note that this does not yet include CodeGen support.
llvm-svn: 51468
|
|
|
|
| |
llvm-svn: 51239
|
|
|
|
| |
llvm-svn: 51238
|
|
|
|
|
|
| |
moving toward making structs and arrays first-class types.
llvm-svn: 51157
|
|
|
|
| |
llvm-svn: 51119
|
|
|
|
|
|
| |
for details. CodeGen support coming in a follow up patch
llvm-svn: 50985
|
|
|
|
| |
llvm-svn: 50621
|
|
|
|
| |
llvm-svn: 50175
|
|
|
|
| |
llvm-svn: 50139
|
|
|
|
| |
llvm-svn: 49978
|