Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp588 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute() local
590 bool CompB = FromRegB && regsAreCompatible(FromRegB, ToRegA, TRI); in isProfitableToCommute()
597 if ((!FromRegB && CompC) || (FromRegB && !CompB && (!FromRegC || CompC))) in isProfitableToCommute()
603 if ((!FromRegC && CompB) || (FromRegC && !CompC && (!FromRegB || CompB))) in isProfitableToCommute()
685 unsigned FromRegB = getMappedReg(RegB, SrcRegMap); in isProfitableToConv3Addr() local
686 if (!FromRegB) in isProfitableToConv3Addr()
689 return (ToRegA && !regsAreCompatible(FromRegB, ToRegA, TRI)); in isProfitableToConv3Addr()