| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 35237
|
| |
|
|
|
|
|
| |
Okay, really fix it this time. Make sure the CurFun.Linkage is set early
and consolidate some duplicate code.
llvm-svn: 35236
|
| |
|
|
| |
llvm-svn: 35235
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make Signedness information pervasive throughout all types and values.
There is no easy way to get around this. Because the GEP instruction can
index through an arbitrarily complex value structure, it is necessary to
keep track of signedness information throughout that structure. This change
makes Signedness a full class, capable of representing Signedness in
arbitrarily shaped types. The class is then used throughout llvm-upgrade to
track signedness and differentiate between globals, locals, and functions
based on their signedness.
For PR1243:
This patch also removes bogus warnings about renaming internal globals. It
now only emits such warnings when renaming non-internal globals because
they may affect linkage.
llvm-svn: 35234
|
| |
|
|
| |
llvm-svn: 35116
|
| |
|
|
| |
llvm-svn: 35115
|
| |
|
|
| |
llvm-svn: 35113
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
last entry stored in the map could be retrieved for a given integer type.
Propagating the sign information required an invasive change to ensure that
all ValueRef (ValID) instances get the right sign information as well. Also,
put in some assertions to ensure the RenameMap always gives us out the type
that is expected.
This fixes PR1256 and
test/Assembler/2007-03-14-UgpradeLocalSignless.ll
llvm-svn: 35112
|
| |
|
|
|
|
| |
Carry sign with ValID and make TypeInfo sortable (useful in a map).
llvm-svn: 35111
|
| |
|
|
| |
llvm-svn: 35099
|
| |
|
|
| |
llvm-svn: 35001
|
| |
|
|
| |
llvm-svn: 34992
|
| |
|
|
|
|
| |
disappears before we get to calling the exit function.
llvm-svn: 34953
|
| |
|
|
| |
llvm-svn: 34917
|
| |
|
|
|
|
|
|
|
|
|
| |
reading bytecode.
2. The interpreter can delete the ModuleProvider and replace it with
another so don't depend on it being around after the EE is created.
3. Don't just run llvm_shutdown on exit but actually delete the EE as well.
This cleans up a vast amount of memory (but not all) that EE retained
through exit.
llvm-svn: 34888
|
| |
|
|
| |
llvm-svn: 34809
|
| |
|
|
| |
llvm-svn: 34418
|
| |
|
|
| |
llvm-svn: 34416
|
| |
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
| |
|
|
| |
llvm-svn: 34341
|
| |
|
|
|
|
|
| |
Change use of "packed" term to "vector" in comments, strings, variable
names, etc.
llvm-svn: 34300
|
| |
|
|
|
|
|
| |
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
|
| |
|
|
| |
llvm-svn: 34226
|
| |
|
|
| |
llvm-svn: 34225
|
| |
|
|
| |
llvm-svn: 34224
|
| |
|
|
| |
llvm-svn: 34206
|
| |
|
|
|
|
|
| |
Since CompilerDriver.cpp revision 1.44, llvmc must be linked against LLVMCore.a (llvm::Module::~Module) and LLVMBCReader.a
(llvm::getBytecodeModuleProvider).
llvm-svn: 34196
|
| |
|
|
| |
llvm-svn: 34188
|
| |
|
|
| |
llvm-svn: 34187
|
| |
|
|
| |
llvm-svn: 34150
|
| |
|
|
| |
llvm-svn: 34100
|
| |
|
|
|
|
| |
for parallel builds so that we space out the large links.
llvm-svn: 34098
|
| |
|
|
|
|
|
| |
of a shell script to stand in its place. The shell script just pawns the
execution off to llvm-ld.
llvm-svn: 34090
|
| |
|
|
|
|
| |
doesn't get mingled with the output bytecode.
llvm-svn: 34089
|
| |
|
|
|
|
| |
doesn't get mingled with the output bytecode.
llvm-svn: 34087
|
| |
|
|
| |
llvm-svn: 34076
|
| |
|
|
| |
llvm-svn: 34075
|
| |
|
|
| |
llvm-svn: 34074
|
| |
|
|
| |
llvm-svn: 34073
|
| |
|
|
|
|
| |
Copy a couple more missing options from gccld to llvm-ld.
llvm-svn: 34061
|
| |
|
|
|
|
|
|
| |
Make llvm-ld more gccld-like by having it run the same set of passes. The
delta was probably due to lack of llvm-ld being maintained. Just another
reason to have only one optimizing linker in in LLVM.
llvm-svn: 34058
|
| |
|
|
| |
llvm-svn: 34050
|
| |
|
|
| |
llvm-svn: 34049
|
| |
|
|
|
|
| |
Rename function scope names that conflict with basic block names.
llvm-svn: 34048
|
| |
|
|
|
|
|
|
|
| |
Always rename, never give a redef error. We could check for collapsed type
planes and generate an error if that's not the cause, but the 99.9999
percentile case will be that its the result of collapsed type planes. So,
rather than doing an expensive check, just rename.
llvm-svn: 34047
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Some changes to get the smbd.ll test case working:
1. Move the logic for CSRETCC->sret attribute out of the ResolveDefinitions
code and into getExistingValue. This resolves it much earlier and works
in function scope as well.
2. Fix handling of CSRETCC->sret for the store instruction.
3. Rewrite the code for handling renaming to factor in linkage types.
4. Rename a structure filed for a PATypeInfo* so it doesn't get confused
with a field for a Type*.
llvm-svn: 34043
|
| |
|
|
|
|
| |
instead of LTO_UNKNOWN.
llvm-svn: 34036
|
| |
|
|
|
|
| |
function to add the file writers between calls to add the passes.
llvm-svn: 34035
|
| |
|
|
| |
llvm-svn: 34025
|
| |
|
|
|
|
|
| |
When a naming conflict arises, allow internal linkage functions to be
renamed without warning or error.
llvm-svn: 34024
|