Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -4/+5 | |
| | | | | | | contexts through a number of APIs. llvm-svn: 78258 | |||||
* | Factor some of the constants+context related code out into a separate ↵ | Owen Anderson | 2009-08-04 | 1 | -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 Anderson | 2009-07-31 | 1 | -5/+5 | |
| | | | | llvm-svn: 77733 | |||||
* | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 1 | -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 Anderson | 2009-07-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 77685 | |||||
* | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -6/+6 | |
| | | | | llvm-svn: 77635 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 2 | -19/+19 | |
| | | | | llvm-svn: 77516 | |||||
* | There is no need to keep name ref in NamedMDNode. | Devang Patel | 2009-07-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 77511 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -12/+12 | |
| | | | | llvm-svn: 77494 | |||||
* | Minor code simplification. | Dan Gohman | 2009-07-29 | 1 | -5/+2 | |
| | | | | llvm-svn: 77459 | |||||
* | Parse named metadata. | Devang Patel | 2009-07-29 | 5 | -1/+56 | |
| | | | | llvm-svn: 77410 | |||||
* | Rename MDNode.h header. It defines MDnode and other metadata classes. | Devang Patel | 2009-07-28 | 1 | -1/+1 | |
| | | | | | | New name is Metadata.h. llvm-svn: 77370 | |||||
* | Return ConstantVector to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77366 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77347 | |||||
* | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -2/+2 | |
| | | | | llvm-svn: 77266 | |||||
* | Add a new keyword 'inbounds' for use with getelementptr. See the | Dan Gohman | 2009-07-27 | 3 | -2/+17 | |
| | | | | | | LangRef.html changes for details. llvm-svn: 77259 | |||||
* | Move ConstantFP construction back to the 2.5-ish API. | Owen Anderson | 2009-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 77247 | |||||
* | Change the assembly syntax for nsw, nuw, and exact, putting them | Dan Gohman | 2009-07-27 | 1 | -91/+71 | |
| | | | | | | | after their associated opcodes rather than before. This makes them a little easier to read. llvm-svn: 77194 | |||||
* | Test commit: fix typo | Benjamin Kramer | 2009-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 77187 | |||||
* | Finish migrating VMCore to StringRef/Twine based APIs. | Daniel Dunbar | 2009-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 77051 | |||||
* | Move ExtractElementInst to ::Create instead of new. Update all uses. | Eric Christopher | 2009-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 77044 | |||||
* | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -1/+1 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | Fix assert assembling zero-argument constant GEP. | Eli Friedman | 2009-07-24 | 1 | -2/+3 | |
| | | | | | | | There's still a strict-aliasing violation here, but I don't feel like dealing with that right now... llvm-svn: 77005 | |||||
* | MDString | Devang Patel | 2009-07-23 | 1 | -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 Patel | 2009-07-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 76836 | |||||
* | Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵ | Devang Patel | 2009-07-23 | 2 | -15/+24 | |
| | | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834 | |||||
* | Fix error message for correct opcode. | Eric Christopher | 2009-07-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 76829 | |||||
* | Rename the new unsigned and signed keywords to nuw and nsw, | Dan Gohman | 2009-07-22 | 3 | -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 Patel | 2009-07-22 | 2 | -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 Anderson | 2009-07-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 76598 | |||||
* | Assembly and Bitcode support for unsigned/signed overflow flags and | Dan Gohman | 2009-07-20 | 3 | -0/+94 | |
| | | | | | | exact sdiv flags. llvm-svn: 76475 | |||||
* | Refactor metadata parsing routines into separate functions. | Devang Patel | 2009-07-20 | 2 | -27/+46 | |
| | | | | llvm-svn: 76455 | |||||
* | Add plumbing for the `linker_private' linkage type. This type is meant for | Bill Wendling | 2009-07-20 | 3 | -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 functions | Anton Korobeynikov | 2009-07-17 | 3 | -0/+3 | |
| | | | | llvm-svn: 76198 | |||||
* | Revert yesterday's change by removing the LLVMContext parameter to ↵ | Owen Anderson | 2009-07-15 | 1 | -2/+2 | |
| | | | | | | AllocaInst and MallocInst. llvm-svn: 75863 | |||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 75703 | |||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 2 | -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 Edwin | 2009-07-11 | 2 | -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 Anderson | 2009-07-09 | 1 | -2/+2 | |
| | | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200 | |||||
* | Fix thinko. | Devang Patel | 2009-07-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 75061 | |||||
* | Drop "constant" from | Devang Patel | 2009-07-08 | 1 | -3/+1 | |
| | | | | | | !0 = constant metadata !{...} llvm-svn: 75057 | |||||
* | Support MDNode forward reference. | Devang Patel | 2009-07-08 | 2 | -3/+34 | |
| | | | | llvm-svn: 75031 | |||||
* | Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵ | Owen Anderson | 2009-07-08 | 1 | -7/+6 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Remove the vicmp and vfcmp instructions. Because we never had a release with | Nick Lewycky | 2009-07-08 | 3 | -34/+8 | |
| | | | | | | | these instructions, no autoupgrade or backwards compatibility support is provided. llvm-svn: 74991 | |||||
* | Push LLVMContext through GlobalVariables and IRBuilder. | Owen Anderson | 2009-07-08 | 1 | -3/+4 | |
| | | | | llvm-svn: 74985 | |||||
* | Use LLVMContext in the LLLexer. | Owen Anderson | 2009-07-07 | 3 | -5/+10 | |
| | | | | llvm-svn: 74934 | |||||
* | switch the .ll parser to use SourceMgr. | Chris Lattner | 2009-07-02 | 5 | -38/+28 | |
| | | | | llvm-svn: 74735 | |||||
* | switch the .ll parser into SMDiagnostic. | Chris Lattner | 2009-07-02 | 4 | -45/+15 | |
| | | | | llvm-svn: 74734 | |||||
* | Use LLVMContext for generating MDStrings too. | Owen Anderson | 2009-07-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 74710 | |||||
* | Use LLVMContext to generate metadata constants. | Owen Anderson | 2009-07-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 74708 |