- Jul 28, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22542
-
Reid Spencer authored
appended to a path string that didn't end in a slash, yielding invalid path names. Path contribute by Nicholas Riley. llvm-svn: 22539
-
Andrew Lenharth authored
llvm-svn: 22538
-
Andrew Lenharth authored
near the GOT, which new doesn't do. So break out the allocate into a new function. Also move GOT index handling into JITResolver. This lets it update the mapping when a Lazy function is JITed. It doesn't managed the table, just the mapping. Note that this is still non-ideal, as any function that takes a function address should also take a GOT index, but that is a lot of changes. The relocation resolve process updates any GOT entry it sees is out of date. llvm-svn: 22537
-
Chris Lattner authored
have to write arguments to the stack llvm-svn: 22536
-
Chris Lattner authored
llvm-svn: 22535
-
Nate Begeman authored
For the following code: double %ext(int %A.0__, long %A.1__) { %A_addr = alloca %typedef.DComplex ; <%typedef.DComplex*> [#uses=2] %tmp.1 = cast %typedef.DComplex* %A_addr to int* ; <int*> [#uses=1] store int %A.0__, int* %tmp.1 %tmp.2 = getelementptr %typedef.DComplex* %A_addr, int 0, uint 1 ; <double*> [#uses=2] %tmp.3 = cast double* %tmp.2 to long* ; <long*> [#uses=1] store long %A.1__, long* %tmp.3 %tmp.5 = load double* %tmp.2 ; <double> [#uses=1] ret double %tmp.5 } We now generate: _ext: .LBB_ext_0: ; stw r3, -12(r1) stw r4, -8(r1) stw r5, -4(r1) lfd f1, -8(r1) blr Instead of: _ext: .LBB_ext_0: ; stw r3, -12(r1) addi r2, r1, -12 stw r4, 4(r2) stw r5, 8(r2) lfd f1, 4(r2) blr This also fires hundreds of times on MultiSource. llvm-svn: 22533
-
Nate Begeman authored
llvm-svn: 22530
-
Chris Lattner authored
llvm-svn: 22529
-
Chris Lattner authored
llvm-svn: 22528
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22523
-
Nate Begeman authored
unnecessary SP manipulation in leaf routines that don't need it. llvm-svn: 22522
-
Chris Lattner authored
llvm-svn: 22521
-
Jeff Cohen authored
llvm-svn: 22520
-
- Jul 26, 2005
-
-
Chris Lattner authored
llvm-svn: 22518
-
Chris Lattner authored
llvm-svn: 22517
-
Nate Begeman authored
llvm-svn: 22516
-
Chris Lattner authored
is actually dead because of this! llvm-svn: 22515
-
Chris Lattner authored
llvm-svn: 22513
-
- Jul 25, 2005
-
-
Nate Begeman authored
the need to build PIC. llvm-svn: 22512
-
- Jul 23, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22508
-
Chris Lattner authored
llvm-svn: 22507
-
Andrew Lenharth authored
Handle more imm forms, and load small negative i32 constants without hitting memory (should do the same for arbitrary zero extended small negative constants) llvm-svn: 22505
-
- Jul 22, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22502
-
Andrew Lenharth authored
llvm-svn: 22500
-
Andrew Lenharth authored
llvm-svn: 22499
-
Andrew Lenharth authored
llvm-svn: 22498
-
Andrew Lenharth authored
the JIT memory manager will construct a GOT if you want it too. Also, it places the constants in the allocated memory, rather than a malloc area llvm-svn: 22497
-
- Jul 21, 2005
-
-
Nate Begeman authored
Remove the LoadHiAddr pseudo-instruction. Optimization of stores to and loads from statics. Force JIT to use new non-PIC codepaths. llvm-svn: 22494
-
Chris Lattner authored
llvm-svn: 22493
-
Nate Begeman authored
PowerPC gets subtarget support up. llvm-svn: 22489
-
Nate Begeman authored
8-byte align doubles. llvm-svn: 22486
-
- Jul 20, 2005
-
-
Chris Lattner authored
explained in the comment. This fixes UnitTests/2003-09-18-BitFieldTest on darwin llvm-svn: 22483
-
Chris Lattner authored
llvm-svn: 22480
-
- Jul 19, 2005
-
-
Nate Begeman authored
automatically generated from a target description. llvm-svn: 22470
-
Nate Begeman authored
llvm-svn: 22469
-
Reid Spencer authored
This is the first incremental patch to implement this feature. It adds no functionality to LLVM but setup up the information needed from targets in order to implement the optimization correctly. Each target needs to specify the maximum number of store operations for conversion of the llvm.memset, llvm.memcpy, and llvm.memmove intrinsics into a sequence of store operations. The limit needs to be chosen at the threshold of performance for such an optimization (generally smallish). The target also needs to specify whether the target can support unaligned stores for multi-byte store operations. This helps ensure the optimization doesn't generate code that will trap on an alignment errors. More patches to follow. llvm-svn: 22468
-
Chris Lattner authored
as a signed compare. This patch may fix PR597, but is correct in any case. llvm-svn: 22465
-
- Jul 18, 2005
-
-
Chris Lattner authored
expand the code to work for all integer datatypes. This should unbreak alpha. llvm-svn: 22464
-
- Jul 16, 2005
-
-
Chris Lattner authored
This allows is to not emit empty sections when .data or .bss is not used. llvm-svn: 22457
-