History log of /external/llvm/lib/VMCore/Globals.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4255274cf82d181cad64794aac78b8c1e1a9d794 01-Aug-2011 Jay Foad <jay.foad@gmail.com> Micro-optimisation in getAliasedGlobal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
db125cfaf57cc83e7dd7453de2d509bc8efd0e5e 18-Jul-2011 Chris Lattner <sabre@nondot.org> land David Blaikie's patch to de-constify Type, with a few tweaks.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
0063225bd7fa68e94e99bce2bbacb90341d1e667 14-Jul-2011 Chris Lattner <sabre@nondot.org> Fix GlobalValue::isDeclaration() to always consider aliases to be definitions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
97d9730a59fbd4e656d2c34f3b92d2feb4d9d575 14-Jul-2011 Chris Lattner <sabre@nondot.org> add comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
6c48244973b3c3286af54dddb98412d2820b26b5 14-Jul-2011 Chris Lattner <sabre@nondot.org> consolidate GlobalValue::isDeclaration into one
non-virtual function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
9854e1bebe010a57b1d65b214db350027829d972 14-Jul-2011 Chris Lattner <sabre@nondot.org> code cleanup


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
1afcace3a3a138b1b18e5c6270caa8dae2261ae2 09-Jul-2011 Chris Lattner <sabre@nondot.org> Land the long talked about "type system rewrite" patch. This
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.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
13fb0db0c26ec498cf8ffb0f9943d28962d4ced7 18-Feb-2011 Chris Lattner <sabre@nondot.org> hoist GlobalValue::removeDeadConstantUsers up to being a method on Constant.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
6bbe671e1c58dd58fcf0165c1127dda5037ad3e2 28-Jul-2010 Dan Gohman <gohman@apple.com> Make GlobalValue alignment consistent with load, store, and alloca
alignment, fixing silent truncation of alignment values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109653 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
60ad781c61815ca5b8dc2a45a102e1c8af65992f 26-Mar-2010 Gabor Greif <ggreif@gmail.com> rename use_const_iterator to const_use_iterator for consistency's sake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99564 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
936c43bb239858d7c4ee617e83fd222c1681ab4e 15-Feb-2010 Nick Lewycky <nicholas@mxc.ca> A function with no Module owner isn't materializable. This fixes F->dump() for
functions not embedded within modules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 27-Jan-2010 Jeffrey Yasskin <jyasskin@google.com> Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
dc1472b6d9281893771a64eb95b4599dff9aadfd 17-Nov-2009 Jeffrey Yasskin <jyasskin@google.com> In GlobalVariable::setInitializer, assert that the initializer has the
right type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89014 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
7b550ccfc5a3346c17e0390a59e2d6d19bc52705 06-Nov-2009 Chris Lattner <sabre@nondot.org> remove a bunch of extraneous LLVMContext arguments
from various APIs, addressing PR5325.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
4a7642ec9c33bcf8ed65231f382fb6d9a0f46f3a 01-Nov-2009 Chris Lattner <sabre@nondot.org> the verifier shouldn't modify the IR.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
660a4f389c84c196c983c7bae1f0a02957dc70af 01-Nov-2009 Chris Lattner <sabre@nondot.org> fix an issue where the verifier would reject a function whose entry
block had its address taken even if the blockaddress was dead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
debcb01b0f0a15f568ca69e8f288fade4bfc7297 30-Jul-2009 Owen Anderson <resistor@mac.com> Move types back to the 2.5 API.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2 25-Jul-2009 Daniel Dunbar <daniel@zuster.org> Finish migrating VMCore to StringRef/Twine based APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
6e0d1cb30957a636c53158d3089e6fb88348a57a 25-Jul-2009 Daniel Dunbar <daniel@zuster.org> Initial update to VMCore to use Twines for string arguments.
- The only meat here is in Value.{h,cpp} the rest is essential 'const
std::string &' -> 'const Twine &'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77048 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
fd87a544c00c2ca04ee23aae67bbcad4dc852a54 25-Jul-2009 Dan Gohman <gohman@apple.com> Convert a few more things to use raw_ostream.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
c23197a26f34f559ea9797de51e187087c039c42 14-Jul-2009 Torok Edwin <edwintorok@gmail.com> llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
c341f1c62d1b46b64fb70890fffed87a3136cc2d 09-Jul-2009 Owen Anderson <resistor@mac.com> LLVMContext-ification.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
dac237e18209b697a8ba122d0ddd9cad4dfba1f8 08-Jul-2009 Torok Edwin <edwintorok@gmail.com> Implement changes from Chris's feedback.
Finish converting lib/Target.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75043 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
e9b11b431308f4766b73cda93e38ec930c912122 08-Jul-2009 Owen Anderson <resistor@mac.com> Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
ab7c09b6b6f4516a631fd6788918c237c83939af 08-Jul-2009 Torok Edwin <edwintorok@gmail.com> Start converting to new error handling API.
cerr+abort -> llvm_report_error
assert(0)+abort -> LLVM_UNREACHABLE (assert(0)+llvm_unreachable-> abort() included)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
3d29df3e8a203b167d8071ea6f805b21db18a5af 08-Jul-2009 Owen Anderson <resistor@mac.com> Push LLVMContext through GlobalVariables and IRBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
04fb7c36a9977127f32558dc01c39a9c2388bc39 20-Jun-2009 Owen Anderson <resistor@mac.com> Revert r73790, and replace it with a significantly less ugly solution. Rather than trying to make the global reader-writer lock work,
create separate recursive mutexes for each value map. The recursive-ness fixes the double-acquiring issue, which having one per ValueMap
lets us continue to maintain some concurrency.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
430444b10237abd37eb8157c3f84509a7d9636f8 20-Jun-2009 Owen Anderson <resistor@mac.com> Fix a serious bug that would cause deadlock during abstract type refinement. The constant creation
gets involved, and we end up trying to recursively acquire a writer lock. The fix for this is slightly horrible,
and involves passing a boolean "locked" parameter around in Constants.cpp, but it's better than having locked and
unlocked versions of most of the code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
319e63234a32b502919874042712cd0457876d59 09-Mar-2009 Chris Lattner <sabre@nondot.org> make GlobalValue::removeDeadConstantUsers() const.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
86062afbc49b549a653d38fb03702051f3917df7 08-Jan-2009 Duncan Sands <baldrick@free.fr> Use mayBeOverridden here, in anticipation of the
day when more linkage types will be handled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
19e861a4ffb896f16a691d5ac869e894df3cd464 09-Sep-2008 Anton Korobeynikov <asl@math.spbu.ru> Make safer variant of alias resolution routine to be default

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
820c83bf6c1bc6edd025ed2953b36d9e1433adf5 09-Sep-2008 Anton Korobeynikov <asl@math.spbu.ru> Fix typo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
832b2a9cd8870211bf2d347d7b435beacbb06c8d 09-Sep-2008 Anton Korobeynikov <asl@math.spbu.ru> Fix incorrect linker behaviour: we shouldn't resolve weak aliases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
6c80c381601b17207b6b8f898cfe273a37584d52 26-May-2008 Gabor Greif <ggreif@gmail.com> eliminate calls to deprecated Use::init() interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
28c3cff8250b3fe2adc6479306fe7dbdb48a1bdb 26-May-2008 Duncan Sands <baldrick@free.fr> Factor code to copy global value attributes like
the section or the visibility from one global
value to another: copyAttributesFrom. This is
particularly useful for duplicating functions:
previously this was done by explicitly copying
each attribute in turn at each place where a
new function was created out of an old one, with
the result that obscure attributes were regularly
forgotten (like the collector or the section).
Hopefully now everything is uniform and nothing
is forgotten.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
efe65369a74871c3140a540a6c95ce5d1f080954 10-May-2008 Gabor Greif <ggreif@gmail.com> merge of use-diet branch to trunk

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
89a3d3f25cf58c940189d87356141d2610042d58 22-Mar-2008 Anton Korobeynikov <asl@math.spbu.ru> Slightly increase default set size. It's cheap and won't hurt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
e846dd89c173d462d197046b76d37588896623f3 11-Mar-2008 Anton Korobeynikov <asl@math.spbu.ru> Add helper for ultimate aliasee resoltion


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
fe63fb986dc9510c5d68f2442edab9574e9e50d0 11-Dec-2007 Christopher Lamb <christopher.lamb@gmail.com> Implement address space attribute for LLVM pointer types. Address spaces are
regions of memory that have a target specific relationship, as described in the
Embedded C Technical Report.

This also implements the 2007-12-11-AddressSpaces test,
which demonstrates how address space attributes can be used in LLVM IR.

In addition, this patch changes the bitcode signature for stores (in a backwards
compatible manner), such that the pointer type, rather than the pointee type, is
encoded. This permits type information in the pointer (e.g. address space) to be
preserved for stores.

LangRef updates are forthcoming.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
2bf6e6a632b445b363707f99aa35ca304e7a9176 06-May-2007 Chris Lattner <sabre@nondot.org> handle gep aliasee


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
b4dbd9e243f9aef69f8edb1363788b2311a73506 04-May-2007 Jeff Cohen <jeffc@jolt-lang.org> Unbreak VC++ build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
bb1f97cf87d8e3758d36d38499a8efe48ac28f91 30-Apr-2007 Anton Korobeynikov <asl@math.spbu.ru> Fix typo. Interesting, but old variant worked too :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
c6c98af9e5814e8066c82f20ca11cf646a5fc289 29-Apr-2007 Anton Korobeynikov <asl@math.spbu.ru> Implement review feedback


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36564 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
a80e1181b78183dc36ec6568559d38faa86981f0 28-Apr-2007 Anton Korobeynikov <asl@math.spbu.ru> Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
8b0a8c84da2030ee8f4440d5b60a8033de691222 25-Apr-2007 Anton Korobeynikov <asl@math.spbu.ru> Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
c763552299165b88d34a7d4f2d76ff413cbc7f67 12-Apr-2007 Lauro Ramos Venancio <lauro.venancio@gmail.com> Implement the "thread_local" keyword.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35950 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
00f23ec5c2e0f4071b9720485ae63333149ee047 26-Feb-2007 Chris Lattner <sabre@nondot.org> reapply my previous patch with a bugfix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
e2c2b76c8a3ca374c6fc15dff3e04285e2f4c00c 26-Feb-2007 Chris Lattner <sabre@nondot.org> revert my previous change, something strange is happening.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
1cf55746369af7f1be476cc5c6805806a4bf225d 25-Feb-2007 Chris Lattner <sabre@nondot.org> Rework GlobalValue::removeDeadConstantUsers to always remove dead constant
exprs hanging off a global, even if the global is not otherwise dead. This
requires some tricky iterator gymnastics.

This implements Transforms/GlobalOpt/constantexpr-dangle.ll by deleting a
constantexpr that made it appear that the address of the function was taken.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
ef9b9a793949469cdaa4ab6d0173136229dcab7b 05-Feb-2007 Reid Spencer <rspencer@reidspencer.com> For PR411:
This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
adc95467e41d6c46793f665168468cbf348c3638 30-Sep-2006 Chris Lattner <sabre@nondot.org> Add a version of the globalvariable ctor that inserts at a specific location.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
cc041ba03aed685400197fb938b7a583713d25af 24-Jan-2006 Chris Lattner <sabre@nondot.org> Initial checkin of the InlineAsm class


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
d0ff1adbdb4b7b565b7f8f191aac0731e80aa1ef 04-Oct-2005 Chris Lattner <sabre@nondot.org> Change the signature of replaceUsesOfWithOnConstant. The bool was always
true dynamically. Finally, pass the Use* that replaceAllUsesWith has into
the method for future use.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
0d1e40728d668085257b78657b381e1f13d77d52 05-Mar-2005 Chris Lattner <sabre@nondot.org> remove all of the various setName implementations, consolidating them into
Value::setName, which is no longer virtual.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
18221ed50707342bc4c655b33a3d3dc652463811 05-Mar-2005 Chris Lattner <sabre@nondot.org> Remove the 2nd argument to Value::setName


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
96d83f63cdbb33c075901b1b84eb07622d86386f 29-Jan-2005 Chris Lattner <sabre@nondot.org> Adjust to changes in User class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
4b83380f330b1c77bb9b4ad8f63bdcf1a596afd6 12-Oct-2004 Chris Lattner <sabre@nondot.org> Implement remove/eraseFromParent methods


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
8243976b69aee92b26e67ef8a3ec505e924e408b 05-Aug-2004 Alkis Evlogimenos <alkis@evlogimenos.com> Make GlobalVariable constructor assert when an initializer is of
incorrect type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
07d7c9d9c508ec67a86ed572819d8cf9e3bdc422 04-Aug-2004 Chris Lattner <sabre@nondot.org> Add a cast


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15457 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
f8083b7f20e0985b3c1848d25a56b1f527c0a255 19-Jul-2004 Chris Lattner <sabre@nondot.org> Method now returns null, dtor is inlined


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14983 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
da6cdfa9e885ab8e1eb53b984c0ee77d0d64cd5e 18-Jul-2004 Chris Lattner <sabre@nondot.org> Fix infinite loop gccld'ing povray


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14962 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp
e253cf60fde678c428d69327b1ed43232893079c 18-Jul-2004 Reid Spencer <rspencer@reidspencer.com> bug 122:
- Move these functions from other places
- Provide implementations of Constant class overrides in GlobalValue


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/Globals.cpp