Lines Matching refs:depth
302 bool IsSetLockDepth(size_t reg, size_t depth) { in IsSetLockDepth() argument
305 return (it->second & (1 << depth)) != 0; in IsSetLockDepth()
311 void SetRegToLockDepth(size_t reg, size_t depth) { in SetRegToLockDepth() argument
312 CHECK_LT(depth, 32u); in SetRegToLockDepth()
313 DCHECK(!IsSetLockDepth(reg, depth)); in SetRegToLockDepth()
316 reg_to_lock_depths_.Put(reg, 1 << depth); in SetRegToLockDepth()
318 it->second |= (1 << depth); in SetRegToLockDepth()
322 void ClearRegToLockDepth(size_t reg, size_t depth) { in ClearRegToLockDepth() argument
323 CHECK_LT(depth, 32u); in ClearRegToLockDepth()
324 DCHECK(IsSetLockDepth(reg, depth)); in ClearRegToLockDepth()
327 uint32_t depths = it->second ^ (1 << depth); in ClearRegToLockDepth()