summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-291-0/+36
| | | | 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-271-2/+15
| | | | | | 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-231-12/+21
| | | | | | 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-221-20/+20
| | | | | | 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-221-7/+28
| | | | | | | 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-201-0/+88
| | | | | | exact sdiv flags. llvm-svn: 76475
* Refactor metadata parsing routines into separate functions.Devang Patel2009-07-201-27/+44
| | | | llvm-svn: 76455
* Add plumbing for the `linker_private' linkage type. This type is meant forBill Wendling2009-07-201-26/+31
| | | | | | | | | "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-171-0/+1
| | | | 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-141-2/+2
| | | | | | | | | 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-111-2/+3
| | | | | | | | | 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-081-3/+32
| | | | 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-081-32/+7
| | | | | | | 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
* switch the .ll parser to use SourceMgr.Chris Lattner2009-07-021-4/+4
| | | | llvm-svn: 74735
* 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
* Use LLVMContext for generating UndefValue constants too!Owen Anderson2009-07-021-7/+7
| | | | llvm-svn: 74703
* Try again at converting the LLParser to use LLVMContext, without massive ↵Owen Anderson2009-07-011-45/+51
| | | | | | breakage this time. llvm-svn: 74671
* --- Reverse-merging (from foreign repository) r74648 into '.':Bill Wendling2009-07-011-4/+3
| | | | | | | | | | | U include/llvm/LLVMContext.h U lib/VMCore/LLVMContext.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLParser.h Temporarily reverting r74648. It was causing massive failures in release mode. llvm-svn: 74653
* Convert LLParser to use LLVMContext for creating constants.Owen Anderson2009-07-011-3/+4
| | | | llvm-svn: 74648
* Support stand alone metadata syntax.Devang Patel2009-07-011-0/+40
| | | | | | | !0 = constant metadata !{i32 21, i32 22} @llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0} llvm-svn: 74630
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-011-1/+1
| | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
* Address review comments: add 3 ARM calling conventions.Anton Korobeynikov2009-06-161-1/+7
| | | | | | | Dispatch C calling conv. to one of these conventions based on target triple and subtarget features. llvm-svn: 73530
* Fix a typo in a diagnostic.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73429
* Fix old-style type names in comments.Dan Gohman2009-06-141-3/+3
| | | | llvm-svn: 73362
OpenPOWER on IntegriCloud