search for: basiccg

Displaying 20 results from an estimated 46 matches for "basiccg".

2015 Jan 05
2
[LLVMdev] LTO v. opt
...some of the arguments don’t seem to be quite correct. I assume this just minor bit rot. bin/opt -o pass1.bc -datalayout -notti -basictti -x86tti -targetlibinfo -no-aa -tbaa -scoped-noalias -assumption-tracker -basicaa -verify -verify-di -ipsccp -globalopt -c\ onstmerge -deadargelim -instcombine -basiccg -inline-cost -inline -prune-eh -globalopt -globaldce -basiccg -argpromotion -instcombine -lazy-value-info -jump-threading -domt\ ree -sroa -basiccg -functionattrs -globalsmodref-aa -domtree -loops -loop-simplify -lcssa -licm -memdep -mldst-motion -domtree -memdep -gvn -memdep -memcpyopt -dse -loops...
2010 Jan 21
4
[LLVMdev] call graph not complete
...= load i32* %retval ; <i32> [#uses=1] ret i32 %0 } define void @foo() nounwind { entry: %a = alloca i32, align 4 ; <i32*> [#uses=1] store i32 10, i32* %a ret void } Bitcode generated by llvm-ld with -disable-opt and -basiccg options is: define i32 @main() nounwind { entry: %retval = alloca i32 ; <i32*> [#uses=3] store i32 0, i32* %retval call void (...)* bitcast (void ()* @foo to void (...)*)() store i32 0, i32* %retval %0 = load i32* %retval...
2010 Jan 21
0
[LLVMdev] call graph not complete
Hi, > Bitcode generated by llvm-ld with –disable-opt and –basiccg options is: ... > My point is why is the call to foo not resolved correctly in llvm-ld. Resolving an call to a direct call is an optimization. But you turned all optimizations off. Ciao, Duncan.
2018 Feb 02
2
Debug info error on bitcode inline modification
...------------------------------------------ * Applying -always-inline pass (Debug info error occurs) ----------------------------------------------------------------- $ opt -debug-pass=Structure -always-inline test.bc -o test.bc.inline Pass Arguments: -targetlibinfo -tti -assumption-cache-tracker -basiccg -always-inline -verify Target Library Information Target Transform Information Assumption Cache Tracker ModulePass Manager CallGraph Construction Call Graph SCC Pass Manager Inliner for always_inline functions FunctionPass Manager Module Verifier Bitcode Writer !db...
2012 Apr 07
3
[LLVMdev] Problems on getting the OPT resultant bitcode
Hi, I want to write a piece of code to instrument c++ programs. I have finished writing the pass, but I do not know how to get the resultant bitcode I ran OPT with the following arguments: opt -basiccg -basicaa -load /home/andy/llvm-3.0.src/Release/lib/InstTest.so -InstTest </home/andy/llvm-3.0.src/workspace/threadTest/Debug/threadTest.bc> -o=</home/andy/output/out.bc> /dev/null where </home/andy/llvm-3.0.src/workspace/threadTest/Debug/threadTest.bc> is the input file, and </...
2015 Jan 05
2
[LLVMdev] LTO v. opt
On Jan 3, 2015, at 11:52 PM, Bill Wendling <isanbard at gmail.com> wrote: > On Jan 2, 2015, at 8:32 PM, David Callahan <dcallahan at fb.com> wrote: > >> Hi, >> >> I am new to the LLVM dev community so forgive a perhaps obvious question. I am looking at bug 17623 which is an LTO/optimizer interaction bug. I am working on a Mac with Xcode installed but have
2018 Feb 02
0
Debug info error on bitcode inline modification
...------------------ > > * Applying -always-inline pass (Debug info error occurs) > ----------------------------------------------------------------- > $ opt -debug-pass=Structure -always-inline test.bc -o test.bc.inline > Pass Arguments: -targetlibinfo -tti -assumption-cache-tracker -basiccg > -always-inline -verify > Target Library Information > Target Transform Information > Assumption Cache Tracker > ModulePass Manager > CallGraph Construction > Call Graph SCC Pass Manager > Inliner for always_inline functions > FunctionPass Manager &...
2010 Jan 21
1
[LLVMdev] call graph not complete
Duncan Sands wrote: > Hi, > > >> Bitcode generated by llvm-ld with –disable-opt and –basiccg options is: >> > > ... > > > >> My point is why is the call to foo not resolved correctly in llvm-ld. >> > > Resolving an call to a direct call is an optimization. But you turned all > optimizations off. > > BTW, why do clang generat...
2018 Feb 05
1
Debug info error on bitcode inline modification
...gt;> >> * Applying -always-inline pass (Debug info error occurs) >> ----------------------------------------------------------------- >> $ opt -debug-pass=Structure -always-inline test.bc -o test.bc.inline >> Pass Arguments: -targetlibinfo -tti -assumption-cache-tracker -basiccg >> -always-inline -verify >> Target Library Information >> Target Transform Information >> Assumption Cache Tracker >> ModulePass Manager >> CallGraph Construction >> Call Graph SCC Pass Manager >> Inliner for always_inline functions &...
2011 Nov 15
1
[LLVMdev] opt -O2 optimization passes
...s=Arguments I've got following output for LLVM opt 2.9: Pass Arguments: -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl -early-cse Pass Arguments: -targetlibinfo -no-aa -tbaa -basicaa -preverify -domtree -verify -lowersetjmp -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -argpromotion -scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unsw...
2013 Aug 19
1
[LLVMdev] How to disbale loop-rotate in opt -O3 ?
...and I call the reduced list of passes from opt: opt -targetdata -no-aa -tbaa -targetlibinfo -basicaa -preverify -domtree -verify -simplifycfg -domtree -scalarrepl -early-cse -lower-expect -targetlibinfo -targetdata -no-aa -tbaa -basicaa -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -argpromotion -scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unsw...
2012 Jul 31
1
[LLVMdev] how to let memory dependency analysis use globalsmodref
Hi there, I am doing: opt -print-memdeps ./test.bc -analyze -globalsmodref-aa by adding globalsmodref-aa, I am hoping that globalsmodref alias analysis will be used. However, it does not turn out to be so. I found this out by adding some "errs() << " into the source code for that alias analysis. So my question is what should I do to let memory dependency analysis use
2015 May 11
2
[LLVMdev] about MemoryDependenceAnalysis usage
...est.ll -S -load ./libPlaydep.so -O3 -playdep > --debug-pass=Structure > Pass Arguments: -targetlibinfo -datalayout -notti -basictti -x86tti -no-aa > -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -verify-di -ipsccp > -globalopt -deadargelim -domtree -instcombine -simplifycfg -basiccg > -prune-eh -inline-cost -inline -functionattrs -argpromotion -sroa -domtree > -early-cse -lazy-value-info -jump-threading -correlated-propagation > -simplifycfg -domtree -instcombine -tailcallelim -simplifycfg -reassociate > -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -loo...
2013 Sep 05
1
[LLVMdev] why functionattrs doesn't add dependency of AliasAnalysis
...rangest thing is the opt doesn't suffer from this issue. please note that directly use -functionattrs, it can run without AliasAnalysis. Could you explain why? liuxin at rd58:~/testbed$ opt -functionattrs -debug-pass=Structure < pf.bc > /dev/null Pass Arguments: -targetlibinfo -no-aa -basiccg -functionattrs -preverify -domtree -verify Target Library Information No Alias Analysis (always returns 'may' alias) ModulePass Manager Basic CallGraph Construction Call Graph SCC Pass Manager Deduce function attributes FunctionPass Manager Preliminary module v...
2015 Jan 17
3
[LLVMdev] loop multiversioning
...ker -basicaa -verify -add-discriminators -simplifycfg -domtree -sroa -early-cse -lower-expect Pass Arguments: -datalayout -notti -basictti -x86tti -targetlibinfo -no-aa -tbaa -scoped-noalias -assumption-tracker -basicaa -verify-di -ipsccp -globalopt -deadargelim -domtree -instcombine -simplifycfg -basiccg -prune-eh -inline-cost -inline -functionattrs -argpromotion -sroa -domtree -early-cse -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -domtree -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -loop-unswitch -instcomb...
2016 May 09
2
Some questions about phase ordering in OPT and LLC
...d-noalias -assumption-cache-tracker -targetlibinfo -basicaa -verify -simplifycfg -domtree -sroa -early-cse -lower-expect > > Pass Arguments: -targetlibinfo -tti -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -ipsccp -globalopt -deadargelim -domtree -instcombine -simplifycfg -basiccg -prune-eh -inline-cost -inline -functionattrs -argpromotion -domtree -sroa -early-cse -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -domtree -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -loop-unswitch -instcomb...
2016 May 09
4
Some questions about phase ordering in OPT and LLC
...-scoped-noalias -assumption-cache-tracker -targetlibinfo -basicaa -verify -simplifycfg -domtree -sroa -early-cse -lower-expect Pass Arguments: -targetlibinfo -tti -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -ipsccp -globalopt -deadargelim -domtree -instcombine -simplifycfg -basiccg -prune-eh -inline-cost -inline -functionattrs -argpromotion -domtree -sroa -early-cse -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -domtree -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -loop-unswitch -ins...
2015 Dec 02
5
Is there a way to pass Optimization passes to clang?
...ug-pass=Arguments Which results in: Pass Arguments: -no-aa -tbaa -targetlibinfo -basicaa -notti -preverify -domtree -verify -simplifycfg -domtree -sroa -early-cse -lower-expect Pass Arguments: -targetlibinfo -no-aa -tbaa -basicaa -notti -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -inline-cost -always-inline -functionattrs -sroa -domtree -early-cse -simplify-libcalls -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch...
2015 May 09
2
[LLVMdev] about MemoryDependenceAnalysis usage
Hi, I try to use MemoryDependenceAnalysis in a pass to analyse a simple function: void fct (int *restrict*restrict M, int *restrict*restrict L) { S1: M[1][1] = 1; S2: L[2][2] = 2; } When I iterate over MemoryDependenceAnalysis on the S2 statement, I get the load instruction for the first depth of the array, that’s ok. But I get also the load and store for the S1 statement. I assume the
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
...in the resulting pass options with -O3 (obtained using '-Xclang -debug-only=Execution' and '-Xlinker -debug-only=Execution'): Clang: Pass Arguments: -raiseallocs -simplifycfg -domtree -domfrontier -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -functionattrs -inline -argpromotion -simplify-libcalls -instcombine -jump-threading -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -break-crit-edges -condprop -tailcallelim -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -lcssa -loop-rotate -licm -lcssa...