Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove redundant const qualifiers from cast<> expressions | Chris Lattner | 2003-07-23 | 1 | -10/+10 | |
| | | | | llvm-svn: 7253 | |||||
* | The word `separate' only has one `e'. | Misha Brukman | 2003-07-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 7173 | |||||
* | Add support for a new zeroinitializer token which can be used to get rid of | Chris Lattner | 2003-06-28 | 1 | -1/+6 | |
| | | | | | | huge arrays of zero initialized values llvm-svn: 6937 | |||||
* | Detemplatize the PATypeHandle class, which was only really instantiated on ↵ | Chris Lattner | 2003-06-18 | 1 | -2/+2 | |
| | | | | | | 'Type'. llvm-svn: 6774 | |||||
* | Fix bugs: | Chris Lattner | 2003-05-21 | 1 | -1/+3 | |
| | | | | | | | Assembler/2003-05-21-MalformedShiftCrash.llx Assembler/2003-05-21-ConstantShiftExpr.ll llvm-svn: 6258 | |||||
* | Fix bugs: | Chris Lattner | 2003-05-21 | 1 | -0/+15 | |
| | | | | | | | Assembler/2003-05-21-EmptyStructTest.ll Assembler/2003-05-21-MalformedStructCrash.llx llvm-svn: 6255 | |||||
* | Fix bug: Assembler/2003-05-15-SwitchBug.ll | Chris Lattner | 2003-05-15 | 1 | -0/+5 | |
| | | | | llvm-svn: 6239 | |||||
* | Add support for the new va_arg instruction | Chris Lattner | 2003-05-08 | 1 | -1/+5 | |
| | | | | llvm-svn: 6029 | |||||
* | Fix bug: Assembler/2003-04-25-UnresolvedGlobalReference.ll | Chris Lattner | 2003-04-25 | 1 | -1/+19 | |
| | | | | llvm-svn: 5948 | |||||
* | Allow information about the target to be specified in the .ll file | Chris Lattner | 2003-04-22 | 1 | -1/+22 | |
| | | | | llvm-svn: 5843 | |||||
* | Namespacify | Chris Lattner | 2003-04-22 | 1 | -84/+84 | |
| | | | | llvm-svn: 5840 | |||||
* | Preserve module source information in the ModuleID | Chris Lattner | 2003-04-22 | 1 | -1/+2 | |
| | | | | llvm-svn: 5836 | |||||
* | Add new linkage types to support a real frontend | Chris Lattner | 2003-04-16 | 1 | -14/+19 | |
| | | | | llvm-svn: 5786 | |||||
* | Don't allow declaring an external internal variable | Chris Lattner | 2003-04-16 | 1 | -28/+30 | |
| | | | | llvm-svn: 5781 | |||||
* | Fix bug: Assember2003-04-15-ConstantInitAssertion.llx | Chris Lattner | 2003-04-15 | 1 | -2/+9 | |
| | | | | llvm-svn: 5777 | |||||
* | Fix bug: Assembler/2003-03-03-DuplicateConstant.ll | Chris Lattner | 2003-03-03 | 1 | -4/+6 | |
| | | | | llvm-svn: 5692 | |||||
* | Fix bug: Assembler/2003-02-02-ConstGlobal.ll | Chris Lattner | 2003-02-02 | 1 | -6/+6 | |
| | | | | llvm-svn: 5467 | |||||
* | Fix bug: Assembler/2003-01-30-UnsignedString.ll | Chris Lattner | 2003-01-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 5445 | |||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -12/+14 | |
| | | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779 | |||||
* | - Fix bug: Assembler/2002-10-15-NameClash.ll | Chris Lattner | 2002-10-15 | 1 | -42/+42 | |
| | | | | | | - Clean up code a bit, s/Method/Function/ llvm-svn: 4188 | |||||
* | This loop executed exactly one time, turn it into straightline code | Chris Lattner | 2002-10-14 | 1 | -8/+6 | |
| | | | | llvm-svn: 4159 | |||||
* | - Change Function's so that their argument list is populated when they are | Chris Lattner | 2002-10-13 | 1 | -31/+36 | |
| | | | | | | | constructed. Before, external functions would have an empty argument list, now a Function ALWAYS has a populated argument list. llvm-svn: 4149 | |||||
* | Minor, non-functionality changing, formatting fix | Chris Lattner | 2002-10-09 | 1 | -6/+6 | |
| | | | | llvm-svn: 4091 | |||||
* | The parser now accepts "external" global variables, in addition to the backwards | Chris Lattner | 2002-10-06 | 1 | -3/+3 | |
| | | | | | | compatible "uninitialized" global variables llvm-svn: 4050 | |||||
* | Change the MallocInst & AllocaInst ctors to take the allocated type, not the | Chris Lattner | 2002-09-13 | 1 | -7/+4 | |
| | | | | | | pointer type returned. llvm-svn: 3710 | |||||
* | Recently changed getelementptr to use 'long' indexes for sequential types | Chris Lattner | 2002-09-11 | 1 | -0/+10 | |
| | | | | | | | instead of uints. This adds a translation scheme to be backwards compatible with old .ll files. llvm-svn: 3679 | |||||
* | Use explicit ctor | Chris Lattner | 2002-09-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 3663 | |||||
* | Tighten up error checking in parser, disallowing instructions that f.e., | Chris Lattner | 2002-09-10 | 1 | -3/+23 | |
| | | | | | | add pointers together. llvm-svn: 3660 | |||||
* | Load & StoreInst no longer derive from MemAccessInst, so we don't have | Chris Lattner | 2002-08-22 | 1 | -2/+2 | |
| | | | | | | to handle indexing anymore llvm-svn: 3484 | |||||
* | - Fix asmparser and bytecode reader to not generate loads/stores with idxs | Chris Lattner | 2002-08-21 | 1 | -3/+36 | |
| | | | | | | | Now an obnoxious warning is emitted to discourage usage. Eventually support will be removed. llvm-svn: 3435 | |||||
* | - Remove unused STRING token from lexer & parser | Chris Lattner | 2002-08-16 | 1 | -45/+38 | |
| | | | | | | | | | | - Changed parser to always use parenthesis on ConstExprs to be consistent - Parser now passes TRUE and FALSE tokens as a special case of the ConstExpr machinery instead of a special case of constant int stuff - Fix the AsmParser to use ValueRef ::= ConstExpr, and remove ResolvedVal ::= ConstExpr this allows constexprs to be used in PHI nodes llvm-svn: 3362 | |||||
* | Parse const expr cast instruction the same way the instruction is formed | Chris Lattner | 2002-08-15 | 1 | -2/+5 | |
| | | | | llvm-svn: 3353 | |||||
* | Move ConstExpr production to unify ConstVal stuff | Chris Lattner | 2002-08-15 | 1 | -20/+20 | |
| | | | | llvm-svn: 3351 | |||||
* | Fix bug: test/Regression/Assembler/2002-08-15-UnresolvedGlobalReference.ll | Chris Lattner | 2002-08-15 | 1 | -1/+13 | |
| | | | | llvm-svn: 3350 | |||||
* | Remove support for Not ConstantExpr. This simplifies the unary case to only | Chris Lattner | 2002-08-14 | 1 | -1/+1 | |
| | | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328 | |||||
* | AsmParser turns 'not' instructions into 'xor' instructions now. | Chris Lattner | 2002-08-14 | 1 | -20/+14 | |
| | | | | llvm-svn: 3309 | |||||
* | Cleanup ConstantExpr handling: | Chris Lattner | 2002-07-30 | 1 | -13/+30 | |
| | | | | | | | | | | | | | | * 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 | |||||
* | Add check to fix bug: | Chris Lattner | 2002-07-25 | 1 | -0/+5 | |
| | | | | | | test/Regression/Assembler/2002-07-25-ParserAssertionFailure.llx llvm-svn: 3101 | |||||
* | GCC 3.1 changes | Chris Lattner | 2002-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 3074 | |||||
* | * Code cleanups | Chris Lattner | 2002-07-18 | 1 | -20/+16 | |
| | | | | | | * Fix a REALLY misleading error message llvm-svn: 2960 | |||||
* | ConstExpr::getelementptr now takes a vector of Constants not Values | Chris Lattner | 2002-07-18 | 1 | -1/+11 | |
| | | | | llvm-svn: 2948 | |||||
* | Fix bug: test/Regression/Assembler/2002-07-14-InternalLossage.llx | Chris Lattner | 2002-07-15 | 1 | -0/+5 | |
| | | | | llvm-svn: 2907 | |||||
* | Added support for parsing expressions constructed from constant values. | Vikram S. Adve | 2002-07-14 | 1 | -20/+62 | |
| | | | | | | | | (Major new non-terminal is ConstExpr.) Add YYERROR_VERBOSE and print additional information on errors. llvm-svn: 2894 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -28/+27 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | |||||
* | * Be more typesafe: cast<x> now no longer discards constness | Chris Lattner | 2002-06-04 | 1 | -61/+61 | |
| | | | | | | | * The newly installed version of Bison now really likes there to be ;'s after productions. Add them to avoid tons of warnings. llvm-svn: 2757 | |||||
* | Support function declarations with either %XXX or "XXX" style for now | Chris Lattner | 2002-05-22 | 1 | -2/+4 | |
| | | | | | | | "XXX" style should be considered deprecated, and will hopefully be removed in the future. llvm-svn: 2727 | |||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -5/+5 | |
| | | | | llvm-svn: 2486 | |||||
* | Remove dead code | Chris Lattner | 2002-05-06 | 1 | -6/+0 | |
| | | | | llvm-svn: 2473 | |||||
* | Allow open/closing curly braces instead of begin/end to define the body of a ↵ | Chris Lattner | 2002-05-03 | 1 | -2/+6 | |
| | | | | | | function llvm-svn: 2451 | |||||
* | * Fix a bug (test/Regression/Assembler/2002-05-02-InvalidForwardRef.ll) | Chris Lattner | 2002-05-02 | 1 | -2/+3 | |
| | | | | | | | introduced in the 1.66 revision of this file. * Convert a hard coded constant to a symbolic value. llvm-svn: 2436 |