| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. New parameter attribute called 'inreg'. It has meaning "place this
parameter in registers, if possible". This is some generalization of
gcc's regparm(n) attribute. It's currently used only in X86-32 backend.
2. Completely rewritten CC handling/lowering code inside X86 backend.
Merged stdcall + c CCs and fastcall + fast CC.
3. Dropped CSRET CC. We cannot add struct return variant for each
target-specific CC (e.g. stdcall + csretcc and so on).
4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in
on first attribute has meaning 'This is hidden pointer to structure
return. Handle it gently'.
5. Fixed small bug in llvm-extract + add new feature to
FunctionExtraction pass, which relinks all internal-linkaged callees
from deleted function to external linkage. This will allow further
linking everything together.
NOTEs: 1. Documentation will be updated soon.
2. llvm-upgrade should be improved to translate csret => sret.
Before this, there will be some unexpected test fails.
llvm-svn: 33597
|
|
|
|
| |
llvm-svn: 33596
|
|
|
|
|
|
| |
Mozilla that Anton tracked down.
llvm-svn: 33591
|
|
|
|
| |
llvm-svn: 33585
|
|
|
|
| |
llvm-svn: 33581
|
|
|
|
| |
llvm-svn: 33578
|
|
|
|
| |
llvm-svn: 33577
|
|
|
|
| |
llvm-svn: 33574
|
|
|
|
| |
llvm-svn: 33573
|
|
|
|
| |
llvm-svn: 33571
|
|
|
|
| |
llvm-svn: 33569
|
|
|
|
| |
llvm-svn: 33568
|
|
|
|
| |
llvm-svn: 33562
|
|
|
|
|
|
| |
Now we can compile llvm-gcc on arm-linux-gnueabi!
llvm-svn: 33558
|
|
|
|
| |
llvm-svn: 33556
|
|
|
|
|
|
| |
scattered relocations.
llvm-svn: 33555
|
|
|
|
| |
llvm-svn: 33552
|
|
|
|
| |
llvm-svn: 33551
|
|
|
|
|
|
| |
for debugging and exception handling.
llvm-svn: 33550
|
|
|
|
| |
llvm-svn: 33549
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unconditional branch following it. Simply invert the condition and swap
destinations if the conditional branch can reach the destination of the
unconditional branch:
beq L1
b L2
=>
bne L2
b L1
llvm-svn: 33548
|
|
|
|
| |
llvm-svn: 33543
|
|
|
|
| |
llvm-svn: 33542
|
|
|
|
| |
llvm-svn: 33537
|
|
|
|
| |
llvm-svn: 33536
|
|
|
|
|
|
|
| |
The Module::setEndianness and Module::setPointerSize methods have been
removed. Instead you can get/set the DataLayout. Adjust thise accordingly.
llvm-svn: 33530
|
|
|
|
|
|
|
| |
Remove the Endianness and PointerSize fields from the ModuleHeader and
replace it with the DataLayout field.
llvm-svn: 33529
|
|
|
|
|
|
|
| |
Remove the setEndianess and setPointerSize methods. These are now
handled via the setDataLayout method.
llvm-svn: 33527
|
|
|
|
| |
llvm-svn: 33525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement separation of local and global symbols. Local symbols and types
now use % prefix. Global variables and functions now use @ prefix.
For PR761:
Replace:
target endian =
target pointersize =
With:
target datalayout =
llvm-svn: 33524
|
|
|
|
|
|
|
| |
Implement new syntax for local and global symbols. Types and local
symbols use the % prefix. Global variables and functions use the @ prefix.
llvm-svn: 33523
|
|
|
|
|
|
|
| |
Remove the Function::renameLocalSymbols function as it is no longer
needed.
llvm-svn: 33522
|
|
|
|
| |
llvm-svn: 33521
|
|
|
|
| |
llvm-svn: 33520
|
|
|
|
| |
llvm-svn: 33519
|
|
|
|
|
|
|
| |
is unnecessary when we are fixing up a conditional branch since we will be
adding a unconditional branch to the destination of the original branch.
llvm-svn: 33517
|
|
|
|
|
|
|
| |
CallGraphSCCPass does not need to implement runOnModule().
It supports runOnSCC().
llvm-svn: 33516
|
|
|
|
| |
llvm-svn: 33515
|
|
|
|
| |
llvm-svn: 33514
|
|
|
|
| |
llvm-svn: 33512
|
|
|
|
| |
llvm-svn: 33511
|
|
|
|
| |
llvm-svn: 33510
|
|
|
|
| |
llvm-svn: 33509
|
|
|
|
| |
llvm-svn: 33508
|
|
|
|
|
|
|
| |
- Do not round up to max. alignment of stack object if it is > stack alignment.
It will have to be handled with dynamic aligning code.
llvm-svn: 33505
|
|
|
|
|
|
| |
rounding the stack frame to a multiple of stack alignment.
llvm-svn: 33504
|
|
|
|
| |
llvm-svn: 33502
|
|
|
|
| |
llvm-svn: 33501
|
|
|
|
|
|
| |
code.
llvm-svn: 33500
|
|
|
|
|
|
| |
2. Clean up end of lines.
llvm-svn: 33499
|