|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 7245 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - 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.
Writer changes:
  - We now explictly encode versioning information in the bytecode files.
  - This allows new code to read bytecode files produced by old code, but
    new bytecode files can have enhancements such as the above.  Although this
    makes the reader a bit more complex (having to deal with old formats), the
    writer only needs to be able to produce the most recent version.
llvm-svn: 5749 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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: 3161 | 
| | 
| 
| 
| | llvm-svn: 2899 | 
| | 
| 
| 
| | llvm-svn: 2378 | 
| | 
| 
| 
| | 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: 959 | 
| | 
| 
| 
| 
| 
| | tired typing that much
llvm-svn: 822 | 
| | 
| 
| 
| 
| 
| 
| 
| | * Add real support for global variable addresses initializing constants
* Fix encoding/decoding of VarArgs calls
* Support the Invoke instruction
llvm-svn: 761 | 
| | 
| 
| 
| | llvm-svn: 697 | 
| | 
| 
| 
| 
| 
| 
| 
| | writer, and
bytecode reader.
llvm-svn: 668 | 
| | 
| 
| 
| 
| 
| | Use correct cast
llvm-svn: 539 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * Internal rep no longer has a constant pool
* Support emission of recursive types
* Don't output a constant pool for an external method
* The bytecode writer is no longer a module analyzer
llvm-svn: 449 | 
| | 
| 
| 
| | llvm-svn: 297 | 
| | 
| 
| 
| | llvm-svn: 190 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Operands are maintained as a vector<Use> in the User class, and operator
iterators are provided as before.  Getting an operand no longer requires
a virtual function call.
WARNING: getOperand(x) where x >= getNumOperands() will now assert instead
of returning null!
llvm-svn: 149 | 
| | 
| 
| 
| | llvm-svn: 89 | 
|  | llvm-svn: 2 |