Home
last modified time | relevance | path

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

/external/llvm/include/llvm/MC/
DMCRegisterInfo.h425 bool isSubRegister(unsigned RegA, unsigned RegB) const { in isSubRegister() argument
426 return isSuperRegister(RegB, RegA); in isSubRegister()
430 bool isSuperRegister(unsigned RegA, unsigned RegB) const;
433 bool isSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSubRegisterEq() argument
434 return isSuperRegisterEq(RegB, RegA); in isSubRegisterEq()
439 bool isSuperRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperRegisterEq() argument
440 return RegA == RegB || isSuperRegister(RegA, RegB); in isSuperRegisterEq()
513 inline bool MCRegisterInfo::isSuperRegister(unsigned RegA, unsigned RegB) const{ in isSuperRegister() argument
514 for (MCSuperRegIterator I(RegA, this); I.isValid(); ++I) in isSuperRegister()
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp115 bool isProfitableToConv3Addr(unsigned RegA, unsigned RegB);
119 unsigned RegA, unsigned RegB, unsigned Dist);
534 regsAreCompatible(unsigned RegA, unsigned RegB, const TargetRegisterInfo *TRI) { in regsAreCompatible() argument
535 if (RegA == RegB) in regsAreCompatible()
537 if (!RegA || !RegB) in regsAreCompatible()
539 return TRI->regsOverlap(RegA, RegB); in regsAreCompatible()
665 unsigned RegA = MI->getOperand(0).getReg(); in commuteInstruction() local
666 SrcRegMap[RegA] = FromRegC; in commuteInstruction()
675 TwoAddressInstructionPass::isProfitableToConv3Addr(unsigned RegA,unsigned RegB){ in isProfitableToConv3Addr() argument
685 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr()
[all …]
DTargetInstrInfo.cpp699 unsigned RegA = OpA.getReg(); in reassociateOps() local
705 if (TargetRegisterInfo::isVirtualRegister(RegA)) in reassociateOps()
706 MRI.constrainRegClass(RegA, RC); in reassociateOps()
734 .addReg(RegA, getKillRegState(KillA)) in reassociateOps()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp1729 for (auto &RegA : DefsA) in isDependent() local
1732 if (RegA == RegB) in isDependent()
1735 if (Hexagon::DoubleRegsRegClass.contains(RegA)) in isDependent()
1736 for (MCSubRegIterator SubRegs(RegA, &HRI); SubRegs.isValid(); ++SubRegs) in isDependent()
1742 if (RegA == *SubRegs) in isDependent()