reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
 1408       MRI->createVirtualRegister(MRI->getRegClass(DestReg));
 1408       MRI->createVirtualRegister(MRI->getRegClass(DestReg));
 1613       for (auto UI = MRI->use_begin(Reg), E = MRI->use_end(); UI != E; ++UI) {
 1613       for (auto UI = MRI->use_begin(Reg), E = MRI->use_end(); UI != E; ++UI) {
 1896   for (auto UI = MRI->use_begin(CondReg), E = MRI->use_end(); UI != E; ++UI) {
 1896   for (auto UI = MRI->use_begin(CondReg), E = MRI->use_end(); UI != E; ++UI) {
 1933     const TargetRegisterClass *RegClass = MRI->getRegClass(BBSelectReg);
 1934     Register TrueBBReg = MRI->createVirtualRegister(RegClass);
 1935     Register FalseBBReg = MRI->createVirtualRegister(RegClass);
 1949   if (MRI->def_begin(Reg) == MRI->def_end()) {
 1949   if (MRI->def_begin(Reg) == MRI->def_end()) {
 1951                       << printReg(Reg, MRI->getTargetRegisterInfo())
 1953   } else if (!MRI->hasOneDef(Reg)) {
 1955                       << printReg(Reg, MRI->getTargetRegisterInfo())
 1958     for (auto DI = MRI->def_begin(Reg), DE = MRI->def_end(); DI != DE; ++DI) {
 1958     for (auto DI = MRI->def_begin(Reg), DE = MRI->def_end(); DI != DE; ++DI) {
 1964   assert(MRI->hasOneDef(Reg) && "Register has multiple definitions");
 1965   return (*(MRI->def_begin(Reg))).getParent();
 1984     InnerRegion->replaceRegisterInsideRegion(SourceReg, DestReg, true, MRI);
 1998       InnerRegion->replaceRegisterOutsideRegion(SourceReg, DestReg, false, MRI);
 2000     const TargetRegisterClass *RegClass = MRI->getRegClass(DestReg);
 2001     Register NextDestReg = MRI->createVirtualRegister(RegClass);
 2060       const TargetRegisterClass *RegClass = MRI->getRegClass(Reg);
 2061       Register PHIDestReg = MRI->createVirtualRegister(RegClass);
 2062       Register IfSourceReg = MRI->createVirtualRegister(RegClass);
 2069       InnerRegion->replaceRegisterOutsideRegion(Reg, PHIDestReg, true, MRI);
 2090   LLVM_DEBUG(PHIInfo.dump(MRI));
 2095   LLVM_DEBUG(PHIInfo.dump(MRI));
 2108       MachineOperand *Def = &(*(MRI->def_begin(SourceReg)));
 2121         MachineOperand *Def = &(*(MRI->def_begin(SourceReg)));
 2136   LLVM_DEBUG(PHIInfo.dump(MRI));
 2176               MRI->getRegClass(CurrentBackedgeReg);
 2177           Register NewBackedgeReg = MRI->createVirtualRegister(RegClass);
 2215   LLVM_DEBUG(PHIInfo.dump(MRI));
 2230   for (MachineRegisterInfo::reg_iterator I = MRI->reg_begin(Register),
 2231                                          E = MRI->reg_end();
 2237                         << printReg(NewRegister, MRI->getTargetRegisterInfo())
 2245                         << printReg(Register, MRI->getTargetRegisterInfo())
 2247                         << printReg(NewRegister, MRI->getTargetRegisterInfo())
 2256   LLVM_DEBUG(PHIInfo.dump(MRI));
 2261   LLVM_DEBUG(PHIInfo.dump(MRI));
 2313     const TargetRegisterClass *RegClass = MRI->getRegClass(BBSelectRegIn);
 2314     Register CodeBBSelectReg = MRI->createVirtualRegister(RegClass);
 2352     LinearizedRegion InnerRegion(CodeBB, MRI, TRI, PHIInfo);
 2450   const TargetRegisterClass *RegClass = MRI->getRegClass(PHIDest);
 2451   Register NewDestReg = MRI->createVirtualRegister(RegClass);
 2452   LRegion->replaceRegisterInsideRegion(PHIDest, NewDestReg, false, MRI);
 2572   LRegion->initLiveOut(Region, MRI, TRI, PHIInfo);
 2640   LLVM_DEBUG(PHIInfo.dump(MRI));
 2726       LLVM_DEBUG(PHIInfo.dump(MRI));
 2730   LRegion->removeFalseRegisterKills(MRI);
 2740         MRI->createVirtualRegister(MRI->getRegClass(InReg));
 2740         MRI->createVirtualRegister(MRI->getRegClass(InReg));
 2741     Register NewInReg = MRI->createVirtualRegister(MRI->getRegClass(InReg));
 2741     Register NewInReg = MRI->createVirtualRegister(MRI->getRegClass(InReg));
 2746     LRegion->replaceRegisterInsideRegion(InReg, InnerSelectReg, false, MRI);
 2761   LLVM_DEBUG(PHIInfo.dump(MRI));
 2878   MRI = &(MF.getRegInfo());
 2888   RegionMRT *RTree = MRT::buildMRT(MF, Regions, TII, MRI);
 2890   initializeSelectRegisters(RTree, 0, MRI, TII);