Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Reapply 79977. | Devang Patel | 2009-08-28 | 1 | -2/+5 | |
| | | | | | | Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406 | |||||
* | Revert 79977. It causes llvm-gcc bootstrap failures on some platforms. | Devang Patel | 2009-08-26 | 1 | -5/+2 | |
| | | | | llvm-svn: 80073 | |||||
* | Eliminate the unused Context argument on one of the ICmpInst and FCmpInst | Dan Gohman | 2009-08-25 | 1 | -2/+2 | |
| | | | | | | constructors. llvm-svn: 80049 | |||||
* | Update DebugInfo interface to use metadata, instead of special named ↵ | Devang Patel | 2009-08-25 | 1 | -2/+5 | |
| | | | | | | | | llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977 | |||||
* | Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap | Dan Gohman | 2009-08-20 | 1 | -4/+4 | |
| | | | | | | and hasNoSignedWrap, for consistency with the nuw and nsw properties. llvm-svn: 79539 | |||||
* | Switch to SmallString::str from SmallString::c_str, and remove | Daniel Dunbar | 2009-08-19 | 1 | -1/+1 | |
| | | | | | | SmallString::c_str. llvm-svn: 79456 | |||||
* | Actually privatize a IntegerTypes, and fix a few bugs exposed by this. | Owen Anderson | 2009-08-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 78955 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -42/+42 | |
| | | | | llvm-svn: 78948 | |||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -2/+2 | |
| | | | | | | contexts through a number of APIs. llvm-svn: 78258 | |||||
* | Use separate ValueList for metadata. | Devang Patel | 2009-08-04 | 1 | -6/+44 | |
| | | | | | | This fixes PR4666. llvm-svn: 78056 | |||||
* | Move the metadata constructors back to 2.5 syntax. | Owen Anderson | 2009-07-31 | 1 | -2/+3 | |
| | | | | 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 | -2/+2 | |
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | |||||
* | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -8/+8 | |
| | | | | llvm-svn: 77635 | |||||
* | Read and write NamedMDNode. | Devang Patel | 2009-07-29 | 1 | -0/+27 | |
| | | | | llvm-svn: 77517 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -11/+11 | |
| | | | | llvm-svn: 77516 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -10/+10 | |
| | | | | llvm-svn: 77494 | |||||
* | 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 | -2/+2 | |
| | | | | llvm-svn: 77366 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -4/+4 | |
| | | | | 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 | 1 | -0/+6 | |
| | | | | | | LangRef.html changes for details. llvm-svn: 77259 | |||||
* | Move ConstantFP construction back to the 2.5-ish API. | Owen Anderson | 2009-07-27 | 1 | -5/+5 | |
| | | | | llvm-svn: 77247 | |||||
* | Remove Value::setName(const char*, unsigned). | Daniel Dunbar | 2009-07-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 77100 | |||||
* | Finish migrating VMCore to StringRef/Twine based APIs. | Daniel Dunbar | 2009-07-25 | 1 | -2/+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 | -5/+6 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | 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 | |||||
* | Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵ | Devang Patel | 2009-07-23 | 1 | -16/+17 | |
| | | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834 | |||||
* | Introduce MetadataBase, a base class for MDString and MDNode. | Devang Patel | 2009-07-22 | 1 | -9/+54 | |
| | | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759 | |||||
* | Assembly and Bitcode support for unsigned/signed overflow flags and | Dan Gohman | 2009-07-20 | 1 | -4/+23 | |
| | | | | | | exact sdiv flags. llvm-svn: 76475 | |||||
* | Add plumbing for the `linker_private' linkage type. This type is meant for | Bill Wendling | 2009-07-20 | 1 | -10/+11 | |
| | | | | | | | | | "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 | |||||
* | Revert yesterday's change by removing the LLVMContext parameter to ↵ | Owen Anderson | 2009-07-15 | 1 | -4/+2 | |
| | | | | | | AllocaInst and MallocInst. llvm-svn: 75863 | |||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -2/+4 | |
| | | | | llvm-svn: 75703 | |||||
* | 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 | |||||
* | Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵ | Owen Anderson | 2009-07-08 | 1 | -1/+1 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Remove the vicmp and vfcmp instructions. Because we never had a release with | Nick Lewycky | 2009-07-08 | 1 | -28/+10 | |
| | | | | | | | 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 | -1/+1 | |
| | | | | llvm-svn: 74985 | |||||
* | LLVMContext-ify the bitcode reader. | Owen Anderson | 2009-07-07 | 1 | -55/+62 | |
| | | | | llvm-svn: 74942 | |||||
* | !"i" is a valid MDString. | Devang Patel | 2009-07-06 | 1 | -1/+0 | |
| | | | | llvm-svn: 74881 | |||||
* | Make the use of const with respect to LLVMContext sane. Hopefully this is ↵ | Owen Anderson | 2009-07-01 | 1 | -2/+2 | |
| | | | | | | | | the last time, for the moment, that I will need to make far-reaching changes. llvm-svn: 74655 | |||||
* | Hold the LLVMContext by reference rather than by pointer. | Owen Anderson | 2009-07-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 74640 | |||||
* | Add a pointer to the owning LLVMContext to Module. This requires threading ↵ | Owen Anderson | 2009-07-01 | 1 | -4/+7 | |
| | | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614 | |||||
* | Fix PR4336: Iterating over use-def chains doesn't seem to be deterministic. | Chris Lattner | 2009-06-16 | 1 | -6/+5 | |
| | | | | | | | | | | | | | The problem was that BitcodeReader::materializeModule would read functions from the bc file in densemap pointer key order (doubly non-deterministic!), which would cause the use-def chains to be set up for globals in non-determinstic order. Non-determinstic use/def chains can cause nondeterminism in many places down-stream. Many thanks to Julien Lerouge for putting together the pass in the PR that shows the issue! llvm-svn: 73470 | |||||
* | Split the Add, Sub, and Mul instruction opcodes into separate | Dan Gohman | 2009-06-04 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897 | |||||
* | Update the bitcode reader to support reading .bc files where the embedded | Nick Lewycky | 2009-06-01 | 1 | -1/+1 | |
| | | | | | | metadata references non-Constant values such as instructions. llvm-svn: 72685 | |||||
* | Fix typo in error message. | Nick Lewycky | 2009-05-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 72659 | |||||
* | Give embedded metadata its own type instead of relying on EmptyStructTy. | Nick Lewycky | 2009-05-30 | 1 | -0/+3 | |
| | | | | llvm-svn: 72610 | |||||
* | Make MDNode use CallbackVH. Also change MDNode to store Value* instead of | Nick Lewycky | 2009-05-10 | 1 | -6/+10 | |
| | | | | | | | Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407 | |||||
* | Make a major API change to BitstreamReader: split all the reading | Chris Lattner | 2009-04-26 | 1 | -1/+2 | |
| | | | | | | | | | state out of the BitstreamReader class into a BitstreamCursor class. Doing this allows the client to have multiple cursors into the same file, each with potentially different live block stacks and abbreviation records. llvm-svn: 70157 | |||||
* | Add a new "available_externally" linkage type. This is intended | Chris Lattner | 2009-04-13 | 1 | -0/+1 | |
| | | | | | | | | to support C99 inline, GNU extern inline, etc. Related bugzilla's include PR3517, PR3100, & PR2933. Nothing uses this yet, but it appears to work. llvm-svn: 68940 |