Michael Graumann
2009-Jun-23 14:36 UTC
[LLVMdev] physical registers content/data print out
Hi I am using LLVM version 2.5. I am trying to build traces, using lli -print-machineinstrs to print out the machine instructions. But I don't get access to the physical registers values (e.g. %R4=??). Is it possible to print out this physical registers values? I'd tried to modify the MachineInstr.cpp, but I can't find the right place/value. I hope anybody can help me -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090623/05b58f4a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6952 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090623/05b58f4a/attachment.bin>
Anton Korobeynikov
2009-Jun-23 15:20 UTC
[LLVMdev] physical registers content/data print out
Hello, Michael> I am using LLVM version 2.5. I am trying to build traces, using lli –print-machineinstrs to print out the machine instructions. But I don’t get access to the physical registers values (e.g. %R4=??). Is it possible to print out this physical registers values? I’d tried to modify the MachineInstr.cpp, but I can’t find the right place/value.-print-machineinstrs will print instructions after the codegen, not traces. There is currently no way to obtain neither traces nor values of registers. LLVM executes stuff on per-function basis, not per instruction, also JIT does not model registers in any way. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Reasonably Related Threads
- [ARM] Should Use Load and Store with Register Offset
- [LLVMdev] Modeling GPU vector registers, again (with my implementation)
- [ARM] Should Use Load and Store with Register Offset
- [ARM] Register pressure with -mthumb forces register reload before each call
- Strange Machineinstr