Displaying 10 results from an estimated 10 matches for "ep_moduleoptimizerearly".
2013 Sep 19
2
[LLVMdev] [Polly] Move Polly's execution later
Hi Tobias,
I am trying to move Polly later.
LLVM provides some predefined ExtensionPointTy:
EP_EarlyAsPossible,
EP_ModuleOptimizerEarly,
EP_LoopOptimizerEnd,
EP_ScalarOptimizerLate,
...
Currently Polly uses "EP_EarlyAsPossible" to run as early as possible. As what you suggested:
>Instead of removing canonicalization passes, I believe we may want to
>move Polly to a later place in the pass manager. Po...
2013 Sep 19
0
[LLVMdev] [Polly] Move Polly's execution later
On 09/19/2013 04:46 PM, Star Tan wrote:
> Hi Tobias,
>
>
> I am trying to move Polly later.
>
>
> LLVM provides some predefined ExtensionPointTy:
> EP_EarlyAsPossible,
> EP_ModuleOptimizerEarly,
> EP_LoopOptimizerEnd,
> EP_ScalarOptimizerLate,
> ...
>
>
> Currently Polly uses "EP_EarlyAsPossible" to run as early as possible. As what you suggested:
>> Instead of removing canonicalization passes, I believe we may want to
>> move Polly...
2013 Sep 18
0
[LLVMdev] [Polly] Compile-time and Execution-time analysis for the SCEV canonicalization
On 09/17/2013 04:12 AM, Star Tan wrote:
> Now, we come to more evaluations on http://188.40.87.11:8000/db_default/v4/nts/recent_activity
Hi Star Tan,
thanks for this very extensive analysis. The results look very
interesting. As you found out, just removing some canonicalization
passes will reduce compile time, but this reduction may in large part
being due to Polly not being able to
2018 Jun 12
2
ModulePass cannot be registered as EarlyAsPossible
Hello all,
I've followed the example in
https://github.com/CompilerTeaching/SimplePass/blob/master/SimplePass.cc in
order to create a custom pass.
The pass needs to be added before any transformation, so I used
EP_EarlyAsPossible extension point to register it. Furthermore, I need to
access to every GlobalVariable in the IR, so my pass has to be a
ModulePass, like this:
struct MyPass :
2013 Sep 22
4
[LLVMdev] [Polly] Move Polly's execution later
...s Grosser" <tobias at grosser.es> wrote:
>On 09/19/2013 04:46 PM, Star Tan wrote:
>> Hi Tobias,
>>
>>
>> I am trying to move Polly later.
>>
>>
>> LLVM provides some predefined ExtensionPointTy:
>> EP_EarlyAsPossible,
>> EP_ModuleOptimizerEarly,
>> EP_LoopOptimizerEnd,
>> EP_ScalarOptimizerLate,
>> ...
>>
>>
>> Currently Polly uses "EP_EarlyAsPossible" to run as early as possible. As what you suggested:
>>> Instead of removing canonicalization passes, I believe we may...
2017 Jul 10
2
Problems with registering of ModulePass (with Dependencies)
...ly enable the pass.
//http://adriansampson.net/blog/clangpass.html
static void registerSkeletonPass(const PassManagerBuilder &,
legacy::PassManagerBase &PM) {
PM.add(new SkeletonPass());
}
static RegisterStandardPasses
RegisterMyPass(PassManagerBuilder::EP_ModuleOptimizerEarly, registerSkeletonPass);
static RegisterStandardPasses
RegisterMyPass0(PassManagerBuilder::EP_EnabledOnOptLevel0, registerSkeletonPass);
-------- /snip------
Invocation per:
clang -Xclang -load -Xclang /path/to/llvm-pass-skeleton/build/skeleton/libSkeletonPass.so -g test.c
I use clang 4.0.1...
2013 Sep 25
0
[LLVMdev] [Polly] Move Polly's execution later
...ias Grosser" <tobias at grosser.es> wrote:>On 09/19/2013 04:46 PM, Star Tan wrote:
>> Hi Tobias,
>>
>>
>> I am trying to move Polly later.
>>
>>
>> LLVM provides some predefined ExtensionPointTy:
>> EP_EarlyAsPossible,
>> EP_ModuleOptimizerEarly,
>> EP_LoopOptimizerEnd,
>> EP_ScalarOptimizerLate,
>> ...
>>
>>
>> Currently Polly uses "EP_EarlyAsPossible" to run as early as possible. As what you suggested:
>>> Instead of removing canonicalization passes, I believe we may...
2013 Sep 17
4
[LLVMdev] [Polly] Compile-time and Execution-time analysis for the SCEV canonicalization
Now, we come to more evaluations on http://188.40.87.11:8000/db_default/v4/nts/recent_activity
I mainly care about the compile-time and execution time impact for the following cases:
pBasic (run 45): clang -O3 -load LLVMPolly.so
pNoGenSCEV (run 44): clang -O3 -load LLVMPolly.so -polly-codegen-scev -polly -polly-optimizer=none -polly-code-generator=none
pNoGenSCEV_nocan (run 47): same option
2018 Apr 04
0
Fault while using AAResultsWrapperPass in LLVM 5.0.1
...b.bc -o fun_lib.s
gcc test_clang.s fun_lib.s -o test.native
When the Pass is registered by the following code:
static void registerCPI(const PassManagerBuilder &, legacy::PassManagerBase &PM){
PM.add(new CPI());
}
static RegisterStandardPasses
RegisterMyPass(PassManagerBuilder::EP_ModuleOptimizerEarly, registerCPI);
static RegisterStandardPasses
RegisterMyPass0(PassManagerBuilder::EP_EnabledOnOptLevel0, registerCPI);
And compiled with the following command:
comp_3:
clang -Xclang -load -Xclang ${LLVM_LIB}/LLVMCPI.so -O0 -c test.c
clang -Xclang -load -Xclang ${LLVM_LIB}/LLVMCPI.so -O0 -c fun_lib...
2015 Apr 21
2
[LLVMdev] Using an alias analysis pass
...s didn’t help: `runOnFunction` was called, but `alias` never was. Additionally, now that I moved from `INITIALIZE_AG_PASS` to `RegisterPass<T>`, trying this causes an assert to trigger with the message "No default implementation found for analysis group!"
The second was to use the `EP_ModuleOptimizerEarly` extension point, since it is called right after the other AA passes are added. This makes my pass the last AA pass to be added. Same result: `runOnFunction` was called, but `alias` never was.
So what am I missing? How can I use my alias analysis pass?
Félix
-------------- next part ------------...