Searched refs:RegA (Results 1 – 2 of 2) sorted by relevance
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 396 bool isSubRegister(unsigned RegA, unsigned RegB) const { in isSubRegister() argument 397 return isSuperRegister(RegB, RegA); in isSubRegister() 401 bool isSuperRegister(unsigned RegA, unsigned RegB) const; 404 bool isSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSubRegisterEq() argument 405 return isSuperRegisterEq(RegB, RegA); in isSubRegisterEq() 410 bool isSuperRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperRegisterEq() argument 411 return RegA == RegB || isSuperRegister(RegA, RegB); in isSuperRegisterEq() 456 inline bool MCRegisterInfo::isSuperRegister(unsigned RegA, unsigned RegB) const{ in isSuperRegister() argument 457 for (MCSuperRegIterator I(RegA, this); I.isValid(); ++I) in isSuperRegister()
|
/external/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 104 bool isProfitableToConv3Addr(unsigned RegA, unsigned RegB); 108 unsigned RegA, unsigned RegB, unsigned Dist); 491 regsAreCompatible(unsigned RegA, unsigned RegB, const TargetRegisterInfo *TRI) { in regsAreCompatible() argument 492 if (RegA == RegB) in regsAreCompatible() 494 if (!RegA || !RegB) in regsAreCompatible() 496 return TRI->regsOverlap(RegA, RegB); in regsAreCompatible() 590 unsigned RegA = MI->getOperand(0).getReg(); in commuteInstruction() local 591 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 600 TwoAddressInstructionPass::isProfitableToConv3Addr(unsigned RegA,unsigned RegB){ in isProfitableToConv3Addr() argument 610 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr() [all …]
|