Lines Matching refs:isLegal
92 virtual bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrConverterBase
119 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
138 bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrReplacer
140 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
153 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
181 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
215 bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrCOPYReplacer
217 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
267 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
326 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; } in isLegal() function in __anon0d7edfa00111::Closure
469 if (C.isLegal((RegDomain)i)) { in encloseInstr()
471 if (I == Converters.end() || !I->second->isLegal(MI, TII)) in encloseInstr()
479 assert(C.isLegal(DstDomain) && "Cannot calculate cost for illegal closure"); in calculateCost()
494 assert(C.isLegal(Domain) && "Cannot convert illegal closure"); in reassign()
767 if (!C.empty() && C.isLegal(MaskDomain)) in runOnMachineFunction()