Home
last modified time | relevance | path

Searched refs:DstRegMap (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTwoAddressInstructionPass.cpp80 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp125 DenseMap<unsigned, unsigned> DstRegMap; member in __anone5dbba100111::TwoAddressInstructionPass
621 unsigned ToRegA = getMappedReg(regA, DstRegMap); in isProfitableToCommute()
724 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr()
768 DstRegMap.erase(RegB); in convertInstTo3Addr()
808 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()
810 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()
813 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses()
815 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
841 DstRegMap.insert(std::make_pair(SrcReg, DstReg)); in processCopy()
1693 DstRegMap.clear(); in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp100 DenseMap<unsigned, unsigned> DstRegMap; member in __anon9c7333b80111::TwoAddressInstructionPass
582 unsigned ToRegA = getMappedReg(regA, DstRegMap); in isProfitableToCommute()
684 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr()
726 DstRegMap.erase(RegB); in convertInstTo3Addr()
766 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()
768 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()
771 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses()
773 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
799 DstRegMap.insert(std::make_pair(SrcReg, DstReg)); in processCopy()
1633 DstRegMap.clear(); in runOnMachineFunction()