|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 2175 | 
| | 
| 
| 
| | llvm-svn: 2164 | 
| | 
| 
| 
| | llvm-svn: 2139 | 
| | 
| 
| 
| | llvm-svn: 2137 | 
| | 
| 
| 
| | llvm-svn: 2135 | 
| | 
| 
| 
| | llvm-svn: 2115 | 
| | 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| | llvm-svn: 2103 | 
| | 
| 
| 
| 
| 
| 
| | 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: 1784 | 
| | 
| 
| 
| | llvm-svn: 1782 | 
| | 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 1409 | 
| | 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| | don't get truncated, which broke the health benchmark
llvm-svn: 1087 | 
| | 
| 
| 
| | llvm-svn: 963 | 
| | 
| 
| 
| | 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: 757 | 
| | 
| 
| 
| | llvm-svn: 756 | 
| | 
| 
| 
| | llvm-svn: 755 | 
| | 
| 
| 
| | 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 |