search for: funcreturningarbitraryi64

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

2017 Aug 31
3
[RFC] Value Range Based Optimization Opportunity in LLVM
...et / (a|1) / (b|1) / (c|1) / (d|1); // This can be simplified to return 0 } In this case, replicating the return statement in the branch allows the optimizer to prove the value of Ret at the end of the function is 0 and eliminate the arithmetic calculations. A second example: unsigned long funcReturningArbitraryi64(unsigned char *p); #define LENGTH(uv) ( (uv) < 0x80 ? 1 : \ (uv) < 0x800 ? 2 : \ (uv) < 0x10000 ? 3 : \ (uv) < 0x200000 ? 4 : \ (uv) < 0x4000000...