search for: const_inst_iterator

Displaying 1 result from an estimated 1 matches for "const_inst_iterator".

Did you mean: const_instr_iterator
2016 May 29
1
How to find variable names from LLVM IR?
...{ Func = I->getParent()->getParent(); } StringRef name; if (!Func) name = V->getName(); else { const DILocalVariable* Var = NULL; for (const_inst_iterator Iter = inst_begin(Func), End = inst_end(Func); Iter != End; ++Iter) { if (const DbgDeclareInst* DbgDeclare = dyn_cast<DbgDeclareInst>(&*Iter)) { if (DbgDeclare->getAddress() == V) Var = DbgDeclare->getVa...