Lines Matching refs:isLegal
92 virtual bool isLegal(const MachineInstr *MI,
119 assert(isLegal(MI, TII) && "Cannot convert instruction");
138 bool isLegal(const MachineInstr *MI,
140 if (!InstrConverterBase::isLegal(MI, TII))
153 assert(isLegal(MI, TII) && "Cannot convert instruction");
181 assert(isLegal(MI, TII) && "Cannot convert instruction");
215 bool isLegal(const MachineInstr *MI,
217 if (!InstrConverterBase::isLegal(MI, TII))
269 assert(isLegal(MI, TII) && "Cannot convert instruction");
328 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; }
473 if (C.isLegal((RegDomain)i)) {
475 if (I == Converters.end() || !I->second->isLegal(MI, TII))
483 assert(C.isLegal(DstDomain) && "Cannot calculate cost for illegal closure");
498 assert(C.isLegal(Domain) && "Cannot convert illegal closure");
771 if (!C.empty() && C.isLegal(MaskDomain))