Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp623 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() local
625 bool CompB = FromRegB && regsAreCompatible(FromRegB, ToRegA, TRI); in isProfitableToCommute()
632 if ((!FromRegB && CompC) || (FromRegB && !CompB && (!FromRegC || CompC))) in isProfitableToCommute()
638 if ((!FromRegC && CompB) || (FromRegC && !CompC && (!FromRegB || CompB))) in isProfitableToCommute()
721 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() local
722 if (!FromRegB) in isProfitableToConv3Addr()
725 return (ToRegA && !regsAreCompatible(FromRegB, ToRegA, TRI)); in isProfitableToConv3Addr()
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp584 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() local
586 bool CompB = FromRegB && regsAreCompatible(FromRegB, ToRegA, TRI); in isProfitableToCommute()
593 if ((!FromRegB && CompC) || (FromRegB && !CompB && (!FromRegC || CompC))) in isProfitableToCommute()
599 if ((!FromRegC && CompB) || (FromRegC && !CompC && (!FromRegB || CompB))) in isProfitableToCommute()
681 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() local
682 if (!FromRegB) in isProfitableToConv3Addr()
685 return (ToRegA && !regsAreCompatible(FromRegB, ToRegA, TRI)); in isProfitableToConv3Addr()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTwoAddressInstructionPass.cpp562 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() local
566 if ((FromRegB && ToRegB && !regsAreCompatible(FromRegB, ToRegB, TRI)) && in isProfitableToCommute()
568 regsAreCompatible(FromRegB, ToRegC, TRI) || in isProfitableToCommute()
638 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() local
639 if (!FromRegB) in isProfitableToConv3Addr()
642 return (ToRegA && !regsAreCompatible(FromRegB, ToRegA, TRI)); in isProfitableToConv3Addr()