SCEV printing in llvm opt -
i'd analyze scalar evolution (scev) representation of several values in ir. can display scev without writing auxiliary tool? mean run opt (or other existing tool) on ir , specify command line arguments. overviewed opt command line parameters, haven't found suitable.
as far know, insights can gain workings of scev without touching code enable statistics (opt -stats
) - can see statistics emitted scev in the implementation (look statistic
macro invocations in global scope).
otherwise scev class has dump
method may more in line you're looking for. it's super easy run scev in command-line tool , invoke dump
manually. if start 1 of samples here shouldn't take more 5 minutes see dump.
Comments
Post a Comment