Displaying 4 results from an estimated 4 matches for "guitarfeng".
2012 Dec 25
0
[LLVMdev] About instrumenting/rewriting X86 instructions
Hi all,
I plan to use LLVM to instrument/rewrite X86 instructions during the
compilation of a program.
For example, insert checking target instructions before jmp
instructions, or rewrite a instruction to prevent code using a specific
register.
I think the work should be done at the CodeGen phase, but I'm not quite
clear how can I start.
Can anyone give me some suggestion?
Thanks very much,
2012 Dec 25
2
[LLVMdev] About instrumenting/rewriting X86 instructions
Hi all,
I plan to use LLVM to instrument/rewrite X86 instructions during the
compilation of a program.
For example, insert checking target instructions before jmp
instructions, or rewrite a instruction to prevent code using a specific
register.
I think the work should be done at the CodeGen phase, but I'm not quite
clear how can I start.
Can anyone give me some suggestion?
Thanks very
2012 Dec 25
0
[LLVMdev] About instrumenting/rewriting X86 instructions
Hi all,
I plan to use LLVM to instrument/rewrite X86 instructions during the
compilation of a program.
For example, insert checking target instructions before jmp
instructions, or rewrite a instruction to prevent code using a specific
register.
I think the work should be done at the CodeGen phase, but I'm not quite
clear how can I start.
Can anyone give me some suggestions?
Thanks very
2012 Dec 27
0
[LLVMdev] About the MachinePassRegistry
Hi all,
The "Creating new registries" part on the "Writing An LLVM Pass" page
seems unclear.
I copied "llvm/CodeGen/RegAllocRegistry.h" to my project directory,
modify the class name and the FunctionPassCtor type, and add code in the
document to my "machinepass.cpp" file.
But the llc -help doesn't show anything about the registry.
Which part is