Lines Matching refs:ActiveChains

340   std::map<unsigned, Chain*> ActiveChains;  in runOnBasicBlock()  local
344 scanInstruction(&MI, Idx++, ActiveChains, AllChains); in runOnBasicBlock()
601 MachineInstr *MI, unsigned Idx, std::map<unsigned, Chain *> &ActiveChains, in scanInstruction() argument
608 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
610 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
620 ActiveChains[DestReg] = G.get(); in scanInstruction()
630 maybeKillChain(MI->getOperand(1), Idx, ActiveChains); in scanInstruction()
631 maybeKillChain(MI->getOperand(2), Idx, ActiveChains); in scanInstruction()
633 maybeKillChain(MI->getOperand(0), Idx, ActiveChains); in scanInstruction()
635 if (ActiveChains.find(AccumReg) != ActiveChains.end()) { in scanInstruction()
647 ActiveChains[AccumReg]->add(MI, Idx, getColor(DestReg)); in scanInstruction()
650 ActiveChains[DestReg] = ActiveChains[AccumReg]; in scanInstruction()
651 ActiveChains.erase(AccumReg); in scanInstruction()
659 maybeKillChain(MI->getOperand(3), Idx, ActiveChains); in scanInstruction()
665 ActiveChains[DestReg] = G.get(); in scanInstruction()
673 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
675 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
682 std::map<unsigned, Chain*> &ActiveChains) { in maybeKillChain() argument
690 if (MO.isKill() && ActiveChains.find(MO.getReg()) != ActiveChains.end()) { in maybeKillChain()
693 ActiveChains[MO.getReg()]->setKill(MI, Idx, /*Immutable=*/MO.isTied()); in maybeKillChain()
695 ActiveChains.erase(MO.getReg()); in maybeKillChain()
699 for (auto I = ActiveChains.begin(), E = ActiveChains.end(); in maybeKillChain()
705 ActiveChains.erase(I++); in maybeKillChain()