[LLVMdev] Instruction Cost

Jonas Wagner jonas.wagner at epfl.ch
Thu Jan 15 03:47:14 PST 2015


Hi,

3. CostModel::getInstructionCost::getInstructionCost in
> lib/Analysis/CostModel.cpp
>

I've been using the CostModel class in a project, and it has worked quite
well. I don't have very high requirements on precision, though.

Note that in order to use it, you'll probably have to create a public
header file for the class. This thread here has some more details on this:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-July/thread.html#74836

Cheers,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150115/2ac2ec34/attachment.html>


More information about the llvm-dev mailing list