Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Analysis of polly-detect overhead in oggenc"
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
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 oggen*8.ll, the compile time is reduced from
2013 Jul 14
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
Hi Sebastian,
Yes, you have pointed an important reason. If we comment this source code you have listed, then the compile-time overhead for oggenc*8.ll can be reduced from 40.5261 ( 51.2%) to 20.3100 ( 35.7%).
I just sent another mail to explain why polly-detect pass leads to significant compile-time overhead. Besides the reason you have pointed, another reason is resulted from those string
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
Tobi,
it looks like this code is the problem:
for (std::vector<Value *>::iterator PI = Pointers.begin(),
PE = Pointers.end();
;) {
Value *V = *PI;
if (V->getName().size() == 0)
OS << "\"" << *V << "\"";
else
OS << "\"" << V->getName() <<
2013 Jul 14
5
[LLVMdev] Analysis of polly-detect overhead in oggenc
At 2013-07-14 13:20:42,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/13/2013 09:18 PM, Star Tan wrote:
>>
>>
>> At 2013-07-14 02:30:07,"Tobias Grosser" <tobias at grosser.es> wrote:
>>> On 07/13/2013 10:13 AM, Star Tan wrote:
>>>> Hi Tobias,
>>>
>>> Hi Star,
>[...]
>>> Before we write a
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 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
2010 Dec 13
0
[LLVMdev] asm-verbose (on by default) is really, really slow
Chris,
When asm-verbose=true, it is spending the extra time here:
% cumulative self self total
time seconds seconds calls s/call s/call name
33.67 17.19 17.19 849 0.02 0.04 AddModuleTypesToPrinter
17.51 26.13 8.94 265849169 0.00 0.00 llvm::Value::getType()
8.74 30.59 4.46 258948922 0.00 0.00
2013 Jul 22
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
At 2013-07-22 01:40:31,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/21/2013 09:49 AM, Star Tan wrote:
>> Hi all,
>>
>>
>> I have attached a patch file to reduce the polly-detect overhead.
>
>Great.
>
>> My idea is to avoid calling TypeFinder in Non-DEBUG mode, so
>> TypeFinder is only called in DEBUG mode with the DEBUG
2013 Jul 23
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/22/2013 11:58 PM, Star Tan wrote:
> Hi Tobias,
>
>
> I have attached a patch file to optimize string operations in Polly-Detect pass.
> In this patch file, I put most of long string operations in the condition variable of "PollyViewMode" or in the DEBUG mode.
OK.
> From 448482106e8d815afa40e4ce8543ba3f6f0237f1 Mon Sep 17 00:00:00 2001
> From: Star Tan
2013 Jul 21
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/21/2013 09:49 AM, Star Tan wrote:
> Hi all,
>
>
> I have attached a patch file to reduce the polly-detect overhead.
Great.
> 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
2013 Jul 22
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
At 2013-07-22 12:16:53,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/21/2013 07:33 PM, Star Tan wrote:
>> At 2013-07-22 01:40:31,"Tobias Grosser" <tobias at grosser.es> wrote:
>>
>>> On 07/21/2013 09:49 AM, Star Tan wrote:
>>>> Hi all,
>>>>
>>>>
>>>> I have attached a patch file to
2013 Jul 16
1
[LLVMdev] Analysis of polly-detect overhead in oggenc
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 oggen*8.ll, the compile
2013 Jul 22
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/21/2013 07:33 PM, Star Tan wrote:
> At 2013-07-22 01:40:31,"Tobias Grosser" <tobias at grosser.es> wrote:
>
>> On 07/21/2013 09:49 AM, Star Tan wrote:
>>> Hi all,
>>>
>>>
>>> I have attached a patch file to reduce the polly-detect overhead.
>>
>> Great.
>>
>>> My idea is to avoid calling TypeFinder in
2013 Jul 23
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
Hi Tobias,
I have attached a patch file to optimize string operations in Polly-Detect pass.
In this patch file, I put most of long string operations in the condition variable of "PollyViewMode" or in the DEBUG mode.
Bests,
Star Tan
At 2013-07-22 22:27:48,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/22/2013 01:46 AM, Star Tan wrote:
>> At
2013 Jul 22
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/22/2013 01:46 AM, Star Tan wrote:
> At 2013-07-22 12:16:53,"Tobias Grosser" <tobias at grosser.es> wrote:
>> I propose two more patches:
>>
>> 1) Transform the INVALID macro into function calls, that format
>> the text and that set LastFailure.
> Translating the INVALID macro into function calls would complicate the operations for
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
On Sun, Jul 14, 2013 at 10:17 AM, Star Tan <tanmx_star at yeah.net> wrote:
> Hi Sebastian,
>
> Yes, you have pointed an important reason. If we comment this source code
> you have listed, then the compile-time overhead for oggenc*8.ll can be
> reduced from 40.5261 ( 51.2%) to 20.3100 ( 35.7%).
>
> I just sent another mail to explain why polly-detect pass leads to
>
2010 Dec 13
2
[LLVMdev] asm-verbose (on by default) is really, really slow
On Dec 12, 2010, at 12:52 PM, Anton Korobeynikov wrote:
>> Very true, but we do want the testsuite to run fast. Can it be sped up?
> Can't we just run testsuite with asm-verbose=0 ?
I meant llvm/test. I'm just surprised it is that slow, what is costing all the time?
-Chris
2013 Jul 26
0
[LLVMdev] [Polly] Analysis of the expensive compile-time overhead of Polly Dependence pass
On 07/25/2013 09:01 PM, Star Tan wrote:
> Hi Sebastian,
>
>
> Recently, I found the "Polly - Calculate dependences" pass would lead to significant compile-time overhead when compiling some loop-intensive source code. Tobias told me you found similar problem as follows:
> http://llvm.org/bugs/show_bug.cgi?id=14240
>
>
> My evaluation shows that "Polly -
2013 Jul 26
0
[LLVMdev] [Polly] Analysis of the expensive compile-time overhead of Polly Dependence pass
At 2013-07-26 14:14:51,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/25/2013 09:01 PM, Star Tan wrote:
>> Hi Sebastian,
>>
>>
>> Recently, I found the "Polly - Calculate dependences" pass would lead to significant compile-time overhead when compiling some loop-intensive source code. Tobias told me you found similar problem as follows:
2013 Jul 01
1
[LLVMdev] [Polly][GSOC2013] FastPolly -- SCOP Detection Pass
At 2013-06-30 08:34:34,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 06/29/2013 05:04 PM, Star Tan wrote:
>> Hi all,
>>
>>
>>
>> I have investigated the compile-time overhead of "Polly Scop Detection" pass based on LNT testing results.
>> This mail is to share some results I have found.
>>
>>
>> (1) Analysis