Displaying 1 result from an estimated 1 matches for "threedimension".
Did you mean:
threedimensional
2013 Feb 13
0
[LLVMdev] write a transformation pass
...write a trivial adding metadata transformation pass. I have
Test.bc the target on which I want to perform transformations.
First, I compile with clang++ my target program and I have my resulting
Test.bc. I save it under Test1.bc.
As a particular example, I have " %myDimension = alloca
%class.ThreeDimension, align 4 ".
Second, I apply my pass :
//..../llvm/Release+Asserts/bin/opt -load
//home/alex/llvm/Release+Asserts/lib/my_test_metadata.so -my-metadata
//..../llvm/tools/clang/woRKSPACE/Test.bc
Test1.bc and Test.bc are the same. In Test.bc no metadata is added.
However, if in my transformation...