Searched refs:reg_ (Results 1 – 6 of 6) sorted by relevance
29 RegMaintainer() : reg_(std::nullopt), modified_(false) {} in RegMaintainer()31 RegType GetMapped() const { return reg_.value(); } in GetMapped()32 void Map(RegType reg) { reg_ = std::optional<RegType>(reg); } in Map()33 bool IsMapped() const { return reg_.has_value(); } in IsMapped()38 std::optional<RegType> reg_;
47 constexpr MachineReg() : reg_{kInvalidMachineVRegNumber} {} in MachineReg()48 constexpr explicit MachineReg(int reg) : reg_{reg} {} in MachineReg()55 [[nodiscard]] constexpr int reg() const { return reg_; } in reg()57 [[nodiscard]] constexpr bool IsSpilledReg() const { return reg_ <= kLastSpilledRegNumber; } in IsSpilledReg()60 return reg_ > kInvalidMachineVRegNumber && reg_ < kFirstVRegNumber; in IsHardReg()63 [[nodiscard]] constexpr bool IsInvalidReg() const { return reg_ == kInvalidMachineVRegNumber; } in IsInvalidReg()65 [[nodiscard]] constexpr bool IsVReg() const { return reg_ >= kFirstVRegNumber; } in IsVReg()68 CHECK_GE(reg_, kFirstVRegNumber); in GetVRegIndex()69 return reg_ - kFirstVRegNumber; in GetVRegIndex()73 CHECK_LE(reg_, kLastSpilledRegNumber); in GetSpilledRegIndex()[all …]
205 ®_, in PseudoDefXReg()207 reg_{reg} {} in PseudoDefXReg()213 ®_, in PseudoDefReg()215 reg_{reg} {} in PseudoDefReg()
87 : MachineInsn(kMachineOpUndefined, 1, ®_kind_, ®_, kMachineInsnDefault), reg_{reg} {} in FakeInsnWithDefEarlyClobber()95 MachineReg reg_; member in berberis::__anon251d8ff40111::FakeInsnWithDefEarlyClobber
305 explicit RegisterTemplate(Register reg) : reg_(reg) {} in RegisterTemplate()309 if (reg.reg_.arg_no() == Register::kStackPointer) { in ToGasArgument()313 return std::string({'%', kRegisterPrefix}) + std::to_string(reg.reg_.arg_no()); in ToGasArgument()315 return '%' + std::to_string(reg.reg_.arg_no()); in ToGasArgument()321 Register reg_;
1004 GetCsrProcessor(Register& reg, SemanticsListener* listener) : reg_(reg), listener_(listener) {} in GetCsrProcessor()1007 reg_ = listener_->template GetCsr<kName>(); in operator()1011 Register& reg_;1054 SetCsrProcessor(Register reg, SemanticsListener* listener) : reg_(reg), listener_(listener) {} in SetCsrProcessor()1060 listener_->template SetCsr<kName>(reg_); in operator()1065 Register reg_;