summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContextImpl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More SmallVectorImpls.Dan Gohman2010-10-121-1/+1
| | | | llvm-svn: 116279
* Add X86 MMX type to bitcode and Type.Dale Johannesen2010-09-101-0/+1
| | | | | | | (The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618
* Clarify the ownership model of LLVMContext and Module. Namely, contexts ownOwen Anderson2010-09-081-0/+10
| | | | | | | modules are instantiated in them. If the context is deleted, all of its owned modules are also deleted. llvm-svn: 113374
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-3/+0
| | | | | | being actively maintained, improved, or extended. llvm-svn: 112356
* Fix a bunch of namespace polution.Dan Gohman2010-04-151-0/+1
| | | | llvm-svn: 101376
* give LLVMContext an inline asm diagnostic hook member.Chris Lattner2010-04-061-0/+3
| | | | llvm-svn: 100506
* Free all Constants in ~LLVMConstantImpl. We avoid assertion failuresJeffrey Yasskin2010-03-221-4/+25
| | | | | | | | | by dropping all references from all constants that can use other constants before trying to destroy any of them. I also had to free bugpoint's Module in ~BugDriver(). llvm-svn: 99160
* Re-add the Metadata.h include to LLVMContextImpl.h so that MDNode is completeJeffrey Yasskin2010-03-211-1/+0
| | | | | | | where FoldingSet<MDNode> is instantiated. Clang and MSVC complain; gcc doesn't. llvm-svn: 99147
* Move the LLVMContextImpl implementation into a .cpp file.Jeffrey Yasskin2010-03-211-0/+83
| | | | llvm-svn: 99146
* Factor some of the constants+context related code out into a separate ↵Owen Anderson2009-08-041-36/+0
| | | | | | | | 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 Anderson2009-08-041-0/+13
| | | | llvm-svn: 78097
* One two many newlines at end of file LLVMContextImpl.cppEdward O'Callaghan2009-08-021-1/+0
| | | | llvm-svn: 77911
* Fix no newline at end of LLVMContextImpl.cppEdward O'Callaghan2009-08-021-1/+2
| | | | llvm-svn: 77907
* Move the metadata constructors back to 2.5 syntax.Owen Anderson2009-07-311-48/+1
| | | | llvm-svn: 77733
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-15/+0
| | | | llvm-svn: 77635
* 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-39/+0
| | | | llvm-svn: 77366
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-281-111/+0
| | | | llvm-svn: 77347
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-88/+1
| | | | llvm-svn: 77266
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-35/+0
| | | | llvm-svn: 77247
* Remove Value::{isName, getNameRef}.Daniel Dunbar2009-07-251-2/+1
| | | | | | Also, change MDString to use a StringRef. llvm-svn: 77098
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-372/+14
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Privatize the ConstantVector tables.Owen Anderson2009-07-241-1/+55
| | | | llvm-svn: 76922
* Privatize the ConstantStruct table.Owen Anderson2009-07-231-0/+104
| | | | llvm-svn: 76912
* Convert StringMap to using StringRef for its APIs.Daniel Dunbar2009-07-231-3/+3
| | | | | | | | | | | | - Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888
* MDStringDevang Patel2009-07-231-5/+6
| | | | | | | - 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 Patel2009-07-231-1/+1
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Privatize the ConstantArray table.Owen Anderson2009-07-211-2/+129
| | | | llvm-svn: 76639
* Privatize the first of the value maps.Owen Anderson2009-07-211-0/+300
| | | | llvm-svn: 76634
* Privatize the MDNode uniquing table.Owen Anderson2009-07-161-0/+30
| | | | llvm-svn: 76126
* Privatize the MDString uniquing table.Owen Anderson2009-07-161-1/+20
| | | | llvm-svn: 76113
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-161-0/+33
| | | | llvm-svn: 76097
* Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a ↵Owen Anderson2009-07-161-0/+48
number of issues in our current context-passing stuff, which is also fixed here llvm-svn: 76089
OpenPOWER on IntegriCloud