summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* Privatize the StructType table, which unfortunately involves routing ↵Owen Anderson2009-08-051-4/+5
| | | | | | contexts through a number of APIs. llvm-svn: 78258
* Factor some of the constants+context related code out into a separate ↵Owen Anderson2009-08-041-1/+1
| | | | | | | | header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. llvm-svn: 78115
* Move the metadata constructors back to 2.5 syntax.Owen Anderson2009-07-311-5/+5
| | | | llvm-svn: 77733
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-311-1/+1
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson2009-07-311-2/+2
| | | | llvm-svn: 77685
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-6/+6
| | | | llvm-svn: 77635
* Move types back to the 2.5 API.Owen Anderson2009-07-292-19/+19
| | | | llvm-svn: 77516
* There is no need to keep name ref in NamedMDNode.Devang Patel2009-07-291-2/+1
| | | | llvm-svn: 77511
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-12/+12
| | | | llvm-svn: 77494
* Minor code simplification.Dan Gohman2009-07-291-5/+2
| | | | llvm-svn: 77459
* Parse named metadata.Devang Patel2009-07-295-1/+56
| | | | llvm-svn: 77410
* Rename MDNode.h header. It defines MDnode and other metadata classes.Devang Patel2009-07-281-1/+1
| | | | | | New name is Metadata.h. llvm-svn: 77370
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-281-1/+1
| | | | llvm-svn: 77366
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-281-2/+2
| | | | llvm-svn: 77347
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-2/+2
| | | | llvm-svn: 77266
* Add a new keyword 'inbounds' for use with getelementptr. See theDan Gohman2009-07-273-2/+17
| | | | | | LangRef.html changes for details. llvm-svn: 77259
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-1/+1
| | | | llvm-svn: 77247
* Change the assembly syntax for nsw, nuw, and exact, putting themDan Gohman2009-07-271-91/+71
| | | | | | | after their associated opcodes rather than before. This makes them a little easier to read. llvm-svn: 77194
* Test commit: fix typoBenjamin Kramer2009-07-271-1/+1
| | | | llvm-svn: 77187
* Finish migrating VMCore to StringRef/Twine based APIs.Daniel Dunbar2009-07-251-1/+1
| | | | llvm-svn: 77051
* Move ExtractElementInst to ::Create instead of new. Update all uses.Eric Christopher2009-07-251-1/+1
| | | | llvm-svn: 77044
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-1/+1
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Fix assert assembling zero-argument constant GEP.Eli Friedman2009-07-241-2/+3
| | | | | | | There's still a strict-aliasing violation here, but I don't feel like dealing with that right now... llvm-svn: 77005
* MDStringDevang Patel2009-07-231-1/+1
| | | | | | | - Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. llvm-svn: 76841
* Silence "uninitialized use" warning.Devang Patel2009-07-231-1/+1
| | | | llvm-svn: 76836
* Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵Devang Patel2009-07-232-15/+24
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Fix error message for correct opcode.Eric Christopher2009-07-231-1/+1
| | | | llvm-svn: 76829
* Rename the new unsigned and signed keywords to nuw and nsw,Dan Gohman2009-07-223-24/+24
| | | | | | which stand for no-unsigned-wrap and no-signed-wrap. llvm-svn: 76810
* Introduce MetadataBase, a base class for MDString and MDNode.Devang Patel2009-07-222-8/+30
| | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759
* Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson2009-07-211-2/+2
| | | | llvm-svn: 76598
* Assembly and Bitcode support for unsigned/signed overflow flags andDan Gohman2009-07-203-0/+94
| | | | | | exact sdiv flags. llvm-svn: 76475
* Refactor metadata parsing routines into separate functions.Devang Patel2009-07-202-27/+46
| | | | llvm-svn: 76455
* Add plumbing for the `linker_private' linkage type. This type is meant forBill Wendling2009-07-203-28/+35
| | | | | | | | | "private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
* Add support for naked functionsAnton Korobeynikov2009-07-173-0/+3
| | | | llvm-svn: 76198
* Revert yesterday's change by removing the LLVMContext parameter to ↵Owen Anderson2009-07-151-2/+2
| | | | | | AllocaInst and MallocInst. llvm-svn: 75863
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-141-2/+2
| | | | llvm-svn: 75703
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-142-3/+3
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-112-3/+5
| | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
* This started as a small change, I swear. Unfortunately, lots of things call ↵Owen Anderson2009-07-091-2/+2
| | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
* Fix thinko.Devang Patel2009-07-081-1/+1
| | | | llvm-svn: 75061
* Drop "constant" from Devang Patel2009-07-081-3/+1
| | | | | | !0 = constant metadata !{...} llvm-svn: 75057
* Support MDNode forward reference.Devang Patel2009-07-082-3/+34
| | | | llvm-svn: 75031
* Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵Owen Anderson2009-07-081-7/+6
| | | | | | module is required. llvm-svn: 75025
* Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky2009-07-083-34/+8
| | | | | | | these instructions, no autoupgrade or backwards compatibility support is provided. llvm-svn: 74991
* Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson2009-07-081-3/+4
| | | | llvm-svn: 74985
* Use LLVMContext in the LLLexer.Owen Anderson2009-07-073-5/+10
| | | | llvm-svn: 74934
* switch the .ll parser to use SourceMgr.Chris Lattner2009-07-025-38/+28
| | | | llvm-svn: 74735
* switch the .ll parser into SMDiagnostic.Chris Lattner2009-07-024-45/+15
| | | | llvm-svn: 74734
* Use LLVMContext for generating MDStrings too.Owen Anderson2009-07-021-1/+1
| | | | llvm-svn: 74710
* Use LLVMContext to generate metadata constants.Owen Anderson2009-07-021-1/+1
| | | | llvm-svn: 74708
OpenPOWER on IntegriCloud