forked from caparrov/llvm-performance
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
bprail edited this page Oct 24, 2014
·
3 revisions
opt blackscholes_ct.link.bc -load=LLVMDynAnalysis.so -EnginePass -o foo.bc -taskgraph-file=../middle/output/blackscholes_16_simmedium.taskgraph
Arguments to opt:
- -load= DynamicAnalysis pass
- -EnginePass - flag to tell opt to execute pass
- -taskgraph-file=... - location of taskgraph file that corresponds to the bitcode file
- -o foo.bc - Since opt is "transforming" the bitcode, an output filename needs to be supplied.
- All other flags are per the DynamicAnalysis component
When building the DynamicAnalysis "transformation" pass:
- Note that tasklib (contech/common/tasklib/libTask.a) was copied to llvm/build/Release+Asserts/lib/
- Note that task headers were copied to local/include/Contech/