Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp72 const RegisterBank &RegBank = getRegBank(Idx); in verify() local
73 assert(Idx == RegBank.getID() && in verify()
75 LLVM_DEBUG(dbgs() << "Verify " << RegBank << '\n'); in verify()
76 assert(RegBank.verify(TRI) && "RegBank is invalid"); in verify()
125 const RegisterBank &RegBank = getRegBankFromRegClass(*RC, MRI.getType(Reg)); in getRegBankFromConstraints() local
127 assert(RegBank.covers(*RC) && in getRegBankFromConstraints()
129 return &RegBank; in getRegBankFromConstraints()
268 const RegisterBank *RegBank) { in hashPartialMapping() argument
269 return hash_combine(StartIdx, Length, RegBank ? RegBank->getID() : 0); in hashPartialMapping()
276 PartMapping.RegBank); in hash_value()
[all …]
DRegBankSelect.cpp122 const RegisterBank *DesiredRegBank = ValMapping.BreakDown[0].RegBank; in assignmentMatch()
263 const RegisterBank *DesiredRegBank = ValMapping.BreakDown[0].RegBank; in getRepairCost()
604 MRI->setRegBank(Reg, *ValMapping.BreakDown[0].RegBank); in applyMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h60 const RegisterBank *RegBank; member
66 const RegisterBank &RegBank) in PartialMapping()
67 : StartIdx(StartIdx), Length(Length), RegBank(&RegBank) {} in PartialMapping()
463 const RegisterBank &RegBank) const;
471 const RegisterBank &RegBank) const;
DRegisterBank.h92 inline raw_ostream &operator<<(raw_ostream &OS, const RegisterBank &RegBank) {
93 RegBank.print(OS);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp138 unsigned selectLoadStoreOpCode(unsigned Opc, unsigned RegBank,
191 const RegisterBank *RegBank = RBI.getRegBank(Reg, MRI, TRI); in guessRegClass() local
192 assert(RegBank && "Can't get reg bank for virtual register"); in guessRegClass()
195 assert((RegBank->getID() == ARM::GPRRegBankID || in guessRegClass()
196 RegBank->getID() == ARM::FPRRegBankID) && in guessRegClass()
199 if (RegBank->getID() == ARM::FPRRegBankID) { in guessRegClass()
358 unsigned RegBank, in selectLoadStoreOpCode() argument
362 if (RegBank == ARM::GPRRegBankID) { in selectLoadStoreOpCode()
376 if (RegBank == ARM::FPRRegBankID) { in selectLoadStoreOpCode()
1089 unsigned RegBank = RBI.getRegBank(Reg, MRI, TRI)->getID(); in select() local
[all …]
DARMRegisterBankInfo.cpp52 PM.RegBank->getID() == RegBankID; in checkPartMapping()
475 (Mapping.RegBank->getID() != ARM::FPRRegBankID || in getInstrMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp522 Info.D.RegBank = nullptr; in parseRegisterInfo()
529 const RegisterBank *RegBank = Target->getRegBank(VReg.Class.Value); in parseRegisterInfo() local
530 if (!RegBank) in parseRegisterInfo()
536 Info.D.RegBank = RegBank; in parseRegisterInfo()
605 MRI.setRegBank(Reg, *Info.D.RegBank); in setupRegisterInfo()
DMIParser.cpp298 const auto &RegBank = RBI->getRegBank(I); in initNames2RegBanks() local
300 std::make_pair(StringRef(RegBank.getName()).lower(), &RegBank)); in initNames2RegBanks()
1305 const RegisterBank *RegBank = nullptr; in parseRegisterClassOrBank() local
1307 RegBank = PFS.Target.getRegBank(Name); in parseRegisterClassOrBank()
1308 if (!RegBank) in parseRegisterClassOrBank()
1318 RegInfo.Kind = RegBank ? VRegInfo::REGBANK : VRegInfo::GENERIC; in parseRegisterClassOrBank()
1319 if (RegInfo.Explicit && RegInfo.D.RegBank != RegBank) in parseRegisterClassOrBank()
1321 RegInfo.D.RegBank = RegBank; in parseRegisterClassOrBank()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp205 ValMapping.BreakDown[0].RegBank == ValMapping.BreakDown[1].RegBank); in getBreakDownCost()
1130 OpdMapper.getInstrMapping().getOperandMapping(1).BreakDown[0].RegBank; in applyMappingWideLoad()
1482 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1535 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1623 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1648 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1722 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1744 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
1780 OpdMapper.getInstrMapping().getOperandMapping(1).BreakDown[0].RegBank; in applyMappingImpl()
1881 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingImpl()
[all …]
DAMDGPUGenRegisterBankInfo.def45 // StartIdx, Length, RegBank
193 assert(BankID == ValMappings[Idx].BreakDown->RegBank->getID());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenRegisterBank.inc94 // Assert that RegBank indices match their ID's
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86GenRegisterBankInfo.def15 /* StartIdx, Length, RegBank */
DX86InstructionSelector.cpp199 const RegisterBank &RegBank = *RBI.getRegBank(Reg, MRI, TRI); in getRegClass() local
200 return getRegClass(Ty, RegBank); in getRegClass()
1368 const RegisterBank &RegBank = *RBI.getRegBank(DstReg, MRI, TRI); in selectMergeValues() local
1372 MRI.setRegBank(DefReg, RegBank); in selectMergeValues()
1378 MRI.setRegBank(Tmp, RegBank); in selectMergeValues()
1437 const RegisterBank &RegBank = *RBI.getRegBank(DstReg, MRI, TRI); in materializeFP() local
1441 unsigned Opc = getLoadStoreOp(DstTy, RegBank, TargetOpcode::G_LOAD, Align); in materializeFP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenRegisterBank.inc105 // Assert that RegBank indices match their ID's
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/MIRParser/
DMIParser.h41 const RegisterBank *RegBank; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64GenRegisterBankInfo.def15 /* StartIdx, Length, RegBank */
125 Map.RegBank == &RB;
DAArch64RegisterBankInfo.cpp665 *AArch64GenRegisterBankInfo::PartMappings[OpRegBankIdx[0]].RegBank, in getInstrMapping()
666 *AArch64GenRegisterBankInfo::PartMappings[OpRegBankIdx[1]].RegBank, in getInstrMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenRegisterBank.inc130 // Assert that RegBank indices match their ID's
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenRegisterBank.inc148 // Assert that RegBank indices match their ID's
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp64 const RegisterBank &RegBank) { in setRegBank() argument
65 VRegInfo[Reg].first = &RegBank; in setRegBank()
DMachineVerifier.cpp1727 const RegisterBank *RegBank = MRI->getRegBankOrNull(Reg); in visitMachineOperand() local
1730 if (!RegBank && isFunctionRegBankSelected) { in visitMachineOperand()
1738 if (RegBank && Ty.isValid() && in visitMachineOperand()
1739 RegBank->getSize() < Ty.getSizeInBits()) { in visitMachineOperand()
1742 errs() << "Register bank " << RegBank->getName() << " too small(" in visitMachineOperand()
1743 << RegBank->getSize() << ") to fit " << Ty.getSizeInBits() in visitMachineOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h673 void setRegBank(unsigned Reg, const RegisterBank &RegBank);