Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp624 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() local
626 bool CompC = FromRegC && regsAreCompatible(FromRegC, ToRegA, TRI); in isProfitableToCommute()
632 if ((!FromRegB && CompC) || (FromRegB && !CompB && (!FromRegC || CompC))) in isProfitableToCommute()
638 if ((!FromRegC && CompB) || (FromRegC && !CompC && (!FromRegB || CompB))) in isProfitableToCommute()
702 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in commuteInstruction() local
703 if (FromRegC) { in commuteInstruction()
705 SrcRegMap[RegA] = FromRegC; in commuteInstruction()
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp585 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() local
587 bool CompC = FromRegC && regsAreCompatible(FromRegC, ToRegA, TRI); in isProfitableToCommute()
593 if ((!FromRegB && CompC) || (FromRegB && !CompB && (!FromRegC || CompC))) in isProfitableToCommute()
599 if ((!FromRegC && CompB) || (FromRegC && !CompC && (!FromRegB || CompB))) in isProfitableToCommute()
662 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in commuteInstruction() local
663 if (FromRegC) { in commuteInstruction()
665 SrcRegMap[RegA] = FromRegC; in commuteInstruction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTwoAddressInstructionPass.cpp563 unsigned FromRegC = getMappedReg(regC, SrcRegMap); in isProfitableToCommute() local
567 ((!FromRegC && !ToRegC) || in isProfitableToCommute()
569 regsAreCompatible(FromRegC, ToRegB, TRI))) in isProfitableToCommute()
619 unsigned FromRegC = getMappedReg(RegC, SrcRegMap); in CommuteInstruction() local
620 if (FromRegC) { in CommuteInstruction()
622 SrcRegMap[RegA] = FromRegC; in CommuteInstruction()