Displaying 2 results from an estimated 2 matches for "18d0aea2".
2014 Oct 03
2
[LLVMdev] Need guidance regarding MachineFunctionPass
...t; Assistant Professor
> Department of Computer Science, University of Rochesterhttp://www.cs.rochester.edu/u/criswell
>
>
--
Regards,
Sachin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141002/18d0aea2/attachment.html>
2014 Oct 02
2
[LLVMdev] Need guidance regarding MachineFunctionPass
Hello,
I am writing a MachineFunctionPass that inspects the generated machine
code, and examines each opcode and its corresponding operands. If the
'instruction + operands' match a particular sequence, then the pass should
replace them with a fixed instruction + operands sequence. I tried using
MachineInstr's getOpcode and getOperand functions but the pass didn't work
as expected.