[LLVMdev] list of available/valid values near an instruction

Alexander Poddey alexander.poddey at gmx.net
Wed Jan 14 07:08:49 PST 2015


I wonder if there is a list of available/valid values (globals, constants 
arguments,..) in the scope of a given instruction?

Background:
Iterating over the instructions of a module, i would like to know which 
values are accessible in the context of the instruction, possibly replacing 
the instructions operand by a valid available other operand.


Thx
Alex   




More information about the llvm-dev mailing list