Lines Matching refs:ActiveChains

344   std::map<unsigned, Chain*> ActiveChains;  in runOnBasicBlock()  local
348 scanInstruction(&MI, Idx++, ActiveChains, AllChains); in runOnBasicBlock()
616 MachineInstr *MI, unsigned Idx, std::map<unsigned, Chain *> &ActiveChains, in scanInstruction() argument
623 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
625 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
635 ActiveChains[DestReg] = G.get(); in scanInstruction()
645 maybeKillChain(MI->getOperand(1), Idx, ActiveChains); in scanInstruction()
646 maybeKillChain(MI->getOperand(2), Idx, ActiveChains); in scanInstruction()
648 maybeKillChain(MI->getOperand(0), Idx, ActiveChains); in scanInstruction()
650 if (ActiveChains.find(AccumReg) != ActiveChains.end()) { in scanInstruction()
662 ActiveChains[AccumReg]->add(MI, Idx, getColor(DestReg)); in scanInstruction()
665 ActiveChains[DestReg] = ActiveChains[AccumReg]; in scanInstruction()
666 ActiveChains.erase(AccumReg); in scanInstruction()
673 maybeKillChain(MI->getOperand(3), Idx, ActiveChains); in scanInstruction()
679 ActiveChains[DestReg] = G.get(); in scanInstruction()
687 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
689 maybeKillChain(I, Idx, ActiveChains); in scanInstruction()
696 std::map<unsigned, Chain*> &ActiveChains) { in maybeKillChain() argument
704 if (MO.isKill() && ActiveChains.find(MO.getReg()) != ActiveChains.end()) { in maybeKillChain()
707 ActiveChains[MO.getReg()]->setKill(MI, Idx, /*Immutable=*/MO.isTied()); in maybeKillChain()
709 ActiveChains.erase(MO.getReg()); in maybeKillChain()
713 for (auto I = ActiveChains.begin(), E = ActiveChains.end(); in maybeKillChain()
719 ActiveChains.erase(I++); in maybeKillChain()