[LLVMdev] list of available/valid values near an instruction
Alexander Poddey
alexander.poddey at gmx.net
Wed Jan 14 10:10:06 PST 2015
Hi Krzysztof
yes, they are available. What I want is to have a list of those values I can
iterate over....
Alex
> I'm not sure if I understand your question correctly, but all values
> whose definitions dominate the instruction that you are looking at are
> available. Globals and function arguments are always available in a
> given module or function.
>
> -Krzysztof
>
>
> On 1/14/2015 9:08 AM, Alexander Poddey wrote:
>> 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
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>
More information about the llvm-dev
mailing list