| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
definitions must still occur before function bodies, but the wierd keyword is
no longer neccesary.
llvm-svn: 2433
|
|
|
|
| |
llvm-svn: 2402
|
|
|
|
| |
llvm-svn: 2397
|
|
|
|
| |
llvm-svn: 2390
|
|
|
|
|
|
|
|
|
| |
be 'Argument' instead of FunctionArgument.
Rename some yacc type names to be more concise. Change jump table to use
a vector instead of a list.
llvm-svn: 2214
|
|
|
|
|
|
|
|
| |
* Eliminate by inlining the old newTH, newTH, and TypeDone functions
* OPAQUE is now just a token that gets returned by the lexer, not a type
Parser now creates type, not lexer
llvm-svn: 2104
|
|
|
|
|
|
|
| |
a memory leak)
* Fix memory leak of Argument nodes on function prototypes
llvm-svn: 2065
|
|
|
|
|
|
| |
change references from MethodARgument to FunctionArgument
llvm-svn: 1991
|
|
|
|
| |
llvm-svn: 1859
|
|
|
|
| |
llvm-svn: 1839
|
|
|
|
| |
llvm-svn: 1837
|
|
|
|
| |
llvm-svn: 1836
|
|
|
|
| |
llvm-svn: 1503
|
|
|
|
|
|
|
|
|
|
| |
Type->getDescription()
* Remove unsized array support
* Malloc/alloca do not require that the first element be an unsized array to be an
array allocation
llvm-svn: 1458
|
|
|
|
|
|
|
| |
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408
|
|
|
|
|
|
|
| |
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407
|
|
|
|
| |
llvm-svn: 1405
|
|
|
|
|
|
|
|
| |
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
|
|
|
|
| |
llvm-svn: 1373
|
|
|
|
| |
llvm-svn: 1336
|
|
|
|
| |
llvm-svn: 1088
|
|
|
|
| |
llvm-svn: 936
|
|
|
|
|
|
|
|
|
| |
%list = type {%list *}
%list = type {%list *}
not being accepted (broken testmisc.ll)
llvm-svn: 935
|
|
|
|
|
|
|
|
|
|
| |
1. Delete type handle regardless of whether a collision occured
2. Remove a MAJOR pessimization of runtime performance (thought be be an optimization at the time).
This second one was causing a 105k llvm file (from gcc) to parse in 58 seconds... without the
'optimization' it now parses in 3.64 seconds. I suck.
llvm-svn: 933
|
|
|
|
|
|
|
| |
%list = type opaque
%list = type %list
llvm-svn: 931
|
|
|
|
| |
llvm-svn: 924
|
|
|
|
|
|
| |
initialize them later
llvm-svn: 923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove Method special case
Fix bug exposed by this testcase:
implementation
void "PtrFunc2"()
begin
bb1:
%reg = add int(int)* null, null
add int (int)* %reg, null
ret void
end
llvm-svn: 852
|
|
|
|
|
|
| |
tired typing that much
llvm-svn: 822
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for numeric global variable addresses
* Clean up getVal function by refactoring it into several smaller functions
* MethodTypes are now specified with an explicit isVarArg parameter
* Break ValueRef into ConstValueRef & SymbolicValueRef components
* Add support for the new Invoke instruction
* Fix a few broken calls to Type::getName instead of Type::getDescription
llvm-svn: 758
|
|
|
|
| |
llvm-svn: 712
|
|
|
|
| |
llvm-svn: 711
|
|
|
|
|
|
| |
Clean up stuff a little bit with inMethod/ModuleContext functions
llvm-svn: 707
|
|
|
|
| |
llvm-svn: 704
|
|
|
|
|
|
|
|
| |
* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion
llvm-svn: 703
|
|
|
|
| |
llvm-svn: 701
|
|
|
|
|
|
|
|
|
|
|
| |
%ListNode3 = global %list { %list* null, int 4 }
because %list is name and the parser expected a literal {..} type there.
In addition, simplified rules that the fix (Allow any Types there, not just a StructType)
made obsolete. Simplified type propogation a bit.
llvm-svn: 700
|
|
|
|
|
|
|
|
| |
* Allow multiple definitions of a type with the same name as long as they are the same type
* Eagerly resolve types to allow #2 to work instead of after the whole const pool has been processed
* Change grammar to require a const before a local constant definition
llvm-svn: 699
|
|
|
|
| |
llvm-svn: 697
|
|
|
|
|
|
| |
Convert more code to use them
llvm-svn: 695
|
|
|
|
| |
llvm-svn: 694
|
|
|
|
|
|
|
|
| |
writer, and
bytecode reader.
llvm-svn: 668
|
|
|
|
| |
llvm-svn: 664
|
|
|
|
| |
llvm-svn: 599
|
|
|
|
|
|
| |
Clean up parser somewhat by factoring out freeing of ID's into setname function
llvm-svn: 597
|
|
|
|
| |
llvm-svn: 536
|
|
|
|
| |
llvm-svn: 530
|
|
|
|
|
|
|
|
|
| |
* Add support for upreferences for recursive types
* Remove support for ConstantPool.h
* Add support for globally unique Constants
* Add support for the opaque type
llvm-svn: 446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Unresolved variable names now have the correct line number for their
error messages
* Rename Def* to Value*
* Check for symbol table collisions before inserting values
* Remove the STRING keyword
* Enable the use of string literals to initialize constant arrays
* Enable the use of extended constants in more locations: eg ret [int] [4, 5]
* Allow method prototypes to appear in the constant pool of the program
* Support varargs methods better. Enable varargs methods with 0 fixed
arguments
* Allow the entire method prototype to optionally be specified in a call inst
llvm-svn: 321
|
|
|
|
|
|
| |
values directly. This was causing test failures. :(
llvm-svn: 304
|