Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBank.cpp20 const unsigned RegisterBank::InvalidID = UINT_MAX;
22 RegisterBank::RegisterBank() : ID(InvalidID), Name(nullptr), Size(0) {} in RegisterBank() function in RegisterBank
24 bool RegisterBank::verify(const TargetRegisterInfo &TRI) const { in verify()
55 bool RegisterBank::covers(const TargetRegisterClass &RC) const { in covers()
60 bool RegisterBank::isValid() const { in isValid()
66 bool RegisterBank::operator==(const RegisterBank &OtherRB) const { in operator ==()
75 void RegisterBank::dump(const TargetRegisterInfo *TRI) const { in dump()
79 void RegisterBank::print(raw_ostream &OS, bool IsForDebug, in print()
DRegisterBankInfo.cpp43 RegBanks.reset(new RegisterBank[NumRegBanks]); in RegisterBankInfo()
48 const RegisterBank &RegBank = getRegBank(Idx); in verify()
60 RegisterBank &RegBank = getRegBank(ID); in createRegisterBank()
61 assert(RegBank.getID() == RegisterBank::InvalidID && in createRegisterBank()
70 RegisterBank &RB = getRegBank(ID); in addRegBankCoverage()
168 const RegisterBank *
176 if (RegClassOrBank.is<const RegisterBank *>()) in getRegBank()
177 return RegClassOrBank.get<const RegisterBank *>(); in getRegBank()
185 const RegisterBank *RegisterBankInfo::getRegBankFromConstraints( in getRegBankFromConstraints()
195 const RegisterBank &RegBank = getRegBankFromRegClass(*RC); in getRegBankFromConstraints()
[all …]
DCMakeLists.txt6 RegisterBank.cpp
DRegBankSelect.cpp93 const RegisterBank *CurRegBank = RBI->getRegBank(Reg, *MRI, *TRI); in assignmentMatch()
94 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in assignmentMatch()
161 const RegisterBank *CurRegBank = RBI->getRegBank(MO.getReg(), *MRI, *TRI); in getRepairCost()
176 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in getRepairCost()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h54 const RegisterBank *RegBank;
60 const RegisterBank &RegBank) in PartialMapping()
169 const RegisterBank &RegBank);
290 std::unique_ptr<RegisterBank[]> RegBanks;
295 std::unique_ptr<const RegisterBank *[]> VTToRegBank;
350 RegisterBank &getRegBank(unsigned ID) { in getRegBank()
356 const RegisterBank *getRegBankForType(MVT::SimpleValueType SVT) const { in getRegBankForType()
370 void recordRegBankForType(const RegisterBank &RegBank,
374 new const RegisterBank *[MVT::SimpleValueType::LAST_VALUETYPE]);
410 const RegisterBank *
[all …]
DRegisterBank.h29 class RegisterBank {
44 RegisterBank();
77 bool operator==(const RegisterBank &OtherRB) const;
78 bool operator!=(const RegisterBank &OtherRB) const {
95 inline raw_ostream &operator<<(raw_ostream &OS, const RegisterBank &RegBank) {
/external/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp35 const RegisterBank &RBGPR = getRegBank(AArch64::GPRRegBankID); in AArch64RegisterBankInfo()
46 const RegisterBank &RBFPR = getRegBank(AArch64::FPRRegBankID); in AArch64RegisterBankInfo()
58 const RegisterBank &RBCCR = getRegBank(AArch64::CCRRegBankID); in AArch64RegisterBankInfo()
67 unsigned AArch64RegisterBankInfo::copyCost(const RegisterBank &A, in copyCost()
68 const RegisterBank &B, in copyCost()
79 const RegisterBank &AArch64RegisterBankInfo::getRegBankFromRegClass( in getRegBankFromRegClass()
DAArch64RegisterBankInfo.h45 unsigned copyCost(const RegisterBank &A, const RegisterBank &B,
60 const RegisterBank &
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h33 typedef PointerUnion<const TargetRegisterClass *, const RegisterBank *>
601 const RegisterBank *getRegBankOrNull(unsigned Reg) const { in getRegBankOrNull()
603 return Val.dyn_cast<const RegisterBank *>(); in getRegBankOrNull()
620 void setRegBank(unsigned Reg, const RegisterBank &RegBank);
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp60 StringMap<const RegisterBank *> Names2RegBanks;
162 const RegisterBank *getRegBank(const MachineFunction &MF, StringRef Name);
751 const RegisterBank *MIRParserImpl::getRegBank(const MachineFunction &MF, in getRegBank()
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp45 const RegisterBank &RegBank) { in setRegBank()
DMachineInstr.cpp1896 if (RC.is<const RegisterBank *>()) in print()
1897 OS << " " << RC.get<const RegisterBank *>()->getName(); in print()
DMachineVerifier.cpp998 const RegisterBank *RegBank = MRI->getRegBankOrNull(Reg); in visitMachineOperand()