search for: ezxxri

Displaying 2 results from an estimated 2 matches for "ezxxri".

2015 Mar 08
2
[LLVMdev] A limitation of LLVM with regard to marking sret functions as readonly.
...return g(env).x + g(env).x; } ------------------------------------ Compiles the function 'func' to just make a single call to g. Note that 's' is returned directly instead of being converted into an SRET arg, due to the small size of the class 's'. See http://goo.gl/ezXxrI If we make the class bigger, so it gets returned by SRET: ---------------------------------- class s { public: float x; float y; int a; int b; int c; }; extern s g(void* env) __attribute__ ((pure)); float func(float x, void* env) { return g(env).x + g(env).x; } ---------...
2015 Mar 09
2
[LLVMdev] A limitation of LLVM with regard to marking sret functions as readonly.
...-------------------------------- > > Compiles the function 'func' to just make a single call to g. > Note that 's' is returned directly instead of being converted into > an SRET arg, due to the small size of the class 's'. See > http://goo.gl/ezXxrI > > If we make the class bigger, so it gets returned by SRET: > > ---------------------------------- > class s > { > public: > float x; > float y; > > int a; > int b; > int c; > }; > > extern...