开发者

identify non-countable loops in LLVM

How can I i开发者_StackOverflow中文版dentify if a loop is countable or not in LLVM? Is there some library function that can be directly used?


Try hasLoopInvariantBackedgeTakenCount on ScalarEvolution. See http://llvm.org/doxygen/classllvm_1_1ScalarEvolution.html#aecd7aba4460358813feef37d71d5024e .

(If that isn't what you are looking for, please clarify.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜