[LLVMdev] static variables in the IR

Hotmail niko.zarzani at gmail.com
Fri Mar 22 00:12:21 PDT 2013


How can I check if an operand is a static variable in the IR? 
I've read that their linkage type should be marked as "internal" in the .s file,  but I can't find a way to test if an Instruction has static variables as operands. 
Can you help me?

Thank you in advance,

Niko



More information about the llvm-dev mailing list