Lines Matching refs:domain
3840 // These instructions are all floating point domain, so xorps is the best
4609 static const uint16_t *lookup(unsigned opcode, unsigned domain) {
4611 if (ReplaceableInstrs[i][domain-1] == opcode)
4616 static const uint16_t *lookupAVX2(unsigned opcode, unsigned domain) {
4618 if (ReplaceableInstrsAVX2[i][domain-1] == opcode)
4625 uint16_t domain = (MI->getDesc().TSFlags >> X86II::SSEDomainShift) & 3;
4628 if (domain && lookup(MI->getOpcode(), domain))
4630 else if (domain && lookupAVX2(MI->getOpcode(), domain))
4632 return std::make_pair(domain, validDomains);
4635 void X86InstrInfo::setExecutionDomain(MachineInstr *MI, unsigned Domain) const {
4636 assert(Domain>0 && Domain<4 && "Invalid execution domain");
4641 assert((TM.getSubtarget<X86Subtarget>().hasAVX2() || Domain < 3) &&
4645 assert(table && "Cannot change domain");
4646 MI->setDesc(get(table[Domain-1]));