Searched refs:EncodeIndirectRefKind (Results 1 – 2 of 2) sorted by relevance
104 static_assert((EncodeIndirectRefKind(kLocal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()105 static_assert((EncodeIndirectRefKind(kGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()106 static_assert((EncodeIndirectRefKind(kWeakGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()107 static_assert(DecodeIndirectRefKind(EncodeIndirectRefKind(kLocal)) == kLocal, in ConstexprChecks()109 static_assert(DecodeIndirectRefKind(EncodeIndirectRefKind(kGlobal)) == kGlobal, in ConstexprChecks()111 static_assert(DecodeIndirectRefKind(EncodeIndirectRefKind(kWeakGlobal)) == kWeakGlobal, in ConstexprChecks()
352 static constexpr uintptr_t EncodeIndirectRefKind(IndirectRefKind kind) { in EncodeIndirectRefKind() function369 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_); in EncodeIndirectRef()