Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Make LLVM command-line tools overwrite their output files without -f. | Dan Gohman | 2009-08-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990 | ||||
* | 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 | ||||
* | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 1 | -6/+3 |
| | | | | llvm-svn: 79842 | ||||
* | eliminate the std::ostream forms of the bitcode writing APIs. | Chris Lattner | 2009-08-23 | 4 | -58/+16 |
| | | | | llvm-svn: 79840 | ||||
* | Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap | Dan Gohman | 2009-08-20 | 2 | -8/+8 |
| | | | | | | 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 | 4 | -51/+54 |
| | | | | llvm-svn: 78948 | ||||
* | Make LLVMContext and LLVMContextImpl classes instead of structs. | Benjamin Kramer | 2009-08-11 | 1 | -1/+1 |
| | | | | llvm-svn: 78690 | ||||
* | Change llvm-c's ordering of contexts to make it consistent. | Erick Tryzelaar | 2009-08-11 | 1 | -6/+6 |
| | | | | llvm-svn: 78656 | ||||
* | 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 | ||||
* | revert r78048, it isn't worth using assertingvh here. | Chris Lattner | 2009-08-04 | 1 | -1/+1 |
| | | | | llvm-svn: 78119 | ||||
* | 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 | ||||
* | Use separate ValueList for metadata. | Devang Patel | 2009-08-04 | 5 | -44/+149 |
| | | | | | | This fixes PR4666. llvm-svn: 78056 | ||||
* | Revert recent bitcode writer patches. | Devang Patel | 2009-08-04 | 1 | -84/+94 |
| | | | | llvm-svn: 78053 | ||||
* | switch ValueMap to using AssertingVH. This is an old patch I had laying | Chris Lattner | 2009-08-04 | 1 | -1/+1 |
| | | | | | | around in a tree I forgot about. llvm-svn: 78048 | ||||
* | Remove dead code. | Devang Patel | 2009-08-04 | 1 | -2/+0 |
| | | | | llvm-svn: 78035 | ||||
* | Fix MDString Abbrev setup. | Devang Patel | 2009-08-04 | 1 | -4/+2 |
| | | | | llvm-svn: 78034 | ||||
* | Constants and Metadata share ValueList. This means they must be emitted ↵ | Devang Patel | 2009-08-04 | 1 | -91/+85 |
| | | | | | | interleaved (using appropriate BLOCK_IDs) otherwise ValuePtrs index gets out of sync. llvm-svn: 78033 | ||||
* | 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 | ||||
* | Work around a dangling pointer dereference when enumerating NamedMDNodes. | Benjamin Kramer | 2009-07-31 | 1 | -0/+3 |
| | | | | llvm-svn: 77675 | ||||
* | Do not use abbrev while writing NamedMDNode name. | Devang Patel | 2009-07-30 | 1 | -9/+4 |
| | | | | llvm-svn: 77637 | ||||
* | Enumerate NamedMDNode elements first. | Devang Patel | 2009-07-30 | 1 | -4/+0 |
| | | | | llvm-svn: 77636 | ||||
* | 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 | 3 | -1/+68 |
| | | | | 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 | ||||
* | Refactor. Fix indentation. | Devang Patel | 2009-07-29 | 1 | -38/+44 |
| | | | | llvm-svn: 77482 | ||||
* | Rename MDNode.h header. It defines MDnode and other metadata classes. | Devang Patel | 2009-07-28 | 3 | -3/+3 |
| | | | | | | 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 | 2 | -0/+10 |
| | | | | | | 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 | 2 | -2/+2 |
| | | | | | | | - 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 | 3 | -49/+58 |
| | | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834 | ||||
* | Fix indentation. | Devang Patel | 2009-07-22 | 1 | -6/+6 |
| | | | | llvm-svn: 76787 | ||||
* | Use isa<> instead of dyn_cast<>. | Devang Patel | 2009-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 76767 | ||||
* | Fixed build warning. No functionality change. | Sanjiv Gupta | 2009-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 76761 | ||||
* | Introduce MetadataBase, a base class for MDString and MDNode. | Devang Patel | 2009-07-22 | 4 | -38/+104 |
| | | | | | | | 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 | 2 | -4/+61 |
| | | | | | | exact sdiv flags. llvm-svn: 76475 | ||||
* | Add plumbing for the `linker_private' linkage type. This type is meant for | Bill Wendling | 2009-07-20 | 2 | -23/+25 |
| | | | | | | | | | "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 |