Lines Matching defs:Closure
290 class Closure {
306 Closure(unsigned ID, std::initializer_list<RegDomain> LegalDstDomainList) : ID(ID) {
398 void buildClosure(Closure &, Register Reg);
402 bool visitRegister(Closure &, Register Reg, RegDomain &Domain,
406 void reassign(const Closure &C, RegDomain Domain) const;
410 bool encloseInstr(Closure &C, MachineInstr *MI);
413 bool isReassignmentProfitable(const Closure &C, RegDomain Domain) const;
416 double calculateCost(const Closure &C, RegDomain Domain) const;
423 bool X86DomainReassignment::visitRegister(Closure &C, Register Reg,
453 bool X86DomainReassignment::encloseInstr(Closure &C, MachineInstr *MI) {
481 double X86DomainReassignment::calculateCost(const Closure &C,
492 bool X86DomainReassignment::isReassignmentProfitable(const Closure &C,
497 void X86DomainReassignment::reassign(const Closure &C, RegDomain Domain) const {
547 void X86DomainReassignment::buildClosure(Closure &C, Register Reg) {
795 std::vector<Closure> Closures;
816 Closure C(ClosureID++, {MaskDomain});
824 for (Closure &C : Closures) {