Hi Soumya_Prasad_Ukil, > Can you guys tell how to recognize local & global variables ? Is there > any macro on Value* defined in LLVM? Global variable: isa<GlobalVariable>(V) Local variable: isa<AllocaInst>(V) Ciao, Duncan.