Lines Matching refs:domain
6085 // These instructions are all floating point domain, so xorps is the best
7033 static const uint16_t *lookup(unsigned opcode, unsigned domain) {
7035 if (Row[domain-1] == opcode)
7040 static const uint16_t *lookupAVX2(unsigned opcode, unsigned domain) {
7042 if (Row[domain-1] == opcode)
7049 uint16_t domain = (MI.getDesc().TSFlags >> X86II::SSEDomainShift) & 3;
7052 if (domain && lookup(MI.getOpcode(), domain))
7054 else if (domain && lookupAVX2(MI.getOpcode(), domain))
7056 return std::make_pair(domain, validDomains);
7059 void X86InstrInfo::setExecutionDomain(MachineInstr &MI, unsigned Domain) const {
7060 assert(Domain>0 && Domain<4 && "Invalid execution domain");
7065 assert((Subtarget.hasAVX2() || Domain < 3) &&
7069 assert(table && "Cannot change domain");
7070 MI.setDesc(get(table[Domain - 1]));