Lines Matching refs:Temp
402 * Temp Class
407 struct Temp {
408 Temp() noexcept : id_(0), reg_class(0) {}
409 constexpr Temp(uint32_t id, RegClass cls) noexcept : id_(id), reg_class(uint8_t(cls)) {}
419 constexpr bool operator<(Temp other) const noexcept { return id() < other.id(); }
420 constexpr bool operator==(Temp other) const noexcept { return id() == other.id(); }
421 constexpr bool operator!=(Temp other) const noexcept { return id() != other.id(); }
496 explicit Operand(Temp r) noexcept
506 explicit Operand(Temp r, PhysReg reg) noexcept
663 data_.temp = Temp(0, type);
668 data_.temp = Temp(0, type);
731 constexpr void setTemp(Temp t) noexcept
738 constexpr Temp getTemp() const noexcept { return data_.temp; }
890 Temp temp;
893 } data_ = {Temp(0, s1)};
923 : temp(Temp(0, s1)), reg_(0), isFixed_(0), isKill_(0), isPrecise_(0), isNUW_(0), isNoCSE_(0)
926 explicit Definition(Temp tmp) noexcept : temp(tmp) {}
927 Definition(PhysReg reg, RegClass type) noexcept : temp(Temp(0, type)) { setFixed(reg); }
928 Definition(uint32_t tmpId, PhysReg reg, RegClass type) noexcept : temp(Temp(tmpId, type))
935 constexpr Temp getTemp() const noexcept { return temp; }
939 constexpr void setTemp(Temp t) noexcept { temp = t; }
977 Temp temp = Temp(0, s1);
1859 constexpr RegisterDemand operator+(const Temp t) const noexcept
1891 constexpr RegisterDemand& operator+=(const Temp t) noexcept
1900 constexpr RegisterDemand& operator-=(const Temp t) noexcept
2100 Temp private_segment_buffer;
2101 Temp scratch_offset;
2144 Temp allocateTmp(RegClass rc) { return Temp(allocateId(rc), rc); }