开发者

identify non-countable loops in LLVM

开发者 https://www.devze.com 2023-04-03 08:42 出处:网络
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.S

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

精彩评论

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

关注公众号