[LLVMdev] get the address in memory where an instruction lives

Tim Northover t.p.northover at gmail.com
Tue Sep 24 09:06:32 PDT 2013

Hi Eirini,

> But then i will have the address of where 'ii' points to. This might not be
> unique

Each instruction can be in at most one basic block, so you won't see
any duplicates in the iteration you wrote. In fact I think that's
enforced by the design itself: they're intrusive linked lists.



More information about the llvm-dev mailing list