Searched refs:RegClassOrBank (Results 1 – 3 of 3) sorted by relevance
90 const RegClassOrRegBank &RegClassOrBank = MRI.getRegClassOrRegBank(Reg); in getRegBank() local91 if (auto *RB = RegClassOrBank.dyn_cast<const RegisterBank *>()) in getRegBank()93 if (auto *RC = RegClassOrBank.dyn_cast<const TargetRegisterClass *>()) in getRegBank()132 auto &RegClassOrBank = MRI.getRegClassOrRegBank(Reg); in constrainGenericRegister() local133 if (RegClassOrBank.is<const TargetRegisterClass *>()) in constrainGenericRegister()136 const RegisterBank *RB = RegClassOrBank.get<const RegisterBank *>(); in constrainGenericRegister()
175 const RegClassOrRegBank &RegClassOrBank = MRI.getRegClassOrRegBank(Reg); in getRegBank() local176 if (RegClassOrBank.is<const RegisterBank *>()) in getRegBank()177 return RegClassOrBank.get<const RegisterBank *>(); in getRegBank()179 RegClassOrBank.get<const TargetRegisterClass *>(); in getRegBank()
391 const RegClassOrRegBank &RegClassOrBank = MRI.getRegClassOrRegBank(SrcReg); in selectCopy() local393 RegClassOrBank.dyn_cast<const TargetRegisterClass *>(); in selectCopy()396 RB = RegClassOrBank.get<const RegisterBank *>(); in selectCopy()727 const RegClassOrRegBank &RegClassOrBank = in select() local730 DefRC = RegClassOrBank.dyn_cast<const TargetRegisterClass *>(); in select()736 const RegisterBank &RB = *RegClassOrBank.get<const RegisterBank *>(); in select()