Lines Matching refs:Ty
227 template <typename Ty, ValueKind Kind> struct Value {
228 __attribute__((flatten, always_inline)) operator Ty() { in Ty() function
233 __attribute__((flatten, always_inline)) Value &operator=(const Ty &Other) {
249 assert_eq(const Ty &V, IdentTy *Ident = nullptr,
255 __attribute__((flatten, always_inline)) Ty &
257 Ty &t = lookup32(Kind, IsReadonly, Ident, ForceTeamState); in lookup()
261 __attribute__((flatten, always_inline)) Ty &inc(int UpdateVal, in inc()
267 __attribute__((flatten, always_inline)) Ty &set(Ty UpdateVal, in set()
279 template <typename Ty, ValueKind Kind> struct PtrValue {
280 __attribute__((flatten, always_inline)) operator Ty() { in Ty() function
285 __attribute__((flatten, always_inline)) PtrValue &operator=(const Ty Other) {
291 Ty &lookup(bool IsReadonly, IdentTy *, bool ForceTeamState) { in lookup()
295 Ty &set(Ty UpdateVal) { in set()
303 template <typename VTy, typename Ty> struct ValueRAII {
304 ValueRAII(VTy &V, Ty NewValue, Ty OldValue, bool Active, IdentTy *Ident,
307 : (Ty *)utils::UndefPtr),
321 Ty *Ptr;
322 Ty Val;