Dong Chen
2012-Dec-10 13:11 UTC
[LLVMdev] how to get and modify a local variable's value through executionEngine?
hi Óscar Fuentes, i am new to llvm, so i still have several questions. thanks for you help. (1)what is SSA form(static single assignment)? (2)how to traverse the basic blocks? if the module is gained by parser, what will the basic blocks contain? i will be on the line, thank you very much -- View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-local-variable-s-value-through-executionEngine-tp52446p52458.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Óscar Fuentes
2012-Dec-10 14:25 UTC
[LLVMdev] how to get and modify a local variable's value through executionEngine?
Dong Chen <jameschennerd at gmail.com> writes:> i am new to llvm, so i still have several questions. thanks for you help. > (1)what is SSA form(static single assignment)?Yes.> (2)how to traverse the basic blocks? if the module is gained by parser, what > will the basic blocks contain?Once the LLVM IR bytecode is loaded (or the LLVM assembler is parsed) you have the same C++ objects that you previously generated when you emitted the IR from your compiler. As for traversing those C++ objects for examining the IR or transforming it, see See http://www.llvm.org/docs/WritingAnLLVMPass.html
Dong Chen
2012-Dec-10 17:18 UTC
[LLVMdev] how to get and modify a local variable's value through executionEngine?
hi Óscar Fuentes , thanks for your reply, but there are still a lot of concepts i don't understand. there seems to be some document to guide you but hard to understand. can you show me some basic and easy to learn document or websites? thank you -- View this message in context: http://llvm.1065342.n5.nabble.com/how-to-get-and-modify-a-local-variable-s-value-through-executionEngine-tp52446p52466.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Reasonably Related Threads
- [LLVMdev] how to get and modify a local variable's value through executionEngine?
- [LLVMdev] how to get and modify a local variable's value through executionEngine?
- [LLVMdev] how to get and modify a local variable's value through executionEngine?
- [LLVMdev] how to get and modify a local variable's value through executionEngine?
- [LLVMdev] how to get and modify a local variable's value through executionEngine?