Searched refs:SrcRegMap (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 95 DenseMap<unsigned, unsigned> SrcRegMap; member in __anon588adb740111::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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 119 DenseMap<unsigned, unsigned> SrcRegMap; member in __anone2ac02160111::TwoAddressInstructionPass 621 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() 622 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() 700 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in commuteInstruction() 703 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 719 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() 765 SrcRegMap.erase(RegA); in convertInstTo3Addr() 793 bool isNew = SrcRegMap.insert(std::make_pair(NewReg, Reg)).second; in scanUses() 795 assert(SrcRegMap[NewReg] == Reg && "Can't map to two src registers!"); in scanUses() 841 bool isNew = SrcRegMap.insert(std::make_pair(DstReg, SrcReg)).second; in processCopy() [all …]
|