search for: result_t

Displaying 4 results from an estimated 4 matches for "result_t".

Did you mean: result_r
2012 Dec 17
0
[LLVMdev] [PATCH] Teaching ScalarEvolution to handle IV=add(zext(trunc(IV)), Step)
...formance problem I am seeing for simple benchmark. > > Starting with this C code: > > 01: signed char foo(void) > 02: { > 03: const int count = 8000; > 04: signed char result = 0; > 05: int j; > 06: > 07: for (j = 0; j < count; ++j) { > 08: result += (result_t)(3); > 09: } > 10: > 11: return result; > 12: } FWIW, this code is probably not doing what it was intended to do; it's result is implementation-defined or an implementation-defined signal is raised (6.3.1.3). > > I end up with this IR feeding into Induction Variable Simpli...
2012 Dec 10
3
[LLVMdev] [PATCH] Teaching ScalarEvolution to handle IV=add(zext(trunc(IV)), Step)
...n this patch for ScalarEvolution. It addresses a performance problem I am seeing for simple benchmark. Starting with this C code: 01: signed char foo(void) 02: { 03: const int count = 8000; 04: signed char result = 0; 05: int j; 06: 07: for (j = 0; j < count; ++j) { 08: result += (result_t)(3); 09: } 10: 11: return result; 12: } I end up with this IR feeding into Induction Variable Simplification: 01: define signext i8 @foo() nounwind readnone { 02: entry: 03: br label %for.body 04: 05: for.body: ; preds = %entry, %for.body 06: %j.04...
2012 Dec 18
2
[LLVMdev] [PATCH] Teaching ScalarEvolution to handle IV=add(zext(trunc(IV)), Step)
...hmark. >> >> Starting with this C code: >> >> 01: signed char foo(void) >> 02: { >> 03: const int count = 8000; >> 04: signed char result = 0; >> 05: int j; >> 06: >> 07: for (j = 0; j < count; ++j) { >> 08: result += (result_t)(3); >> 09: } >> 10: >> 11: return result; >> 12: } > FWIW, this code is probably not doing what it was intended to do; it's > result is implementation-defined or an implementation-defined signal is > raised (6.3.1.3). Yes. The code is somewhat contrived. It...
2004 Oct 04
1
Button property not in FXTableItem for 1.2 ??
I''m using a table in an application, and it worked in 1.0 - but in 1.2 this line: @result_table.getItem(0,j).button=true gives this error: main.rb:91:in `display_result'': undefined method `setButton='' for Id:Fox::FXTableItem (NoMethodError) What am I doing wrong?? (Plus - it''s not in the RDoc anymore... where did it go?) -Rich