search for: va_

Displaying 10 results from an estimated 10 matches for "va_".

Did you mean: va
2008 Sep 05
1
[LLVMdev] missed optimizations
...it's unused, but that's not applicable in this case. Any particular reason the inliner doesn't touch varargs? I think that when you call a varargs function without any varargs, it should be able to inline it just fine? Or at least when the function in question also doesn't call the va_* functions. > > Also, shouldn't the function g() get inlined in the h() function? It is > > inlined only if I change the g() function to be static. So isn't llvm being > > too conservative when inlining global functions? > > The inliner doesn't like varargs; se...
2006 Oct 03
2
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
Hi, Op 3-okt-06, om 20:48 heeft Chris Lattner het volgende geschreven: > You'd have to change it to something like: > > void foo(int X, ...) { > P = va_start(); > bar(X, P); > } > > void bar(int X, valist P) { > use(P); > } Can the other va_...-intrinsics be used in bar as were the "P = va_start" in bar? The va_start probably is unnecessary now in bar, but where dus the va_end need to be: at the end of foo or...
2006 Oct 03
0
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
On Mon, 2 Oct 2006, Bram Adams wrote: > So, I wonder what problems may show up in this algorithm (steps 4, 5 > and 6 seem to be crucial). The vararg-case could be a problem in step > 5, although the va_start intrinsic isn't tied to the surrounding > Function at first sight. There is an implicit dependency between vastart and the function it lives in. Specifically, if you have: void foo(int X, ...) { P = va_start(); use(P); } You can't change this to: void foo(int X, ...) {...
2006 Oct 03
0
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
On Tue, 3 Oct 2006, Bram Adams wrote: >> You'd have to change it to something like: >> void foo(int X, ...) { >> P = va_start(); >> bar(X, P); >> } >> >> void bar(int X, valist P) { >> use(P); >> } > > Can the other va_...-intrinsics be used in bar as were the "P = > va_start" in bar? The va_start probably is unnecessary now in bar, > but where dus the v...
2006 Oct 02
3
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
Hi, Op 2-okt-06, om 21:35 heeft Chris Lattner het volgende geschreven: > I think the easiest way to do this is to do the 'complement' as you > describe, but specially handle the varargs case. Basically you > need to > call va_start in the original function, and pass the valist pointer > down. > This shouldn't be too hard. OK. I've been rethinking my use of lib/Transforms/Utils/ CodeExtractor::ExtractCodeRegion(...) to obtain my first goal, but I don't think I need such a complex algorithm after a...
2008 Sep 05
0
[LLVMdev] missed optimizations
On Thu, Sep 4, 2008 at 8:39 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote: > Hi, > > I have two questions about optimizations performed by llvm. > > Consider these simple functions: > int x(int b) { return b?4:6; } > int y() { return x(0); } > > int x2() { return 5; } > int y2() { return x2(); } > > the optimized bitcode (with clang + opt
2008 Sep 04
5
[LLVMdev] missed optimizations
Hi, I have two questions about optimizations performed by llvm. Consider these simple functions: int x(int b) { return b?4:6; } int y() { return x(0); } int x2() { return 5; } int y2() { return x2(); } the optimized bitcode (with clang + opt -std-compiler-opts) is: define i32 @y(...) nounwind { entry: ret i32 6 } define i32 @y2(...) nounwind { entry: %call = call i32 (...)* @x2( ) ;
2015 Dec 04
0
Wine release 1.8-rc3
...has missing tile animation 39465 Gif Movie Gear 2.63 about window's gif only animates when mouse is moving (ReleaseDC should force surface flush when main thread is idling) 39564 Paranormal State: Poison Spring (Steam) crashes on exit with built-in msctf.dll 39580 AVISave[A,W] is using va_* instead of __ms_va_* definitions for va_list 39600 Bad sound with Steam Games 39607 Broken Image in Fitting Window. 39634 Git v2.6.3 (MSYS2 based): 'rebase.exe' fails on post-install steps (commit page when handling stack fault) 39670 Eclipse (Europa) does not start 39673 Lo...
2023 Mar 15
4
[libnbd PATCH v4 0/3] lib/utils: add async-signal-safe assert()
This is version 4 of the following sub-series: [libnbd PATCH v3 06/29] lib/utils: introduce xwrite() as a more robust write() [libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert() [libnbd PATCH v3 08/29] lib/utils: add unit test for async-signal-safe assert() http://mid.mail-archive.com/20230215141158.2426855-7-lersek at redhat.com
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...fq`n?`f<<H^lLB8HmA%|?PMBrWRZ zg1Nc1v at TkzEt2LxDWY5I+!CX~ytIst+3c|pm?Mhx-- at AFu1(A()(RoArc0>9QE;i^ zpe~ow>BgUI!a-cFgsx`BcdXHMtu(rbqxu^y6JJ>QZBvjT2pNsCNK=&>zuxsYW>a4r zmLez1ohX;tw)WQz?tf)#<Nn;bqg8Gup_!Qse~_o!`Xl-!G1-~Q)H<qTms`q2^xq}x zU3`Dd1)X4bFKg50e__M0r_{8R$=gUg;}va_7_MxL7 at gdxvAKBObu%JOtlo$uud?iD z{I*CFml(`e6Y(c%N)TrB&sGZx{TAx2xm*d#P4sqhSwwdUd$BRGT-wnn))b0B%o{?A zT!$(u(wI%wGNUmy8q1Bw9MM>-XiP6)ENO%~ZH2~LQQLSW%rzC7tUB?h<Rz|2b1{gu zt>?zC(CF%yYwzOalPvdiQ8pu94`_Vi;syVI-{jSC5Uo5KNw+pCJ8V>KtgSb?!Nhij z%!CZNMc5S8p|+M-HG8U>zDZ`H?zB%tw%JeGFn$+5V;$N?...