Searched refs:SrcRegMap (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 75 DenseMap<unsigned, unsigned> SrcRegMap; member in __anon479db7640111::TwoAddressInstructionPass 562 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() 563 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() 619 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in CommuteInstruction() 622 SrcRegMap[RegA] = FromRegC; in CommuteInstruction() 638 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() 674 SrcRegMap.erase(RegA); in ConvertInstTo3Addr() 706 bool isNew = SrcRegMap.insert(std::make_pair(NewReg, Reg)).second; in ScanUses() 708 assert(SrcRegMap[NewReg] == Reg && "Can't map to two src registers!"); in ScanUses() 756 bool isNew = SrcRegMap.insert(std::make_pair(DstReg, SrcReg)).second; in ProcessCopy() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 120 DenseMap<unsigned, unsigned> SrcRegMap; member in __anone5dbba100111::TwoAddressInstructionPass 623 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() 624 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() 702 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in commuteInstruction() 705 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 721 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() 767 SrcRegMap.erase(RegA); in convertInstTo3Addr() 795 bool isNew = SrcRegMap.insert(std::make_pair(NewReg, Reg)).second; in scanUses() 797 assert(SrcRegMap[NewReg] == Reg && "Can't map to two src registers!"); in scanUses() 843 bool isNew = SrcRegMap.insert(std::make_pair(DstReg, SrcReg)).second; in processCopy() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 95 DenseMap<unsigned, unsigned> SrcRegMap; member in __anon9c7333b80111::TwoAddressInstructionPass 584 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() 585 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() 662 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in commuteInstruction() 665 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 681 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() 725 SrcRegMap.erase(RegA); in convertInstTo3Addr() 753 bool isNew = SrcRegMap.insert(std::make_pair(NewReg, Reg)).second; in scanUses() 755 assert(SrcRegMap[NewReg] == Reg && "Can't map to two src registers!"); in scanUses() 801 bool isNew = SrcRegMap.insert(std::make_pair(DstReg, SrcReg)).second; in processCopy() [all …]
|