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