<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_ym18_1_1458748723320_3227">  Hi,</div><div id="yui_3_16_0_ym18_1_1458748723320_3195"><br></div><div id="yui_3_16_0_ym18_1_1458748723320_3226" dir="ltr">I have written a ModulePass (c++ code) that does transformation to LLVM bytecode. How do I build,compile and run it on windows.</div><div id="yui_3_16_0_ym18_1_1458748723320_3233" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458748723320_3234" dir="ltr">a) I need Win32 LLVM tools. (so I downloaded)</div><div id="yui_3_16_0_ym18_1_1458748723320_3267" dir="ltr">b) How do I build the dll( modulepass) so that I can pass it to optimizer or other llvm tool.</div><div id="yui_3_16_0_ym18_1_1458748723320_3277" dir="ltr">c) To test, I need to compile a test C code, emit llvm intermediate code and pass it to optimizer so  that it can run my transformation on it.<div id="yui_3_16_0_ym18_1_1458748723320_3299" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458748723320_3350" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458748723320_3351" dir="ltr">I am using windows. Any suggestion of cmdline steps\tools for the above steps will be appreciated.</div></div><div id="yui_3_16_0_ym18_1_1458748723320_3318" dir="ltr">Thanks</div></div></body></html>