Lines Matching defs:OpcodeIs
79 Matcher<MCInst> OpcodeIs(unsigned Opcode) {
84 return AllOf(OpcodeIs(Opcode), ElementsAre(IsReg(Reg), IsImm(Value)));
89 return AllOf(OpcodeIs(Opcode), ElementsAre(IsReg(Reg1), IsReg(Reg2)));
95 return AllOf(OpcodeIs(Opcode),
101 return AllOf(OpcodeIs(Opcode),
107 return AllOf(OpcodeIs(X86::SUB64ri8),
112 return AllOf(OpcodeIs(X86::ADD64ri8),
170 OpcodeIs(X86::POPF64)));
518 OpcodeIs(X86::LD_F80m), IsStackDeallocate(10)));
528 OpcodeIs(X86::LD_F80m), CopySt0ToSt1,
538 OpcodeIs(X86::LD_F80m), IsStackDeallocate(10)));
547 OpcodeIs(X86::LD_F80m), IsStackDeallocate(10)));
556 OpcodeIs(X86::LD_Fp80m), IsStackDeallocate(10)));
565 OpcodeIs(X86::LD_Fp80m), IsStackDeallocate(10)));
574 OpcodeIs(X86::LD_Fp80m), IsStackDeallocate(10)));
578 EXPECT_THAT(setRegTo(X86::DF, APInt(1, 1)), ElementsAre(OpcodeIs(X86::STD)));
582 EXPECT_THAT(setRegTo(X86::DF, APInt(1, 0)), ElementsAre(OpcodeIs(X86::CLD)));
624 OpcodeIs(X86::LEA64r), OpcodeIs(X86::SHR64ri),
625 OpcodeIs(X86::SHL64ri), OpcodeIs(X86::SUB64ri32),
627 OpcodeIs(X86::SYSCALL)));
641 ElementsAreArray({OpcodeIs(X86::LEA64r), OpcodeIs(X86::MOV64rr),
642 OpcodeIs(X86::ADD64rr), OpcodeIs(X86::SHR64ri),
643 OpcodeIs(X86::SHL64ri), OpcodeIs(X86::ADD64ri32),
646 OpcodeIs(X86::SUB64rr),
648 OpcodeIs(X86::SYSCALL)}));
655 OpcodeIs(X86::SYSCALL)));
667 OpcodeIs(X86::MOV32rm),
670 OpcodeIs(X86::SYSCALL)));
687 OpcodeIs(X86::MOV64rr), IsMovImmediate(X86::MOV64ri, X86::R9, 0),
689 OpcodeIs(X86::SYSCALL)));