- Jan 16, 2006
-
-
Reid Spencer authored
This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
-
Reid Spencer authored
This file makes the helper functions for auto-upgrade of llvm assembly and bytecode more accessible. This is part of de-overloading of intrinsic functions to support the flat symbol table (no type planes). llvm-svn: 25365
-
Andrew Lenharth authored
llvm-svn: 25364
-
Chris Lattner authored
llvm-svn: 25363
-
Chris Lattner authored
llvm-svn: 25362
-
Chris Lattner authored
llvm-svn: 25361
-
Duraid Madina authored
fixing divides: FP should now be 100%, and integers are fine too unless you try to div/mod 0 by anything, in which case you will get some cute number, and not 0, which is bad. llvm-svn: 25358
-
Nate Begeman authored
llvm-svn: 25357
-
Nate Begeman authored
(itanium supports bswap natively, alpha should custom lower it using the VAX floating point swapload, ha ha). llvm-svn: 25356
-
Nate Begeman authored
llvm-svn: 25355
-
Duraid Madina authored
fix division! again!! pattern isel, prepare to die. llvm-svn: 25353
-
Chris Lattner authored
that are smaller than an int, make sure to adjust the frame pointer to take this into consideration. llvm-svn: 25351
-
Chris Lattner authored
llvm-svn: 25349
-
- Jan 15, 2006
-
-
Chris Lattner authored
from memory. llvm-svn: 25346
-
Chris Lattner authored
llvm-svn: 25345
-
Chris Lattner authored
of it until they are resolved. llvm-svn: 25341
-
Chris Lattner authored
llvm-svn: 25340
-
Chris Lattner authored
llvm-svn: 25339
-
Evan Cheng authored
llvm-svn: 25338
-
Duraid Madina authored
explain that r12 is the stack pointer reg llvm-svn: 25336
-
Chris Lattner authored
Compile this: %_2E_str_8 = external global [75 x sbyte] implementation ; Functions: declare int %printf(sbyte*, ...) void %test() %tmp.101 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([75 x sbyte]* %_2E_str_8, int 0, int 0) ) ; <int> [#uses=0] unreachable } to this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 add %l0, %lo(_2E_str_8), %o0 call printf nop instead of this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 or %g0, %lo(_2E_str_8), %l1 ;; extra instruction add %l1, %l0, %o0 call printf nop llvm-svn: 25335
-
Chris Lattner authored
llvm-svn: 25334
-
Chris Lattner authored
llvm-svn: 25333
-
Chris Lattner authored
llvm-svn: 25332
-
Chris Lattner authored
be subtracted from the stack pointer. llvm-svn: 25331
-
Chris Lattner authored
llvm-svn: 25330
-
Chris Lattner authored
llvm-svn: 25329
-
Chris Lattner authored
llvm-svn: 25328
-
Chris Lattner authored
llvm-svn: 25327
-
Chris Lattner authored
llvm-svn: 25326
-
- Jan 14, 2006
-
-
Chris Lattner authored
Token chain results are not always the first or last result. Consider copyfromreg nodes, where they are the middle result (the flag result is last) llvm-svn: 25325
-
Chris Lattner authored
llvm-svn: 25324
-
Chris Lattner authored
queries are made. Patch by Daniel Berlin! llvm-svn: 25323
-
Chris Lattner authored
llvm-svn: 25322
-
Chris Lattner authored
of doing it ourselves. This fixes Transforms/Inline/2006-01-14-CallGraphUpdate.ll llvm-svn: 25321
-
Chris Lattner authored
llvm.stacksave/restore when it inserts calls to them. llvm-svn: 25320
-
Chris Lattner authored
the callgraph. llvm-svn: 25317
-
Chris Lattner authored
llvm-svn: 25315
-
Chris Lattner authored
llvm-svn: 25314
-
Nate Begeman authored
llvm-svn: 25313
-