[LLVMdev] Using CostModel to estimate machine cycles of each instruction

donney.blue at gmail.com
2014-07-17T02:10:35Z

There is CostModel.cpp since LLVM3, I am wondering if anyone can give me
an concrete example on how to use this pass to estimate cycles used in a
given IR file.

Thank you very much.


Don