Lines Matching refs:DstRegMap
80 DenseMap<unsigned, unsigned> DstRegMap; member in __anon479db7640111::TwoAddressInstructionPass
564 unsigned ToRegB = getMappedReg(regB, DstRegMap); in isProfitableToCommute()
565 unsigned ToRegC = getMappedReg(regC, DstRegMap); in isProfitableToCommute()
641 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr()
675 DstRegMap.erase(RegB); in ConvertInstTo3Addr()
719 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in ScanUses()
721 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in ScanUses()
724 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in ScanUses()
726 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in ScanUses()
754 DstRegMap.insert(std::make_pair(SrcReg, DstReg)); in ProcessCopy()
1068 DstRegMap.clear(); in runOnMachineFunction()