[LLVMdev] Instruction Cost

Jingyue Wu jingyue at google.com
Tue Jan 20 11:37:15 PST 2015


Thanks all for replying! I'll try the CostModel class first.

Jingyue

On Thu, Jan 15, 2015 at 3:47 AM, Jonas Wagner <jonas.wagner at epfl.ch> wrote:

> 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/20150120/4148cfa1/attachment.html>


More information about the llvm-dev mailing list