Displaying 2 results from an estimated 2 matches for "bt16ri8".
Did you mean:
bt16mi8
2015 Feb 11
2
[LLVMdev] deleting or replacing a MachineInst
...ldMI = MBBI;
// %EFLAGS<imp-def> is getting copied
// %RDX<imp-use,kill> is not getting copied (when it appears)
switch (OldMI->getOpcode()) {
default: continue;
// ....
case X86::BT64ri8:
case X86::BT32ri8:
case X86::BT16ri8: {
assert(OldMI->getNumOperands() >= 2);
MachineOperand &Reg = OldMI->getOperand(0);
MachineOperand &Imm = OldMI->getOperand(1);
assert(Reg.isReg());
assert(Imm.isImm());
imm = Imm.getImm();
if (imm >= 32)...
2015 Feb 11
2
[LLVMdev] deleting or replacing a MachineInst
I'm writing a peephole pass and I'm done with the X86_64 instruction level
detail work. But I'm having difficulty with the basic block surgery
of replacing the old MachineInst.
The peephole pass gets called per MachineFunction and then iterates over
each MachineBasicBlock and in turn over each MachineInst. When it finds an
instruction which should be replaced, it builds a new