search for: do_a_simple_prime_test_i

Displaying 1 result from an estimated 1 matches for "do_a_simple_prime_test_i".

2011 Nov 12
0
[LLVMdev] Inliner that does not destroy splitted cold edges
...ret DO_A_SIMPLE_PRIME_TEST } After 1 and 2: -------------- define i32 @findNumber() { for i = 0 to 10000 if @numberFits(i) then call @findNumber.c(i) end end } define void @findNumber.c(i32 i) { MYSTUFFINTHEFUNCTION THATISREALLYCOLD } define i1 @numberFits(i32 i) { ret DO_A_SIMPLE_PRIME_TEST_i } After 3 and 4 (5-7 do not apply here): -------------------------------------- define i32 @findNumber() inlines @findNumber.i { for i = 0 to 10000 if DO_A_SIMPLE_PRIME_TEST_i then call @findNumber.c(i) end end } define i32 @findNumber.i() { for i = 0 to 10000 if @numberFi...