Displaying 1 result from an estimated 1 matches for "iter3".
Did you mean:
iter
2018 Dec 09
2
Parse LLVM IR
...; std::endl;
for (auto iter2 = f.getBasicBlockList().begin();
iter2 != f.getBasicBlockList().end(); iter2++) {
BasicBlock &bb = *iter2;
std::cout << " BasicBlock: " << bb.getName().str() << std::endl;
for (auto iter3 = bb.begin(); iter3 != bb.end(); iter3++) {
Instruction &inst = *iter3;
std::cout << " Instruction " << &inst << " : " <<
inst.getOpcodeName();
unsigned int i = 0;
unsigned int opnt_cnt = i...