summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
* Privatize the StructType table, which unfortunately involves routing ↵Owen Anderson2009-08-055-19/+27
| | | | | | contexts through a number of APIs. llvm-svn: 78258
* Privatize the FunctionType table.Owen Anderson2009-08-052-7/+9
| | | | llvm-svn: 78221
* common globals may also not be marked constant.Chris Lattner2009-08-051-3/+6
| | | | llvm-svn: 78169
* Clarify common linkage and the requirements on it. EnforceChris Lattner2009-08-051-0/+7
| | | | | | them in the verifier. llvm-svn: 78160
* Privatize the PointerType factory.Owen Anderson2009-08-052-6/+9
| | | | llvm-svn: 78130
* Privatize the VectorType uniquing.Owen Anderson2009-08-042-6/+9
| | | | llvm-svn: 78125
* Begin the process of privatizing the type uniquing tables. No API changes ↵Owen Anderson2009-08-043-427/+440
| | | | | | yet, but there will be in the near future. llvm-svn: 78122
* revert r78048, it isn't worth using assertingvh here.Chris Lattner2009-08-041-8/+8
| | | | llvm-svn: 78119
* Update CMakeLists.Benjamin Kramer2009-08-041-1/+0
| | | | llvm-svn: 78118
* It helps if I remember to actually add the file...Owen Anderson2009-08-041-0/+774
| | | | llvm-svn: 78116
* Factor some of the constants+context related code out into a separate ↵Owen Anderson2009-08-044-799/+21
| | | | | | | | 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-043-442/+432
| | | | llvm-svn: 78097
* switch ValueMap to using AssertingVH. This is an old patch I had layingChris Lattner2009-08-041-8/+8
| | | | | | around in a tree I forgot about. llvm-svn: 78048
* Keep track of metadata used by other metadata.Devang Patel2009-08-031-4/+52
| | | | llvm-svn: 78012
* Add a new Constant::getIntegerValue helper function, and convert aDan Gohman2009-08-031-0/+17
| | | | | | | few places in InstCombine to use it, to fix problems handling pointer types. This fixes the recent llvm-gcc bootstrap error. llvm-svn: 78005
* Add NamedMDNode destructor.Devang Patel2009-08-031-0/+17
| | | | llvm-svn: 77959
* 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
* Privatize all but one of the remaining constant tables.Owen Anderson2009-07-312-62/+55
| | | | llvm-svn: 77748
* Move the metadata constructors back to 2.5 syntax.Owen Anderson2009-07-314-73/+44
| | | | llvm-svn: 77733
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-315-117/+112
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Fix printing of Alloca instructions with null operands.Dan Gohman2009-07-311-1/+1
| | | | llvm-svn: 77697
* Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson2009-07-314-46/+37
| | | | llvm-svn: 77685
* Add getOrInsertNamedMetadata().Devang Patel2009-07-301-3/+14
| | | | llvm-svn: 77646
* Move more code back to 2.5 APIs.Owen Anderson2009-07-309-80/+53
| | | | llvm-svn: 77635
* Do not use getNamedValue() to lookup NamedMDNode. NamedMDNode is not a ↵Devang Patel2009-07-301-1/+1
| | | | | | | | GlobalValue. Thanks Benjamin Kramer! llvm-svn: 77619
* fix a unitialized pointer in NamedMDNode (and reenable unittest)Benjamin Kramer2009-07-301-1/+1
| | | | llvm-svn: 77597
* TypoNate Begeman2009-07-301-1/+1
| | | | llvm-svn: 77568
* Check null NameMDNode elements.Devang Patel2009-07-301-4/+8
| | | | llvm-svn: 77559
* print single NamedMDNode.Devang Patel2009-07-301-3/+45
| | | | llvm-svn: 77549
* Move types back to the 2.5 API.Owen Anderson2009-07-2911-147/+53
| | | | llvm-svn: 77516
* Print named metadata.Devang Patel2009-07-291-0/+25
| | | | llvm-svn: 77513
* There is no need to keep name ref in NamedMDNode.Devang Patel2009-07-291-8/+5
| | | | llvm-svn: 77511
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-296-351/+207
| | | | llvm-svn: 77494
* Keep track of named mdnodes in a Module using an ilist.Devang Patel2009-07-293-2/+17
| | | | llvm-svn: 77476
* Fix an assumption that there is a single return value when verifyingBob Wilson2009-07-291-2/+2
| | | | | | overloaded types for intrinsic parameters. llvm-svn: 77466
* Add NamedMDNode.Devang Patel2009-07-291-0/+15
| | | | llvm-svn: 77409
* Remove unused method.Devang Patel2009-07-281-16/+0
| | | | llvm-svn: 77378
* Rename MDNode.h header. It defines MDnode and other metadata classes.Devang Patel2009-07-288-35/+51
| | | | | | New name is Metadata.h. llvm-svn: 77370
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-288-106/+91
| | | | llvm-svn: 77366
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-286-176/+139
| | | | llvm-svn: 77347
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-276-136/+101
| | | | llvm-svn: 77266
* Add a comment about the "getelementptr null" trick.Dan Gohman2009-07-271-0/+1
| | | | llvm-svn: 77262
* Add a new keyword 'inbounds' for use with getelementptr. See theDan Gohman2009-07-271-0/+3
| | | | | | LangRef.html changes for details. llvm-svn: 77259
* Unbreak build.Daniel Dunbar2009-07-271-2/+0
| | | | llvm-svn: 77256
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-277-117/+104
| | | | llvm-svn: 77247
* Initialize mdnNext.Devang Patel2009-07-271-1/+1
| | | | llvm-svn: 77229
* Change the assembly syntax for nsw, nuw, and exact, putting themDan Gohman2009-07-271-7/+7
| | | | | | | after their associated opcodes rather than before. This makes them a little easier to read. llvm-svn: 77194
* Make sure getName().data() is always null terminated.Daniel Dunbar2009-07-261-1/+4
| | | | llvm-svn: 77149
* Eliminate some uses of DOUT, cerr, and getNameStart().Daniel Dunbar2009-07-262-45/+45
| | | | llvm-svn: 77145
OpenPOWER on IntegriCloud