return false;
}
- virtual bool isMOVSX64rm32(const MCInst &Inst) const {
- llvm_unreachable("not implemented");
- return false;
- }
-
virtual bool isLeave(const MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;
}
}
+bool isMOVSX64rm32(const MCInst &Inst) {
+ return Inst.getOpcode() == X86::MOVSX64rm32;
+}
+
class X86MCPlusBuilder : public MCPlusBuilder {
public:
X86MCPlusBuilder(const MCInstrAnalysis *Analysis, const MCInstrInfo *Info,
return Inst.getOpcode() == X86::LEA64r;
}
- bool isMOVSX64rm32(const MCInst &Inst) const override {
- return Inst.getOpcode() == X86::MOVSX64rm32;
- }
-
bool isLeave(const MCInst &Inst) const override {
return Inst.getOpcode() == X86::LEAVE || Inst.getOpcode() == X86::LEAVE64;
}