| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 34075
|
|
|
|
| |
llvm-svn: 34074
|
|
|
|
| |
llvm-svn: 34073
|
|
|
|
| |
llvm-svn: 34072
|
|
|
|
| |
llvm-svn: 34067
|
|
|
|
| |
llvm-svn: 34066
|
|
|
|
| |
llvm-svn: 34065
|
|
|
|
|
|
| |
strings.
llvm-svn: 34064
|
|
|
|
| |
llvm-svn: 34063
|
|
|
|
| |
llvm-svn: 34062
|
|
|
|
|
|
| |
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: 34056
|
|
|
|
| |
llvm-svn: 34055
|
|
|
|
| |
llvm-svn: 34054
|
|
|
|
|
|
|
|
| |
add some signed/unsigned arithmetic operation functions into APInt.h to
handle the signed/unsigned issue. These functions will be defined inside a
namespace "APIntOps" which is inside llvm namespace.
llvm-svn: 34053
|
|
|
|
| |
llvm-svn: 34052
|
|
|
|
| |
llvm-svn: 34051
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 34042
|
|
|
|
|
|
| |
Add some interesting CSRETCC upgrade cases.
llvm-svn: 34041
|
|
|
|
| |
llvm-svn: 34040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code sequence before the spiller is something like:
= tMOVrr
%reg1117 = tMOVrr
%reg1078 = tLSLri %reg1117, 2
The it starts spilling:
%r0 = tRestore <fi#5>, 0
%r1 = tRestore <fi#7>, 0
%r1 = tMOVrr %r1<kill>
tSpill %r1, <fi#5>, 0
%reg1078 = tLSLri %reg1117, 2
It restores the value while processing the first tMOVrr. At this point, the
spiller remembers fi#5 is available in %r0. Next it processes the second move.
It restores the source before the move and spills the result afterwards. The
move becomes a noop and is deleted. However, a spill has been inserted and that
should invalidate reuse of %r0 for fi#5 and add reuse of %r1 for fi#5.
Therefore, %reg1117 (which is also assigned fi#5) should get %r1, not %r0.
llvm-svn: 34039
|
|
|
|
| |
llvm-svn: 34038
|
|
|
|
| |
llvm-svn: 34037
|
|
|
|
|
|
| |
instead of LTO_UNKNOWN.
llvm-svn: 34036
|
|
|
|
|
|
| |
function to add the file writers between calls to add the passes.
llvm-svn: 34035
|
|
|
|
|
|
|
|
| |
definition of it into the CodeGen library. This is so that a backend doesn't
necessarily add in these writers if it doesn't use them (like in the lli
program).
llvm-svn: 34034
|
|
|
|
|
|
| |
the code emitter and not set variables.
llvm-svn: 34033
|
|
|
|
|
|
|
| |
do some common stuff, then on our own add an object file writer (by calling
a concrete function), and then do some finishing stuff, if need be.
llvm-svn: 34032
|
|
|
|
| |
llvm-svn: 34031
|
|
|
|
|
|
|
|
| |
allows us to split that method into two so that we can optionally call a
concrete function to add a writer. Removed moribund addObjectWriter()
method.
llvm-svn: 34030
|
|
|
|
| |
llvm-svn: 34029
|
|
|
|
| |
llvm-svn: 34028
|
|
|
|
| |
llvm-svn: 34027
|
|
|
|
|
|
|
|
| |
Compute BitMask correctly.
Patch by Leo (wenwenti@hotmail.com).
llvm-svn: 34026
|
|
|
|
| |
llvm-svn: 34025
|
|
|
|
|
|
|
| |
When a naming conflict arises, allow internal linkage functions to be
renamed without warning or error.
llvm-svn: 34024
|
|
|
|
|
|
|
|
|
| |
Allow @ before identifer names. Recognize the i1, i8, i16, i32, i64 keywords
as type names corresponding to bool, ubyte, ushort, uint, and ulong
respectively. While these aren't LLVM 1.9 constructs, permitting the syntax
allows post-1.9 assembly files to be upgraded.
llvm-svn: 34023
|
|
|
|
| |
llvm-svn: 34022
|
|
|
|
| |
llvm-svn: 34021
|
|
|
|
|
|
| |
lli doesn't link in Analyzer.cpp.
llvm-svn: 34020
|
|
|
|
|
|
|
| |
Add a test to ensure that i1, i8, i16, i32 and i64 are recognized by the
lexer and vars using them will be renamed appropriately.
llvm-svn: 34019
|
|
|
|
|
|
|
| |
Add a test case to test rename of internal linkage functions with the same
name, without an error or warning.
llvm-svn: 34018
|
|
|
|
| |
llvm-svn: 34017
|
|
|
|
|
|
| |
make a regression for it anyway
llvm-svn: 34014
|