/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 434 bool isSubRegister(unsigned RegA, unsigned RegB) const { in isSubRegister() argument 435 return isSuperRegister(RegB, RegA); in isSubRegister() 439 bool isSuperRegister(unsigned RegA, unsigned RegB) const; 442 bool isSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSubRegisterEq() argument 443 return isSuperRegisterEq(RegB, RegA); in isSubRegisterEq() 448 bool isSuperRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperRegisterEq() argument 449 return RegA == RegB || isSuperRegister(RegA, RegB); in isSuperRegisterEq() 454 bool isSuperOrSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperOrSubRegisterEq() argument 455 return isSubRegisterEq(RegA, RegB) || isSuperRegister(RegA, RegB); in isSuperOrSubRegisterEq() 527 inline bool MCRegisterInfo::isSuperRegister(unsigned RegA, unsigned RegB) const{ in isSuperRegister() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 456 bool isSubRegister(unsigned RegA, unsigned RegB) const { in isSubRegister() argument 457 return isSuperRegister(RegB, RegA); in isSubRegister() 461 bool isSuperRegister(unsigned RegA, unsigned RegB) const; 464 bool isSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSubRegisterEq() argument 465 return isSuperRegisterEq(RegB, RegA); in isSubRegisterEq() 470 bool isSuperRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperRegisterEq() argument 471 return RegA == RegB || isSuperRegister(RegA, RegB); in isSuperRegisterEq() 476 bool isSuperOrSubRegisterEq(unsigned RegA, unsigned RegB) const { in isSuperOrSubRegisterEq() argument 477 return isSubRegisterEq(RegA, RegB) || isSuperRegister(RegA, RegB); in isSuperOrSubRegisterEq() 552 inline bool MCRegisterInfo::isSuperRegister(unsigned RegA, unsigned RegB) const{ in isSuperRegister() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 140 bool isProfitableToConv3Addr(unsigned RegA, unsigned RegB); 144 unsigned RegA, unsigned RegB, unsigned Dist); 563 regsAreCompatible(unsigned RegA, unsigned RegB, const TargetRegisterInfo *TRI) { in regsAreCompatible() argument 564 if (RegA == RegB) in regsAreCompatible() 566 if (!RegA || !RegB) in regsAreCompatible() 568 return TRI->regsOverlap(RegA, RegB); in regsAreCompatible() 704 unsigned RegA = MI->getOperand(DstIdx).getReg(); in commuteInstruction() local 705 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 714 TwoAddressInstructionPass::isProfitableToConv3Addr(unsigned RegA,unsigned RegB){ in isProfitableToConv3Addr() argument 724 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr() [all …]
|
D | ImplicitNullChecks.cpp | 279 unsigned RegA = MOA.getReg(); in canReorder() local 286 if (TRI->regsOverlap(RegA, RegB) && (MOA.isDef() || MOB.isDef())) in canReorder()
|
D | TargetInstrInfo.cpp | 811 unsigned RegA = OpA.getReg(); in reassociateOps() local 817 if (TargetRegisterInfo::isVirtualRegister(RegA)) in reassociateOps() 818 MRI.constrainRegClass(RegA, RC); in reassociateOps() 846 .addReg(RegA, getKillRegState(KillA)) in reassociateOps()
|
/external/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 115 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() 664 unsigned RegA = MI->getOperand(0).getReg(); in commuteInstruction() local 665 SrcRegMap[RegA] = FromRegC; in commuteInstruction() 674 TwoAddressInstructionPass::isProfitableToConv3Addr(unsigned RegA,unsigned RegB){ in isProfitableToConv3Addr() argument 684 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr() [all …]
|
D | TargetInstrInfo.cpp | 701 unsigned RegA = OpA.getReg(); in reassociateOps() local 707 if (TargetRegisterInfo::isVirtualRegister(RegA)) in reassociateOps() 708 MRI.constrainRegClass(RegA, RC); in reassociateOps() 736 .addReg(RegA, getKillRegState(KillA)) in reassociateOps()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinAllocaExpander.cpp | 215 unsigned RegA = (SlotSize == 8) ? X86::RAX : X86::EAX; in lower() local 223 .addReg(RegA, RegState::Undef); in lower() 235 .addReg(RegA, RegState::Undef); in lower() 246 BuildMI(*MBB, MI, DL, TII->get(TargetOpcode::COPY), RegA) in lower()
|
/external/llvm/lib/Target/X86/ |
D | X86WinAllocaExpander.cpp | 214 unsigned RegA = (SlotSize == 8) ? X86::RAX : X86::EAX; in lower() local 222 .addReg(RegA, RegState::Undef); in lower() 233 .addReg(RegA, RegState::Undef); in lower() 243 BuildMI(*MBB, MI, DL, TII->get(TargetOpcode::COPY), RegA) in lower()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 108 bool isProfitableToConv3Addr(unsigned RegA, unsigned RegB); 113 unsigned RegA, unsigned RegB, unsigned Dist); 516 regsAreCompatible(unsigned RegA, unsigned RegB, const TargetRegisterInfo *TRI) { in regsAreCompatible() argument 517 if (RegA == RegB) in regsAreCompatible() 519 if (!RegA || !RegB) in regsAreCompatible() 521 return TRI->regsOverlap(RegA, RegB); in regsAreCompatible() 621 unsigned RegA = MI->getOperand(0).getReg(); in CommuteInstruction() local 622 SrcRegMap[RegA] = FromRegC; in CommuteInstruction() 631 TwoAddressInstructionPass::isProfitableToConv3Addr(unsigned RegA,unsigned RegB){ in isProfitableToConv3Addr() argument 641 unsigned ToRegA = getMappedReg(RegA, DstRegMap); in isProfitableToConv3Addr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | SparsePropagation.cpp | 482 auto RegA = TestLatticeKey(A, IPOGrouping::Register); in TEST_F() local 484 EXPECT_TRUE(Solver.getExistingValueState(RegA).isOverdefined()); in TEST_F()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.cpp | 1980 for (auto &RegA : DefsA) in isDependent() local 1983 if (RegA == RegB) in isDependent() 1986 if (Hexagon::DoubleRegsRegClass.contains(RegA)) in isDependent() 1987 for (MCSubRegIterator SubRegs(RegA, &HRI); SubRegs.isValid(); ++SubRegs) in isDependent() 1993 if (RegA == *SubRegs) in isDependent()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.cpp | 2047 for (auto &RegA : DefsA) in isDependent() local 2050 if (RegA == RegB) in isDependent() 2053 if (TargetRegisterInfo::isPhysicalRegister(RegA)) in isDependent() 2054 for (MCSubRegIterator SubRegs(RegA, &HRI); SubRegs.isValid(); ++SubRegs) in isDependent() 2060 if (RegA == *SubRegs) in isDependent()
|