search for: reportinvalidafffunc

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

2013 Jul 21
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
...believe it is good to make the 'return false' explicit. Hence, I propose to transform the code in something like the following: Instead of if (checkSomething()) INVALID(AffFunc, "Test" << SCEV <<); we should get something like: if (checkSomething()) { reportInvalidAffFunc(SCEV); return false; } The reportInvalidAffFunc is then either a NO-OP (during normal execution) or it reports the error (in case we need it). I am not yet fully sure how the reportInvalid* functions should look like. However, the part of your patch that is easy to commit without further di...
2013 Jul 21
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
Hi all, I have attached a patch file to reduce the polly-detect overhead. My idea is to avoid calling TypeFinder in Non-DEBUG mode, so TypeFinder is only called in DEBUG mode with the DEBUG macro. This patch file did this work with following modifications: First, it keeps most of string information by replacing "<<" with "+" operation. For example, code like this:
2013 Jul 22
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
...9; >explicit. > >Hence, I propose to transform the code in something like the following: > >Instead of > > if (checkSomething()) > INVALID(AffFunc, "Test" << SCEV <<); > >we should get something like: > > if (checkSomething()) { > reportInvalidAffFunc(SCEV); > return false; > } > >The reportInvalidAffFunc is then either a NO-OP (during normal >execution) or it reports the error (in case we need it). What do you mean with "Normal Execution"? Does the GraphPrinter executes in "normal case"? If GraphPrinter i...
2013 Jul 14
3
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/14/2013 08:05 AM, Star Tan wrote: > I have found that the extremely expensive compile-time overhead comes from the string buffer operation for "INVALID" MACRO in the polly-detect pass. > Attached is a hack patch file that simply remove the string buffer operation. This patch file can significantly reduce compile-time overhead when compiling big source code. For example, for