Home
last modified time | relevance | path

Searched refs:code_ (Results 1 – 25 of 54) sorted by relevance

123

/third_party/node/deps/v8/src/parsing/
Dpreparser.h96 PreParserExpression() : code_(TypeField::encode(kNull)) {} in PreParserExpression()
192 return ExpressionTypeField::decode(code_) == kCallTaggedTemplateExpression; in is_tagged_template()
201 bool IsNull() const { return TypeField::decode(code_) == kNull; } in IsNull()
203 return TypeField::decode(code_) == kFailure; in IsFailureExpression()
207 return TypeField::decode(code_) == kIdentifierExpression; in IsIdentifier()
212 return PreParserIdentifier(IdentifierTypeField::decode(code_)); in AsIdentifier()
216 return TypeField::decode(code_) == kExpression && in IsAssignment()
217 ExpressionTypeField::decode(code_) == kAssignment; in IsAssignment()
221 return TypeField::decode(code_) == kObjectLiteralExpression; in IsObjectLiteral()
225 return TypeField::decode(code_) == kArrayLiteralExpression; in IsArrayLiteral()
[all …]
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-register.h222 (code_ & (3 << (2 * kBitsPerGpRegCode))); in is_pair()
226 return kNeedI64RegPair && (code_ & (1 << (2 * kBitsPerGpRegCode))) != 0; in is_gp_pair()
229 return kNeedS128RegPair && (code_ & (2 << (2 * kBitsPerGpRegCode))) != 0; in is_fp_pair()
231 constexpr bool is_gp() const { return code_ < kAfterMaxLiftoffGpRegCode; } in is_gp()
233 return code_ >= kAfterMaxLiftoffGpRegCode && in is_fp()
234 code_ < kAfterMaxLiftoffFpRegCode; in is_fp()
253 return Register::from_code(code_ & kCodeMask); in low_gp()
259 return Register::from_code((code_ >> kBitsPerGpRegCode) & kCodeMask); in high_gp()
265 return DoubleRegister::from_code(code_ & kCodeMask); in low_fp()
271 return DoubleRegister::from_code((code_ & kCodeMask) + 1); in high_fp()
[all …]
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental-compiler.cc218 explicit BytecodeAssembler(Zone* zone) : zone_(zone), code_(0, zone) {} in BytecodeAssembler()
220 ZoneList<RegExpInstruction> IntoCode() && { return std::move(code_); } in IntoCode()
222 void Accept() { code_.Add(RegExpInstruction::Accept(), zone_); } in Accept()
225 code_.Add(RegExpInstruction::Assertion(t), zone_); in Assertion()
229 code_.Add(RegExpInstruction::ClearRegister(register_index), zone_); in ClearRegister()
233 code_.Add(RegExpInstruction::ConsumeRange(from, to), zone_); in ConsumeRange()
237 code_.Add(RegExpInstruction::ConsumeAnyChar(), zone_); in ConsumeAnyChar()
249 code_.Add(RegExpInstruction::SetRegisterToCp(register_index), zone_); in SetRegisterToCp()
255 int index = code_.length(); in Bind()
258 RegExpInstruction& inst = code_[target.unbound_patch_list_begin_]; in Bind()
[all …]
/third_party/node/deps/v8/src/snapshot/embedded/
Dembedded-data.h76 const uint8_t* code() const { return code_; } in code()
82 Address start = reinterpret_cast<Address>(code_); in IsInCodeRange()
124 delete[] code_; in Dispose()
125 code_ = nullptr; in Dispose()
157 Address start = reinterpret_cast<Address>(code_); in AddressForHashing()
271 : code_(code), code_size_(code_size), data_(data), data_size_(data_size) { in EmbeddedData()
278 const uint8_t* RawCode() const { return code_ + RawCodeOffset(); } in RawCode()
303 const uint8_t* code_; variable
/third_party/vixl/src/aarch64/
Dregisters-aarch64.h92 : code_(0), in CPURegister()
99 : code_(code), in CPURegister()
110 unsigned GetCode() const { return code_; } in GetCode()
121 VIXL_ASSERT(code_ < kRegListSizeInBits); in GetBit()
122 return static_cast<RegList>(1) << code_; in GetBit()
216 return ((code_ < kNumberOfRegisters) || (code_ == kSPRegInternalCode)) && in IsValidRegister()
224 return (code_ < kNumberOfVRegisters) && (bank_ == kVRegisterBank) && in IsValidVRegister()
238 return (code_ < kNumberOfZRegisters) && (bank_ == kVRegisterBank) && in IsValidZRegister()
246 return (code_ < kNumberOfPRegisters) && (bank_ == kPRegisterBank) && in IsValidPRegister()
283 return IsSameBank(other) && (code_ == other.code_); in Aliases()
[all …]
/third_party/node/deps/v8/src/codegen/
Dcallable.h20 : code_(code), descriptor_(descriptor) {} in Callable()
22 Handle<CodeT> code() const { return code_; } in code()
26 const Handle<CodeT> code_;
Doptimized-compilation-info.cc122 DCHECK(code_.is_null()); in ReopenHandlesInNewHandleScope()
176 code_ = code; in SetCode()
Doptimized-compilation-info.h122 Handle<Code> code() const { return code_; } in code()
265 Handle<Code> code_; variable
/third_party/node/deps/v8/src/compiler/backend/
Dframe-elider.cc13 FrameElider::FrameElider(InstructionSequence* code) : code_(code) {} in FrameElider()
145 return code_->instruction_blocks(); in instruction_blocks()
149 return code_->InstructionBlockAt(rpo_number); in InstructionBlockAt()
153 return code_->InstructionAt(index); in InstructionAt()
Dmove-optimizer.h28 InstructionSequence* code() const { return code_; } in code()
56 InstructionSequence* const code_; variable
Dmid-tier-register-allocator.h83 InstructionSequence* code() const { return code_; } in code()
92 InstructionSequence* const code_; variable
Dframe-elider.h32 InstructionSequence* const code_; variable
/third_party/node/deps/v8/src/compiler/
Dgraph-visualizer.h193 const InstructionSequence& code_; member
201 const InstructionSequence& code_; member
209 const InstructionSequence& code_; member
217 const InstructionSequence* code_; member
225 const InstructionSequence* code_; member
231 const InstructionSequence* code_; member
Dgraph-visualizer.cc965 << InstructionOperandAsJSON{&op, &(live_range_json.code_)}; in operator <<()
971 &(live_range_json.code_)}; in operator <<()
1028 os << LiveRangeAsJSON{*child, top_level_live_range_json.code_}; in operator <<()
1065 PrintTopLevelLiveRanges(os, ac_data.fixed_double_live_ranges(), ac.code_); in operator <<()
1067 PrintTopLevelLiveRanges(os, ac_data.fixed_live_ranges(), ac.code_); in operator <<()
1069 PrintTopLevelLiveRanges(os, ac_data.live_ranges(), ac.code_); in operator <<()
1087 const InstructionSequence* code = o.code_; in operator <<()
1249 os << "[" << InstructionOperandAsJSON{&move->destination(), i_json.code_} in operator <<()
1250 << "," << InstructionOperandAsJSON{&move->source(), i_json.code_} in operator <<()
1262 os << InstructionOperandAsJSON{instr->OutputAt(i), i_json.code_}; in operator <<()
[all …]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
Ddispatch.h49 DispatchCode Code() const { return code_; } in Code()
51 bool IsSuccess() const { return code_ == DispatchCode::SUCCESS; } in IsSuccess()
52 bool IsFallThrough() const { return code_ == DispatchCode::FALL_THROUGH; } in IsFallThrough()
53 bool IsError() const { return code_ < DispatchCode::SUCCESS; } in IsError()
81 DispatchCode code_; variable
Ddispatch.cc22 result.code_ = DispatchCode::SUCCESS; in Success()
29 result.code_ = DispatchCode::FALL_THROUGH; in FallThrough()
36 result.code_ = DispatchCode::PARSE_ERROR; in ParseError()
44 result.code_ = DispatchCode::INVALID_REQUEST; in InvalidRequest()
52 result.code_ = DispatchCode::METHOD_NOT_FOUND; in MethodNotFound()
60 result.code_ = DispatchCode::INVALID_PARAMS; in InvalidParams()
68 result.code_ = DispatchCode::INTERNAL_ERROR; in InternalError()
76 result.code_ = DispatchCode::SERVER_ERROR; in ServerError()
/third_party/node/deps/v8/src/diagnostics/
Ddisassembler.cc44 : isolate_(isolate), code_(code) {}
49 const CodeReference& code() const { return code_; } in code()
55 CodeReference code_; member in v8::internal::V8NameConverter
86 if (!code_.is_null()) { in NameOfAddress()
97 code_.instruction_start()); in NameOfAddress()
99 if (0 <= offs && offs < code_.instruction_size()) { in NameOfAddress()
121 return code_.is_null() ? "" : reinterpret_cast<const char*>(addr); in NameInCode()
Dbasic-block-profiler.cc24 code_ = os.str(); in SetCode()
81 code_ = js_heap_data.code().ToCString().get(); in CopyFromJSHeap()
118 Handle<String> code = CopyStringToJSHeap(code_, isolate); in CopyToJSHeap()
230 if (!d.code_.empty()) { in operator <<()
231 os << d.code_.c_str() << std::endl; in operator <<()
Dbasic-block-profiler.h68 std::string code_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMicroMipsInstrFormats.td245 bits<4> code_;
250 let Inst{3-0} = code_;
637 bits<10> code_;
640 let Inst{25-16} = code_;
646 bits<10> code_;
650 let Inst{25-16} = code_;
678 bits<4> code_;
685 let Inst{15-12} = code_;
925 bits<10> code_;
930 let Inst{25-16} = code_;
[all …]
DMipsInstrFormats.td523 bits<10> code_;
530 let Inst{15-6} = code_;
639 // System calls format <op|code_|funct>
644 bits<20> code_;
647 let Inst{25-6} = code_;
925 bits<20> code_;
930 let Inst{25-6} = code_;
986 bits<10> code_;
992 let Inst{20-11} = code_;
DMips32r6InstrFormats.td368 bits<20> code_;
373 let Inst{25-6} = code_;
607 bits<16> code_;
612 let Inst{15-0} = code_;
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_common.h119 int8_t code_; member
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
142 *code = prefix_code.code_; in VP8LPrefixEncode()
/third_party/vixl/src/aarch32/
Dinstructions-aarch32.h152 uint32_t code_; variable
155 explicit RegisterOrAPSR_nzcv(uint32_t code) : code_(code) { in RegisterOrAPSR_nzcv()
156 VIXL_ASSERT(code_ < kNumberOfRegisters); in RegisterOrAPSR_nzcv()
158 bool IsAPSR_nzcv() const { return code_ == kPcCode; } in IsAPSR_nzcv()
159 uint32_t GetCode() const { return code_; } in GetCode()
162 return Register(code_); in AsRegister()
941 uint32_t code_; variable
944 explicit CRegister(uint32_t code) : code_(code) { in CRegister()
947 uint32_t GetCode() const { return code_; } in GetCode()
948 bool Is(CRegister value) const { return code_ == value.code_; } in Is()
/third_party/node/deps/v8/src/wasm/
Dwasm-code-manager.h1137 : code_(code), native_module_(std::move(native_module)) { in GlobalWasmCodeRef()
1138 code_->IncRef(); in GlobalWasmCodeRef()
1144 ~GlobalWasmCodeRef() { WasmCode::DecrementRefCount({&code_, 1}); } in ~GlobalWasmCodeRef()
1148 WasmCode* code() const { return code_; } in code()
1151 WasmCode* const code_;

123