Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
19 // assignment-compatible with int, which has caused code-generation bugs.
23 // code generated for some assembly instructions (because they boil down
24 // to a few constants). If this is a problem, we could change the code
27 // and best performance in optimized code.
36 static constexpr SubType from_code(int8_t code) {
37 DCHECK(base::IsInRange(static_cast<int>(code), 0, kNumRegisters - 1));
38 return SubType{code};
43 constexpr int8_t code() const {
56 static const char* GetSpecialRegisterName(int code) { return "UNKNOWN"; }
59 explicit constexpr RegisterBase(int code) : reg_code_(code) {}
79 return reg.is_valid() ? Names[reg.code()] : "invalid"; \