LLVM InstVisitor 是如何遍历 IR 的?
How does the LLVM InstVisitor traverse IR?
感谢我 的回答,我有一个可用的 InstVisitor。 LLVM 是否使这些 InstVisitors 使用 DFS 或 BFS 遍历 IR?
DFS。在此处查看来源(相关的第 88 至 108 行):
http://llvm.org/docs/doxygen/html/InstVisitor_8h_source.html#l00088
感谢我
DFS。在此处查看来源(相关的第 88 至 108 行): http://llvm.org/docs/doxygen/html/InstVisitor_8h_source.html#l00088