summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* Verify that alignment amounts are a power of 2Chris Lattner2005-11-051-0/+12
| | | | llvm-svn: 24198
* Add support alignment of allocation instructions.Nate Begeman2005-11-055-3263/+2620
| | | | | | | | | Add support for specifying alignment and size of setjmp jmpbufs. No targets currently do anything with this information, nor is it presrved in the bytecode representation. That's coming up next. llvm-svn: 24196
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-233-219/+222
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* Implement PR614:Reid Spencer2005-08-275-5/+7414
| | | | | | | | | | These changes modify the makefiles so that the output of flex and bison are placed in the SRC directory, not the OBJ directory. It is intended that they be checked in as any other LLVM source so that platforms without convenient access to flex/bison can be compiled. From now on, if you change a .y or .l file you *must* also commit the generated .cpp and .h files. llvm-svn: 23115
* Fix grammarChris Lattner2005-06-241-1/+1
| | | | llvm-svn: 22279
* If we support structs as va_list, we must pass pointers to them to va_copyAndrew Lenharth2005-06-221-11/+16
| | | | | | See last commit for LangRef, this implements it on all targets. llvm-svn: 22273
* because some functions just use va_start and pass things to vfprintfAndrew Lenharth2005-06-201-0/+11
| | | | llvm-svn: 22269
* va_end fixAndrew Lenharth2005-06-191-0/+1
| | | | llvm-svn: 22262
* add a check for the mixing of vaarg and vanext with va_argAndrew Lenharth2005-06-191-0/+9
| | | | llvm-svn: 22260
* core changes for varargsAndrew Lenharth2005-06-182-8/+125
| | | | llvm-svn: 22254
* Give the asmparser the ability to parse strings. Patch contributed byChris Lattner2005-05-204-13/+49
| | | | | | Alexander Friedman llvm-svn: 22146
* * Convert tabs to spaces, fix code alignmentMisha Brukman2005-05-102-77/+75
| | | | | | | * Remove trailing whitespace * Wrap long lines llvm-svn: 21844
* parse new calling conv specifiersChris Lattner2005-05-062-43/+65
| | | | llvm-svn: 21748
* use splice instead of remove/insert for a minor speedupChris Lattner2005-05-061-4/+6
| | | | llvm-svn: 21743
* remove some ugly hacks that are no longer needed since andrew removed theChris Lattner2005-05-061-14/+6
| | | | | | varargs munging code llvm-svn: 21742
* lex tailChris Lattner2005-05-061-0/+1
| | | | llvm-svn: 21729
* Add a 'tail' marker for call instructions, patch contributed byChris Lattner2005-05-061-4/+20
| | | | | | Alexander Friedman. llvm-svn: 21722
* Remove support for 1.0 style varargsAndrew Lenharth2005-05-022-87/+0
| | | | | | amusing of course, because we will have to go back to those semantics soon llvm-svn: 21654
* * Remove trailing whitespaceMisha Brukman2005-04-212-15/+15
| | | | | | * Convert tabs to spaces llvm-svn: 21415
* fix PR549Chris Lattner2005-04-191-1/+3
| | | | llvm-svn: 21360
* don't crash in some bad cases.Chris Lattner2005-03-231-0/+3
| | | | llvm-svn: 20776
* Remove a bunch of cruft and dead code for handling the case when types wereChris Lattner2005-03-211-48/+30
| | | | | | | | | | | | | | | | | defined in function constant pools. The assembler grammar has long disallowed functions from having constant pools, so all of this stuff is dead. This makes it an immediate error for functions to refer to nonexisting types, fixing Regression/Verifier/2005-03-21-UndefinedTypeReference.ll. Before, references to non-existing types in functions would only be detected when the subsequent function was parsed, due to the call to "ResolveTypes". "ResolveTypes" has not resolved any types for a long time, instead it emitted an error message if no resolved types are left. Since the only caller of this method is in the module code, just inline it. llvm-svn: 20726
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-6/+6
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* zapChris Lattner2005-03-051-1/+1
| | | | llvm-svn: 20461
* add more checkingChris Lattner2005-02-241-2/+6
| | | | llvm-svn: 20296
* Do not read free'd memory when printing an error message.Chris Lattner2005-02-241-1/+1
| | | | llvm-svn: 20295
* C++ is not a functional programming language.Chris Lattner2005-02-221-5/+7
| | | | llvm-svn: 20274
* Fix test/Regression/Assembler/2005-01-31-CallingAggregateFunction.llChris Lattner2005-02-011-0/+3
| | | | llvm-svn: 19966
* Apparently := confuses makellvmChris Lattner2005-02-011-1/+1
| | | | llvm-svn: 19965
* Adjust to slight changes in instruction interfaces.Chris Lattner2005-01-291-3/+3
| | | | llvm-svn: 19893
* Silence VS warnings.Chris Lattner2005-01-081-3/+9
| | | | llvm-svn: 19390
* Do not allow empty label names.Alkis Evlogimenos2004-12-101-1/+1
| | | | llvm-svn: 18743
* Implement test/Feature/escaped_label.llChris Lattner2004-12-101-0/+7
| | | | llvm-svn: 18741
* Add support for compilers with arg dependent name lookup, contributed byChris Lattner2004-12-081-1/+2
| | | | | | Bjørn Wennberg llvm-svn: 18628
* For PR409: \Reid Spencer2004-12-061-0/+2
| | | | | | | Make sure to check isValueValidForType on floating point constants and give \ an error if the value is not valid, otherwise it would assert in the VMCore llvm-svn: 18584
* Fix PR463Chris Lattner2004-11-281-1/+4
| | | | llvm-svn: 18303
* Make sure that the yacc and lex output are specified as BUILT_SOURCES.Reid Spencer2004-10-281-8/+7
| | | | | | | | Correct the dependency of the Lexer.o file on the constructed llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on the header, its the output of compiling Lexer.cpp, Lexer.o llvm-svn: 17289
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-271-1/+1
| | | | llvm-svn: 17286
* Plug a memory leak in the asmparser. It turns out that we were leakingChris Lattner2004-10-261-1/+1
| | | | | | | the strings for basic block labels in some cases. This amounted to about 120K of memory for namd, a medium sized program. llvm-svn: 17262
* We won't use automakeReid Spencer2004-10-222-695/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+675
| | | | llvm-svn: 17136
* Parse undef and unreachableChris Lattner2004-10-163-4/+24
| | | | llvm-svn: 17053
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+5
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+19
| | | | llvm-svn: 16885
* Add a check to avoid an assertion on malformed inputChris Lattner2004-10-091-0/+3
| | | | llvm-svn: 16861
* Okay, the list of link-time passes wasn't such a hot idea. Its prone toReid Spencer2004-09-142-17/+1
| | | | | | | error. We'll strategize on this when we have multiple front ends to deal with. For now llvm-ld just runs a standard set of transforms. llvm-svn: 16333
* Add support for the link-time pass list to Modules.Reid Spencer2004-09-132-1/+17
| | | | llvm-svn: 16321
* Changes For Bug 352Reid Spencer2004-09-012-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Examine the type code in the setcc class of instructions and if itReid Spencer2004-08-211-0/+4
| | | | | | | | is a PackedType, throw an error. Temporary solution. Patch contributed by Brad Jones. llvm-svn: 15963
* quish a warningChris Lattner2004-08-201-1/+1
| | | | llvm-svn: 15954
OpenPOWER on IntegriCloud