summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/llvmAsmParser.y
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove redundant const qualifiers from cast<> expressionsChris Lattner2003-07-231-10/+10
| | | | llvm-svn: 7253
* The word `separate' only has one `e'.Misha Brukman2003-07-141-1/+1
| | | | llvm-svn: 7173
* Add support for a new zeroinitializer token which can be used to get rid ofChris Lattner2003-06-281-1/+6
| | | | | | huge arrays of zero initialized values llvm-svn: 6937
* Detemplatize the PATypeHandle class, which was only really instantiated on ↵Chris Lattner2003-06-181-2/+2
| | | | | | 'Type'. llvm-svn: 6774
* Fix bugs:Chris Lattner2003-05-211-1/+3
| | | | | | | Assembler/2003-05-21-MalformedShiftCrash.llx Assembler/2003-05-21-ConstantShiftExpr.ll llvm-svn: 6258
* Fix bugs:Chris Lattner2003-05-211-0/+15
| | | | | | | Assembler/2003-05-21-EmptyStructTest.ll Assembler/2003-05-21-MalformedStructCrash.llx llvm-svn: 6255
* Fix bug: Assembler/2003-05-15-SwitchBug.llChris Lattner2003-05-151-0/+5
| | | | llvm-svn: 6239
* Add support for the new va_arg instructionChris Lattner2003-05-081-1/+5
| | | | llvm-svn: 6029
* Fix bug: Assembler/2003-04-25-UnresolvedGlobalReference.llChris Lattner2003-04-251-1/+19
| | | | llvm-svn: 5948
* Allow information about the target to be specified in the .ll fileChris Lattner2003-04-221-1/+22
| | | | llvm-svn: 5843
* NamespacifyChris Lattner2003-04-221-84/+84
| | | | llvm-svn: 5840
* Preserve module source information in the ModuleIDChris Lattner2003-04-221-1/+2
| | | | llvm-svn: 5836
* Add new linkage types to support a real frontendChris Lattner2003-04-161-14/+19
| | | | llvm-svn: 5786
* Don't allow declaring an external internal variableChris Lattner2003-04-161-28/+30
| | | | llvm-svn: 5781
* Fix bug: Assember2003-04-15-ConstantInitAssertion.llxChris Lattner2003-04-151-2/+9
| | | | llvm-svn: 5777
* Fix bug: Assembler/2003-03-03-DuplicateConstant.llChris Lattner2003-03-031-4/+6
| | | | llvm-svn: 5692
* Fix bug: Assembler/2003-02-02-ConstGlobal.llChris Lattner2003-02-021-6/+6
| | | | llvm-svn: 5467
* Fix bug: Assembler/2003-01-30-UnsignedString.llChris Lattner2003-01-301-1/+1
| | | | llvm-svn: 5445
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-12/+14
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* - Fix bug: Assembler/2002-10-15-NameClash.llChris Lattner2002-10-151-42/+42
| | | | | | - Clean up code a bit, s/Method/Function/ llvm-svn: 4188
* This loop executed exactly one time, turn it into straightline codeChris Lattner2002-10-141-8/+6
| | | | llvm-svn: 4159
* - Change Function's so that their argument list is populated when they areChris Lattner2002-10-131-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 fixChris Lattner2002-10-091-6/+6
| | | | llvm-svn: 4091
* The parser now accepts "external" global variables, in addition to the backwardsChris Lattner2002-10-061-3/+3
| | | | | | compatible "uninitialized" global variables llvm-svn: 4050
* Change the MallocInst & AllocaInst ctors to take the allocated type, not theChris Lattner2002-09-131-7/+4
| | | | | | pointer type returned. llvm-svn: 3710
* Recently changed getelementptr to use 'long' indexes for sequential typesChris Lattner2002-09-111-0/+10
| | | | | | | instead of uints. This adds a translation scheme to be backwards compatible with old .ll files. llvm-svn: 3679
* Use explicit ctorChris Lattner2002-09-101-1/+2
| | | | llvm-svn: 3663
* Tighten up error checking in parser, disallowing instructions that f.e.,Chris Lattner2002-09-101-3/+23
| | | | | | add pointers together. llvm-svn: 3660
* Load & StoreInst no longer derive from MemAccessInst, so we don't haveChris Lattner2002-08-221-2/+2
| | | | | | to handle indexing anymore llvm-svn: 3484
* - Fix asmparser and bytecode reader to not generate loads/stores with idxsChris Lattner2002-08-211-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 & parserChris Lattner2002-08-161-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 formedChris Lattner2002-08-151-2/+5
| | | | llvm-svn: 3353
* Move ConstExpr production to unify ConstVal stuffChris Lattner2002-08-151-20/+20
| | | | llvm-svn: 3351
* Fix bug: test/Regression/Assembler/2002-08-15-UnresolvedGlobalReference.llChris Lattner2002-08-151-1/+13
| | | | llvm-svn: 3350
* Remove support for Not ConstantExpr. This simplifies the unary case to onlyChris Lattner2002-08-141-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 Lattner2002-08-141-20/+14
| | | | llvm-svn: 3309
* Cleanup ConstantExpr handling:Chris Lattner2002-07-301-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 Lattner2002-07-251-0/+5
| | | | | | test/Regression/Assembler/2002-07-25-ParserAssertionFailure.llx llvm-svn: 3101
* GCC 3.1 changesChris Lattner2002-07-251-1/+1
| | | | llvm-svn: 3074
* * Code cleanupsChris Lattner2002-07-181-20/+16
| | | | | | * Fix a REALLY misleading error message llvm-svn: 2960
* ConstExpr::getelementptr now takes a vector of Constants not ValuesChris Lattner2002-07-181-1/+11
| | | | llvm-svn: 2948
* Fix bug: test/Regression/Assembler/2002-07-14-InternalLossage.llxChris Lattner2002-07-151-0/+5
| | | | llvm-svn: 2907
* Added support for parsing expressions constructed from constant values.Vikram S. Adve2002-07-141-20/+62
| | | | | | | | (Major new non-terminal is ConstExpr.) Add YYERROR_VERBOSE and print additional information on errors. llvm-svn: 2894
* MEGAPATCH checkin.Chris Lattner2002-06-251-28/+27
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* * Be more typesafe: cast<x> now no longer discards constnessChris Lattner2002-06-041-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 nowChris Lattner2002-05-221-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 Lattner2002-05-061-5/+5
| | | | llvm-svn: 2486
* Remove dead codeChris Lattner2002-05-061-6/+0
| | | | llvm-svn: 2473
* Allow open/closing curly braces instead of begin/end to define the body of a ↵Chris Lattner2002-05-031-2/+6
| | | | | | function llvm-svn: 2451
* * Fix a bug (test/Regression/Assembler/2002-05-02-InvalidForwardRef.ll)Chris Lattner2002-05-021-2/+3
| | | | | | | introduced in the 1.66 revision of this file. * Convert a hard coded constant to a symbolic value. llvm-svn: 2436
OpenPOWER on IntegriCloud