| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove an obsolete comment. | Dan Gohman | 2010-07-20 | 1 | -2/+1 |
| | | | | | llvm-svn: 108940 | ||||
| * | Add support for remapping metadata kind IDs when reading in a | Dan Gohman | 2010-07-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | bitcode file, so that two bitcode files where the same metadata kind name happens to have been assigned a different ID can still be linked together. Eliminate the restriction that metadata kind IDs can't be 0. Change MD_dbg from 1 to 0, because we can now, and because it's less mysterious that way. llvm-svn: 108939 | ||||
| * | introduce a new recoverable error handling API to LLVMContext | Chris Lattner | 2010-04-07 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | and use it in one place in inline asm handling stuff. Before we'd generate this for an invalid modifier letter: $ clang asm.c -c -o t.o fatal error: error in backend: Invalid operand found in inline asm: 'abc incl ${0:Z}' INLINEASM <es:abc incl ${0:Z}>, 10, %EAX<def>, 2147483657, %EAX, 14, %EFLAGS<earlyclobber,def,dead>, <!-1> Now we generate this: $ clang asm.c -c -o t.o error: invalid operand in inline asm: 'incl ${0:Z}' asm.c:3:12: note: generated from here __asm__ ("incl %Z0" : "+r" (X)); ^ 1 error generated. This is much better but still admittedly not great ("why" is the operand invalid??), codegen should try harder with its diagnostics :) llvm-svn: 100723 | ||||
| * | give LLVMContext an inline asm diagnostic hook member. | Chris Lattner | 2010-04-06 | 1 | -0/+18 |
| | | | | | llvm-svn: 100506 | ||||
| * | Fix a major source of compile-time slowness at -O0 -g by optimizing | Chris Lattner | 2010-03-30 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | the storage of !dbg metadata kinds in the instruction themselves. The on-the-side hash table works great for metadata that not-all instructions get, or for metadata that only exists when optimizing. But when compile-time is everything, it isn't great. I'm not super thrilled with the fact that this plops a TrackingVH in Instruction, because it grows it by 3 words. I'm investigating alternatives, but this should be a step in the right direction in any case. llvm-svn: 99957 | ||||
| * | Final step in the metadata API restructuring: move the | Chris Lattner | 2009-12-29 | 1 | -5/+15 |
| | | | | | | | | | getMDKindID/getMDKindNames methods to LLVMContext (and add convenience methods to Module), eliminating MetadataContext. Move the state that it maintains out to LLVMContext. llvm-svn: 92259 | ||||
| * | Derive metadata hierarchy from Value instead of User. | Devang Patel | 2009-10-21 | 1 | -1/+0 |
| | | | | | llvm-svn: 84801 | ||||
| * | Make LLVMContext's pImpl member const. | Dan Gohman | 2009-10-06 | 1 | -1/+3 |
| | | | | | llvm-svn: 83393 | ||||
| * | s/class Metadata/class MetadataContext/g | Devang Patel | 2009-09-28 | 1 | -2/+2 |
| | | | | | llvm-svn: 83019 | ||||
| * | Add llvm::Metadata to manage metadata used in a context. | Devang Patel | 2009-09-16 | 1 | -1/+2 |
| | | | | | | | This interface will be used to attach metadata with an instruction. llvm-svn: 82060 | ||||
| * | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -0/+3 |
| | | | | | llvm-svn: 78948 | ||||
| * | Make LLVMContext and LLVMContextImpl classes instead of structs. | Benjamin Kramer | 2009-08-11 | 1 | -2/+3 |
| | | | | | llvm-svn: 78690 | ||||
| * | Tidy #includes. | Dan Gohman | 2009-08-11 | 1 | -4/+0 |
| | | | | | llvm-svn: 78677 | ||||
| * | Remove dead metadata. | Devang Patel | 2009-08-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 78651 | ||||
| * | Remove unused forward decls. | Benjamin Kramer | 2009-08-05 | 1 | -24/+0 |
| | | | | | llvm-svn: 78187 | ||||
| * | 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 | ||||
| * | Privatize the last bit of Constant-creation state. | Owen Anderson | 2009-08-04 | 1 | -13/+1 |
| | | | | | llvm-svn: 78097 | ||||
| * | Privatize all but one of the remaining constant tables. | Owen Anderson | 2009-07-31 | 1 | -0/+3 |
| | | | | | llvm-svn: 77748 | ||||
| * | Move the metadata constructors back to 2.5 syntax. | Owen Anderson | 2009-07-31 | 1 | -11/+2 |
| | | | | | 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 | -8/+0 |
| | | | | | | | | | 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 | -4/+0 |
| | | | | | llvm-svn: 77685 | ||||
| * | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -11/+2 |
| | | | | | llvm-svn: 77635 | ||||
| * | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -34/+0 |
| | | | | | llvm-svn: 77516 | ||||
| * | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -76/+0 |
| | | | | | llvm-svn: 77494 | ||||
| * | Return ConstantVector to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -7/+1 |
| | | | | | llvm-svn: 77366 | ||||
| * | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -20/+1 |
| | | | | | llvm-svn: 77347 | ||||
| * | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -11/+1 |
| | | | | | llvm-svn: 77266 | ||||
| * | Move ConstantFP construction back to the 2.5-ish API. | Owen Anderson | 2009-07-27 | 1 | -15/+1 |
| | | | | | llvm-svn: 77247 | ||||
| * | Finish migrating VMCore to StringRef/Twine based APIs. | Daniel Dunbar | 2009-07-25 | 1 | -16/+16 |
| | | | | | llvm-svn: 77051 | ||||
| * | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -30/+2 |
| | | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | ||||
| * | Privatize the ConstantVector tables. | Owen Anderson | 2009-07-24 | 1 | -0/+1 |
| | | | | | llvm-svn: 76922 | ||||
| * | Privatize the ConstantStruct table. | Owen Anderson | 2009-07-23 | 1 | -0/+3 |
| | | | | | llvm-svn: 76912 | ||||
| * | 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 | ||||
| * | Privatize the ConstantArray table. | Owen Anderson | 2009-07-21 | 1 | -0/+6 |
| | | | | | llvm-svn: 76639 | ||||
| * | Privatize the first of the value maps. | Owen Anderson | 2009-07-21 | 1 | -0/+1 |
| | | | | | llvm-svn: 76634 | ||||
| * | Rename getConstantInt{True|False} to get{True|False} at Chris' behest. | Owen Anderson | 2009-07-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 76598 | ||||
| * | Privatize the MDNode uniquing table. | Owen Anderson | 2009-07-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 76126 | ||||
| * | Privatize the MDString uniquing table. | Owen Anderson | 2009-07-16 | 1 | -0/+3 |
| | | | | | llvm-svn: 76113 | ||||
| * | Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a ↵ | Owen Anderson | 2009-07-16 | 1 | -0/+2 |
| | | | | | | | | | number of issues in our current context-passing stuff, which is also fixed here llvm-svn: 76089 | ||||
| * | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -0/+28 |
| | | | | | llvm-svn: 75703 | ||||
| * | Move a bit more functionality to LLVMContext, which apparently wasn't being ↵ | Owen Anderson | 2009-07-13 | 1 | -0/+5 |
| | | | | | | | used anyways. llvm-svn: 75546 | ||||
| * | Move more functionality over to LLVMContext. | Owen Anderson | 2009-07-13 | 1 | -2/+4 |
| | | | | | llvm-svn: 75497 | ||||
| * | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 1 | -0/+14 |
| | | | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445 | ||||
| * | This started as a small change, I swear. Unfortunately, lots of things call ↵ | Owen Anderson | 2009-07-09 | 1 | -0/+4 |
| | | | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200 | ||||
| * | Remove the vicmp and vfcmp instructions. Because we never had a release with | Nick Lewycky | 2009-07-08 | 1 | -4/+0 |
| | | | | | | | | these instructions, no autoupgrade or backwards compatibility support is provided. llvm-svn: 74991 | ||||
| * | This parameter should default to true, not false. | Owen Anderson | 2009-07-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 74915 | ||||
| * | More LLVMContext-ification. | Owen Anderson | 2009-07-05 | 1 | -0/+2 |
| | | | | | llvm-svn: 74807 | ||||
| * | Even more passes being LLVMContext'd. | Owen Anderson | 2009-07-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 74781 | ||||
| * | Fill in a few more missing accessors. | Owen Anderson | 2009-07-02 | 1 | -1/+3 |
| | | | | | llvm-svn: 74739 | ||||
| * | Add accessors for metadata constants. | Owen Anderson | 2009-07-02 | 1 | -0/+5 |
| | | | | | llvm-svn: 74707 | ||||

