Displaying 1 result from an estimated 1 matches for "thatisreallycold".
2011 Nov 12
0
[LLVMdev] Inliner that does not destroy splitted cold edges
...ions containing these cold edges can now inline
them. These functions can be optimized again.
Example: (function signatures in LLVM, content in PSEUDO-Code)
Starting point:
---------------
define i32 @findNumber() {
for i = 0 to 10000
if @numberFits(i) then
MYSTUFFINTHEFUNCTION
THATISREALLYCOLD
end
end
}
define i1 @numberFits() {
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
THATISREALLYC...