- Jul 13, 2011
-
-
Chris Lattner authored
to Benjamin Kramer for steering me in the right direction here. llvm-svn: 135031
-
- Jul 12, 2011
-
-
Nick Lewycky authored
destroy those types in ~LLVMContext. llvm-svn: 134945
-
- Jul 09, 2011
-
-
Chris Lattner authored
patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. llvm-svn: 134829
-
- Oct 12, 2010
-
-
Dan Gohman authored
llvm-svn: 116279
-
- Sep 10, 2010
-
-
Dale Johannesen authored
(The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618
-
- Sep 08, 2010
-
-
Owen Anderson authored
modules are instantiated in them. If the context is deleted, all of its owned modules are also deleted. llvm-svn: 113374
-
- Aug 28, 2010
-
-
Chris Lattner authored
being actively maintained, improved, or extended. llvm-svn: 112356
-
- Apr 15, 2010
-
-
Dan Gohman authored
llvm-svn: 101376
-
- Apr 06, 2010
-
-
Chris Lattner authored
llvm-svn: 100506
-
- Mar 22, 2010
-
-
Jeffrey Yasskin authored
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
-
- Mar 21, 2010
-
-
Jeffrey Yasskin authored
where FoldingSet<MDNode> is instantiated. Clang and MSVC complain; gcc doesn't. llvm-svn: 99147
-
Jeffrey Yasskin authored
llvm-svn: 99146
-
- Aug 05, 2009
-
-
Owen Anderson authored
Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. llvm-svn: 78115
-
- Aug 04, 2009
-
-
Owen Anderson authored
llvm-svn: 78097
-
- Aug 02, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 77911
-
Edward O'Callaghan authored
llvm-svn: 77907
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77733
-
Owen Anderson authored
llvm-svn: 77635
-
- Jul 28, 2009
-
-
Devang Patel authored
New name is Metadata.h. llvm-svn: 77370
-
Owen Anderson authored
llvm-svn: 77366
-
Owen Anderson authored
llvm-svn: 77347
-
Owen Anderson authored
llvm-svn: 77266
-
- Jul 27, 2009
-
-
Owen Anderson authored
llvm-svn: 77247
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
- Jul 25, 2009
-
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 24, 2009
-
-
Owen Anderson authored
llvm-svn: 76922
-
Owen Anderson authored
llvm-svn: 76912
-
- Jul 23, 2009
-
-
Daniel Dunbar authored
- 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
-
Devang Patel authored
- Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. llvm-svn: 76841
-
Devang Patel authored
Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file. llvm-svn: 76834
-
- Jul 21, 2009
-
-
Owen Anderson authored
llvm-svn: 76639
-
Owen Anderson authored
llvm-svn: 76634
-
- Jul 17, 2009
-
-
Owen Anderson authored
llvm-svn: 76126
-
Owen Anderson authored
llvm-svn: 76113
-
- Jul 16, 2009
-
-
Owen Anderson authored
llvm-svn: 76097
-
Owen Anderson authored
our current context-passing stuff, which is also fixed here llvm-svn: 76089
-