Searched refs:isValidId (Results 1 – 5 of 5) sorted by relevance
57 static bool isValidId(u32 id) { return id != 0 && id != (u32)-1; } in isValidId() function
249 (__msan_get_track_origins() && Origin::isValidId(origin)) ? origin : 0; in PrintWarningWithOrigin()252 if (__msan_get_track_origins() && !Origin::isValidId(origin)) { in PrintWarningWithOrigin()
327 assert((!hasId() || isValidId(Id)) && "Invalid Id"); in validate()402 assert(isValidId(SPIRVEntry::OpCode)); in validate()
57 isValidId(SPIRVId Id) { return Id != SPIRVID_INVALID && Id != 0;} in isValidId() function
570 if (!isValidId(Id)) in getId()