| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
as 'by reference' arguments.
llvm-svn: 8849
|
|
|
|
|
|
| |
can just use PATypeHolders
llvm-svn: 8832
|
|
|
|
|
|
|
|
|
| |
- no more passing around a string pointer to set errors
- no more returning booleans and checking for errors, we use C++ exceptions
* Broke functionality into 2 new classes, one reads from file, one from a stream
* Implemented lazy function streaming - the parser can read in a function at-a-time
llvm-svn: 8671
|
|
|
|
| |
llvm-svn: 8489
|
|
|
|
| |
llvm-svn: 8342
|
|
|
|
| |
llvm-svn: 8340
|
|
|
|
| |
llvm-svn: 7253
|
|
|
|
| |
llvm-svn: 7173
|
|
|
|
|
|
| |
'Type'.
llvm-svn: 6774
|
|
|
|
| |
llvm-svn: 6283
|
|
|
|
| |
llvm-svn: 6123
|
|
|
|
| |
llvm-svn: 5786
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix problems where the constant table would not get updated when
resolving constants causes other constants to change.
Changes to the V2 bytecode format
- Null values are implicitly encoded instead of explicitly, this makes
things more compact!
- More compactly represent ConstantPointerRefs
- Bytecode files are represented as:
Header|GlobalTypes|GlobalVars/Function Protos|Constants|Functions|SymTab
instead of
Header|GlobalTypes|Constants|GlobalVars/Function Protos|Functions|SymTab
which makes a lot of things simpler.
Changes to the reader:
- Function loading code is much simpler. We now no longer make function
PlaceHolderHelper objects to be replaced with real functions.
llvm-svn: 5748
|
|
|
|
| |
llvm-svn: 5715
|
|
|
|
| |
llvm-svn: 5708
|
|
|
|
|
|
|
|
| |
Handle forward referenced constants in a general way. This fixes bug:
Assembler/2002-10-13-ConstantEncodingProblem.llx and allows the SPEC
197.parser benchmark to be built
llvm-svn: 4161
|
|
|
|
| |
llvm-svn: 3384
|
|
|
|
| |
llvm-svn: 3367
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- ParseConstantPool was resolving reference to value using the function
slot # instead of the global slot #.
- Bytecode reader changes:
- Remove the failure<> template from Bytecode Reader
- Remove extraneous #includes
- s/method/function/ a bit
- Eliminate the fwdRefs class that just added abstraction where it was not
needed, making things more complex.
- Use a vector instead of a list for function signatures.
llvm-svn: 3366
|
|
|
|
|
|
| |
have to support the cast instruction, so the function is renamed to getCast.
llvm-svn: 3328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Correctly delete TypeHandles in AsmParser. In addition to not leaking
memory, this prevents a bug that could have occurred when a type got
resolved that the constexpr was using
* Check for errors in the AsmParser instead of hitting assertion failures
deep in the code
* Simplify the interface to the ConstantExpr class, removing unneccesary
parameters to the ::get* methods.
* Rename the 'getelementptr' version of ConstantExpr::get to
ConstantExpr::getGetElementPtr
llvm-svn: 3160
|
|
|
|
| |
llvm-svn: 3083
|
|
|
|
| |
llvm-svn: 2948
|
|
|
|
| |
llvm-svn: 2916
|
|
|
|
|
|
|
| |
Add class ConstantFwdRefs to resolve forward references to constants
and to globals. (Hmm... this class could be renamed I guess.)
llvm-svn: 2896
|
|
|
|
| |
llvm-svn: 2805
|
|
|
|
| |
llvm-svn: 2790
|
|
|
|
|
|
| |
of their argument
llvm-svn: 2758
|
|
|
|
| |
llvm-svn: 2397
|
|
|
|
| |
llvm-svn: 2378
|
|
|
|
|
|
| |
type tables after reading a bytecode file to make sure they are ok
llvm-svn: 2126
|
|
|
|
| |
llvm-svn: 2035
|
|
|
|
| |
llvm-svn: 1503
|
|
|
|
| |
llvm-svn: 1461
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 1374
|
|
|
|
| |
llvm-svn: 1092
|
|
|
|
| |
llvm-svn: 973
|
|
|
|
|
|
| |
abstract type resolution at a bad time that broke symbol tables.
llvm-svn: 958
|
|
|
|
|
|
| |
tired typing that much
llvm-svn: 822
|
|
|
|
|
|
|
|
|
| |
* Add minor optimization to BytecodeParser::refineAbstractType
* MethodType::get now take an explicit isVarArg parameter
* Fix encoding/decoding of VarArgs calls
* Support the Invoke instruction
llvm-svn: 760
|
|
|
|
| |
llvm-svn: 708
|
|
|
|
|
|
|
|
| |
* 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: 697
|
|
|
|
|
|
| |
Eliminate old style casts from value.h
llvm-svn: 696
|
|
|
|
|
|
| |
Convert more code to use them
llvm-svn: 695
|
|
|
|
|
|
|
|
| |
writer, and
bytecode reader.
llvm-svn: 668
|
|
|
|
|
|
|
|
|
|
| |
* Support globally unique constants
* Support recursive and forward referenced types
* Support abstract types
* Add new BCR_TRACE macro to enable debugging of why the bytecode reader
occasionally refuses to read something
llvm-svn: 448
|