Lines Matching refs:depth
313 bool IsSetLockDepth(size_t reg, size_t depth) { in IsSetLockDepth() argument
316 return (it->second & (1 << depth)) != 0; in IsSetLockDepth()
322 bool SetRegToLockDepth(size_t reg, size_t depth) { in SetRegToLockDepth() argument
323 CHECK_LT(depth, 32u); in SetRegToLockDepth()
324 if (IsSetLockDepth(reg, depth)) { in SetRegToLockDepth()
329 reg_to_lock_depths_.Put(reg, 1 << depth); in SetRegToLockDepth()
331 it->second |= (1 << depth); in SetRegToLockDepth()
336 void ClearRegToLockDepth(size_t reg, size_t depth) { in ClearRegToLockDepth() argument
337 CHECK_LT(depth, 32u); in ClearRegToLockDepth()
338 DCHECK(IsSetLockDepth(reg, depth)); in ClearRegToLockDepth()
341 uint32_t depths = it->second ^ (1 << depth); in ClearRegToLockDepth()