Displaying 1 result from an estimated 1 matches for "itenaries".
2017 Nov 09
2
Get basic-block cycle cost from LLVM
...etInstrLatency() in the TargetInstrInfo
class.
If i sum the latencies of the instructions in a basic block i suppose i
will get the total cycle cost for the cortex-m0.
>From what i understand is that there are multiple ways of doing scheduling
in LLVM.
I have read about one way which is using Itenaries and another which is
using SchedMachineModel.
Will the above function always give me the latencies, independent on the
scheduling method used ?
Sorry if this is a stupid question, i'm a beginner to LLVM.
Best regards,
Rick Veens
-------------- next part --------------
An HTML attachment was...