Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp61 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
63 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank,
65 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank,
173 EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, in EmitRegUnitPressure() argument
175 unsigned NumRCs = RegBank.getRegClasses().size(); in EmitRegUnitPressure()
176 unsigned NumSets = RegBank.getNumRegPressureSets(); in EmitRegUnitPressure()
182 for (const auto &RC : RegBank.getRegClasses()) { in EmitRegUnitPressure()
189 OS << " {" << (*Regs.begin())->getWeight(RegBank) in EmitRegUnitPressure()
190 << ", " << RegBank.getRegUnitSetWeight(RegUnits); in EmitRegUnitPressure()
201 for (unsigned UnitIdx = 0, UnitEnd = RegBank.getNumNativeRegUnits(); in EmitRegUnitPressure()
[all …]
DCodeGenRegisters.cpp56 void CodeGenSubRegIndex::updateComponents(CodeGenRegBank &RegBank) { in updateComponents() argument
65 CodeGenSubRegIndex *A = RegBank.getSubRegIdx(Comps[0]); in updateComponents()
66 CodeGenSubRegIndex *B = RegBank.getSubRegIdx(Comps[1]); in updateComponents()
80 IdxParts.push_back(RegBank.getSubRegIdx(Parts[i])); in updateComponents()
81 RegBank.addConcatSubRegIndex(IdxParts, this); in updateComponents()
117 void CodeGenRegister::buildObjectGraph(CodeGenRegBank &RegBank) { in buildObjectGraph() argument
126 ExplicitSubRegIndices.push_back(RegBank.getSubRegIdx(SRIs[i])); in buildObjectGraph()
127 ExplicitSubRegs.push_back(RegBank.getReg(SRs[i])); in buildObjectGraph()
142 CodeGenRegister *Reg = RegBank.getReg(Aliases[i]); in buildObjectGraph()
202 bool CodeGenRegister::inheritRegUnits(CodeGenRegBank &RegBank) { in inheritRegUnits() argument
[all …]
DCodeGenTarget.cpp222 if (!RegBank) in getRegBank()
223 RegBank = llvm::make_unique<CodeGenRegBank>(Records); in getRegBank()
224 return *RegBank; in getRegBank()
DCodeGenTarget.h70 mutable std::unique_ptr<CodeGenRegBank> RegBank; variable
DCodeGenRegisters.h225 bool inheritRegUnits(CodeGenRegBank &RegBank);
232 unsigned getWeight(const CodeGenRegBank &RegBank) const;