[LLVMdev] Memory Altering/Accessing Instructions
Prakash Prabhu
prakash.prabhu at gmail.com
Wed Sep 24 13:22:37 PDT 2008
Hi all,
Would it be correct to say that the only instructions in LLVM IR that
modify/access memory potentially are the following:
(1) LoadInst : Ref
(2) StoreInst : Mod
(3) VAArgInst : Ref (?)
(4) AllocaInst : Mod
(5) MallocInst : Mod
(6) FreeInst : Mod
(7) CallInst : Mod/Ref ?
Also, my earlier impression was that the GEP instruction only computes
the effective address and does not modify/access any memory location.
Is that true ?
If I have missed other instructions that could alter/modify memory,
please let me know.
Thanks for your time.
- Prakash
More information about the llvm-dev
mailing list