Home
last modified time | relevance | path

Searched refs:bytecode (Results 1 - 25 of 114) sorted by relevance

12345

/third_party/node/deps/v8/src/interpreter/
H A Dbytecodes.h13 #include "src/interpreter/bytecode-operands.h"
42 // The list of bytecodes which have unique handlers (no other bytecode is
44 // Format is V(<bytecode>, <implicit_register_use>, <operands>).
51 /* and one for each operand widening prefix bytecode */ \
441 // Format is V(<bytecode>, <implicit_register_use>, <operands>).
448 /* Illegal bytecode */ \
551 // evaluate to the same value as the last real bytecode.
560 // The maximum number of operands a bytecode may have.
570 // Returns string representation of |bytecode|.
571 static const char* ToString(Bytecode bytecode);
579 ToByte(Bytecode bytecode) ToByte() argument
586 Bytecode bytecode = static_cast<Bytecode>(value); FromByte() local
611 PrefixBytecodeToOperandScale(Bytecode bytecode) PrefixBytecodeToOperandScale() argument
625 GetImplicitRegisterUse(Bytecode bytecode) GetImplicitRegisterUse() argument
631 ReadsAccumulator(Bytecode bytecode) ReadsAccumulator() argument
636 WritesAccumulator(Bytecode bytecode) WritesAccumulator() argument
643 WritesImplicitRegister(Bytecode bytecode) WritesImplicitRegister() argument
650 IsAccumulatorLoadWithoutEffects(Bytecode bytecode) IsAccumulatorLoadWithoutEffects() argument
[all...]
H A Dbytecode-node.h11 #include "src/interpreter/bytecode-source-info.h"
18 // A container for a generated bytecode, it's operands, and source information.
21 V8_INLINE BytecodeNode(Bytecode bytecode, in BytecodeNode() argument
23 : bytecode_(bytecode), in BytecodeNode()
27 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), operand_count()); in BytecodeNode()
30 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, in BytecodeNode() argument
32 : bytecode_(bytecode), in BytecodeNode()
36 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), operand_count()); in BytecodeNode()
40 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, in BytecodeNode() argument
43 : bytecode_(bytecode), in BytecodeNode()
52 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1, uint32_t operand2, BytecodeSourceInfo source_info = BytecodeSourceInfo()) BytecodeNode() argument
65 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1, uint32_t operand2, uint32_t operand3, BytecodeSourceInfo source_info = BytecodeSourceInfo()) BytecodeNode() argument
80 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1, uint32_t operand2, uint32_t operand3, uint32_t operand4, BytecodeSourceInfo source_info = BytecodeSourceInfo()) BytecodeNode() argument
108 Bytecode bytecode() const { return bytecode_; } bytecode() function in v8::internal::interpreter::final
134 BytecodeNode(Bytecode bytecode, int operand_count, OperandScale operand_scale, BytecodeSourceInfo source_info, uint32_t operand0 = 0, uint32_t operand1 = 0, uint32_t operand2 = 0, uint32_t operand3 = 0, uint32_t operand4 = 0) BytecodeNode() argument
[all...]
H A Dbytecodes.cc10 #include "src/interpreter/bytecode-traits.h"
105 const char* Bytecodes::ToString(Bytecode bytecode) { in ToString() argument
106 switch (bytecode) { in ToString()
117 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale, in ToString() argument
119 std::string value(ToString(bytecode)); in ToString()
130 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() argument
131 DCHECK(!IsDebugBreak(bytecode)); in GetDebugBreak()
132 if (bytecode == Bytecode::kWide) { in GetDebugBreak()
135 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak()
138 int bytecode_size = Size(bytecode, OperandScal in GetDebugBreak()
149 GetOperandOffset(Bytecode bytecode, int i, OperandScale operand_scale) GetOperandOffset() argument
163 GetJumpWithoutToBoolean(Bytecode bytecode) GetJumpWithoutToBoolean() argument
180 IsDebugBreak(Bytecode bytecode) IsDebugBreak() argument
220 MakesCallAlongCriticalPath(Bytecode bytecode) MakesCallAlongCriticalPath() argument
271 IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) IsStarLookahead() argument
324 IsBytecodeWithScalableOperands(Bytecode bytecode) IsBytecodeWithScalableOperands() argument
344 BytecodeHasHandler(Bytecode bytecode, OperandScale operand_scale) BytecodeHasHandler() argument
351 operator <<(std::ostream& os, const Bytecode& bytecode) operator <<() argument
[all...]
H A Dbytecode-array-writer.cc5 #include "src/interpreter/bytecode-array-writer.h"
9 #include "src/interpreter/bytecode-jump-table.h"
10 #include "src/interpreter/bytecode-label.h"
11 #include "src/interpreter/bytecode-node.h"
12 #include "src/interpreter/bytecode-register.h"
13 #include "src/interpreter/bytecode-source-info.h"
85 int BytecodeArrayWriter::CheckBytecodeMatches(BytecodeArray bytecode) { in CheckBytecodeMatches() argument
89 if (bytecode_size != bytecode.length()) mismatches = true; in CheckBytecodeMatches()
91 // If there's a mismatch only in the length of the bytecode (very unlikely) in CheckBytecodeMatches()
92 // then the first mismatch will be the first extra bytecode in CheckBytecodeMatches()
234 UpdateExitSeenInBlock(Bytecode bytecode) UpdateExitSeenInBlock() argument
280 Bytecode bytecode = node->bytecode(); EmitBytecode() local
[all...]
H A Dbytecode-decoder.cc5 #include "src/interpreter/bytecode-decoder.h"
97 Bytecode bytecode = Bytecodes::FromByte(bytecode_start[0]); in Decode() local
100 if (Bytecodes::IsPrefixScalingBytecode(bytecode)) { in Decode()
102 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(bytecode); in Decode()
103 bytecode = Bytecodes::FromByte(bytecode_start[1]); in Decode()
106 // Prepare to print bytecode and operands as hex digits. in Decode()
112 int bytecode_size = Bytecodes::Size(bytecode, operand_scale); in Decode()
123 os << Bytecodes::ToString(bytecode, operand_scale) << " "; in Decode()
126 if (Bytecodes::IsDebugBreak(bytecode)) return os; in Decode()
128 int number_of_operands = Bytecodes::NumberOfOperands(bytecode); in Decode()
[all...]
H A Dinterpreter.cc20 #include "src/interpreter/bytecode-generator.h"
57 Handle<BytecodeArray> bytecode);
89 Builtin BuiltinIndexFromBytecode(Bytecode bytecode, in BuiltinIndexFromBytecode() argument
91 int index = static_cast<int>(bytecode); in BuiltinIndexFromBytecode()
93 if (Bytecodes::IsShortStar(bytecode)) { in BuiltinIndexFromBytecode()
95 } else if (bytecode > Bytecode::kLastShortStar) { in BuiltinIndexFromBytecode()
101 // kIllegalBytecodeHandlerEncoding for illegal bytecode/scale combinations. in BuiltinIndexFromBytecode()
118 CodeT Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() argument
120 Builtin builtin = BuiltinIndexFromBytecode(bytecode, operand_scale); in GetBytecodeHandler()
124 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() argument
134 GetDispatchTableIndex(Bytecode bytecode, OperandScale operand_scale) GetDispatchTableIndex() argument
214 CheckAndPrintBytecodeMismatch( IsolateT* isolate, Handle<Script> script, Handle<BytecodeArray> bytecode) CheckAndPrintBytecodeMismatch() argument
[all...]
H A Dbytecode-register.h43 // Returns the register for the bytecode array.
47 // Returns the register for the saved bytecode offset.
56 // bytecode.
68 static constexpr Register FromShortStar(Bytecode bytecode) { in FromShortStar() argument
69 DCHECK(Bytecodes::IsShortStar(bytecode)); in FromShortStar()
71 static_cast<int>(bytecode)); in FromShortStar()
76 Bytecode bytecode = in TryToShortStar() local
78 DCHECK_GE(bytecode, Bytecode::kFirstShortStar); in TryToShortStar()
79 DCHECK_LE(bytecode, Bytecode::kLastShortStar); in TryToShortStar()
80 return bytecode; in TryToShortStar()
[all...]
H A Dbytecode-register-optimizer.h10 #include "src/interpreter/bytecode-register-allocator.h"
17 // registers. The bytecode generator uses temporary registers
31 // Called to emit a register transfer bytecode.
67 // Prepares for |bytecode|.
68 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use>
70 if (Bytecodes::IsJump(bytecode) || Bytecodes::IsSwitch(bytecode) || in PrepareForBytecode()
71 bytecode == Bytecode::kDebugger || in PrepareForBytecode()
72 bytecode == Bytecode::kSuspendGenerator || in PrepareForBytecode()
73 bytecode in PrepareForBytecode()
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-bytecode-peephole.cc5 #include "src/regexp/regexp-bytecode-peephole.h"
52 // Trie-Node for storing bytecode sequences we want to optimize.
55 // Dummy bytecode used when we need to store/return a bytecode but it's not a
56 // valid bytecode in the current context.
59 BytecodeSequenceNode(int bytecode, Zone* zone);
61 BytecodeSequenceNode& FollowedBy(int bytecode);
62 // Marks the end of a sequence and sets optimized bytecode to replace all
64 BytecodeSequenceNode& ReplaceWith(int bytecode);
65 // Maps arguments of bytecodes in the sequence to the optimized bytecode
263 GetArgumentValue(const byte* bytecode, int offset, int length) GetArgumentValue() argument
276 BytecodeSequenceNode(int bytecode, Zone* zone) BytecodeSequenceNode() argument
288 FollowedBy(int bytecode) FollowedBy() argument
306 ReplaceWith(int bytecode) ReplaceWith() argument
389 CheckArguments(const byte* bytecode, int pc) CheckArguments() argument
619 OptimizeBytecode(const byte* bytecode, int length) OptimizeBytecode() argument
650 CreateSequence(int bytecode) CreateSequence() argument
657 TryOptimizeSequence(const byte* bytecode, int bytecode_length, int start_pc) TryOptimizeSequence() argument
684 EmitOptimization( int start_pc, const byte* bytecode, const BytecodeSequenceNode& last_node) EmitOptimization() argument
935 EmitArgument(int start_pc, const byte* bytecode, BytecodeArgumentMapping arg) EmitArgument() argument
1013 OptimizeBytecode( Isolate* isolate, Zone* zone, Handle<String> source, const byte* bytecode, int length, const ZoneUnorderedMap<int, int>& jump_edges) OptimizeBytecode() argument
[all...]
H A Dregexp-bytecodes.cc15 int bytecode = *reinterpret_cast<const int32_t*>(pc) & BYTECODE_MASK; in RegExpBytecodeDisassembleSingle() local
16 PrintF("%s", RegExpBytecodeName(bytecode)); in RegExpBytecodeDisassembleSingle()
18 // Args and the bytecode as hex. in RegExpBytecodeDisassembleSingle()
19 for (int i = 0; i < RegExpBytecodeLength(bytecode); i++) { in RegExpBytecodeDisassembleSingle()
25 for (int i = 1; i < RegExpBytecodeLength(bytecode); i++) { in RegExpBytecodeDisassembleSingle()
34 PrintF("[generated bytecode for regexp pattern: '%s']\n", pattern); in RegExpBytecodeDisassemble()
H A Dregexp-bytecodes.h18 // All slots between the last actually defined bytecode and maximum id will be
51 /* Jump to another bytecode given its offset. */ \
55 /* 0x20 - 0x3F: Address of bytecode to jump to */ \
61 /* 0x20 - 0x3F: Address of bytecode when load is out of range */ \
78 /* 0x20 - 0x3F: Address of bytecode when matched */ \
91 /* 0x40 - 0x5F: Address of bytecode when matched */ \
105 /* 0x20 - 0x3F: Address of bytecode when bit is set */ \
126 /* 0x20 - 0x3F: Address of bytecode when current matches tos */ \
128 /* Advance character pointer by given offset and jump to another bytecode.*/ \
132 /* 0x20 - 0x3F: Address of bytecode t
237 RegExpBytecodeLength(int bytecode) RegExpBytecodeLength() argument
248 RegExpBytecodeName(int bytecode) RegExpBytecodeName() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Deg_asm.c36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build()
37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build()
45 bc->bytecode[id++] = in eg_bytecode_cf_build()
53 bc->bytecode[id++] = in eg_bytecode_cf_build()
61 bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) | in eg_bytecode_cf_build()
65 bc->bytecode[id++] = S_SQ_CF_ALU_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build()
73 bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in eg_bytecode_cf_build()
74 bc->bytecode[id] = S_SQ_CF_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build()
79 bc->bytecode[id] |= S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(cf->end_of_program); in eg_bytecode_cf_build()
83 bc->bytecode[i in eg_bytecode_cf_build()
[all...]
H A Dr700_asm.c26 void r700_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf) in r700_bytecode_cf_vtx_build() argument
29 *bytecode++ = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in r700_bytecode_cf_vtx_build()
30 *bytecode++ = S_SQ_CF_WORD1_CF_INST(r600_isa_cf_opcode(ISA_CC_R700, cf->op)) | in r700_bytecode_cf_vtx_build()
39 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) | in r700_bytecode_alu_build()
53 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build()
64 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build()
132 bc->bytecode[id++] = S_SQ_MEM_RD_WORD0_MEM_INST(2) | in r700_bytecode_fetch_mem_build()
146 bc->bytecode[id++] = S_SQ_MEM_RD_WORD1_DST_GPR(mem->dst_gpr) | in r700_bytecode_fetch_mem_build()
157 bc->bytecode[id++] = S_SQ_MEM_RD_WORD2_ARRAY_BASE(mem->array_base) | in r700_bytecode_fetch_mem_build()
162 bc->bytecode[i in r700_bytecode_fetch_mem_build()
[all...]
H A Dr600_asm.c1639 bc->bytecode[id] = S_SQ_VTX_WORD0_VTX_INST(r600_isa_fetch_opcode(bc->isa->hw_class, vtx->op)) | in r600_bytecode_vtx_build()
1645 bc->bytecode[id] |= S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(vtx->mega_fetch_count); in r600_bytecode_vtx_build()
1647 bc->bytecode[id++] = S_SQ_VTX_WORD1_DST_SEL_X(vtx->dst_sel_x) | in r600_bytecode_vtx_build()
1657 bc->bytecode[id] = S_SQ_VTX_WORD2_OFFSET(vtx->offset)| in r600_bytecode_vtx_build()
1660 bc->bytecode[id] |= ((vtx->buffer_index_mode & 0x3) << 21); // S_SQ_VTX_WORD2_BIM(vtx->buffer_index_mode); in r600_bytecode_vtx_build()
1662 bc->bytecode[id] |= S_SQ_VTX_WORD2_MEGA_FETCH(1); in r600_bytecode_vtx_build()
1664 bc->bytecode[id++] = 0; in r600_bytecode_vtx_build()
1671 bc->bytecode[id] = S_SQ_TEX_WORD0_TEX_INST( in r600_bytecode_tex_build()
1678 bc->bytecode[id] |= ((tex->sampler_index_mode & 0x3) << 27) | // S_SQ_TEX_WORD0_SIM(tex->sampler_index_mode); in r600_bytecode_tex_build()
1681 bc->bytecode[i in r600_bytecode_tex_build()
1751 r600_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf) r600_bytecode_cf_vtx_build() argument
2727 uint32_t *bytecode; r600_create_vertex_fetch_shader() local
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dbytecode-analysis.cc5 #include "src/compiler/bytecode-analysis.h"
9 #include "src/compiler/bytecode-liveness-map.h"
10 #include "src/interpreter/bytecode-array-iterator.h"
11 #include "src/interpreter/bytecode-array-random-iterator.h"
105 template <Bytecode bytecode, OperandType operand_type, size_t i>
154 template <Bytecode bytecode, OperandType operand_type, size_t i>
192 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use,
198 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness()
202 DCHECK(Bytecodes::ReadsAccumulator(bytecode)); in UpdateInLiveness()
206 if (bytecode in UpdateInLiveness()
240 UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState* in_liveness, const interpreter::BytecodeArrayIterator& iterator) UpdateInLiveness() argument
364 UpdateOutLiveness(Bytecode bytecode, BytecodeLiveness& liveness, BytecodeLivenessState* next_bytecode_in_liveness, const interpreter::BytecodeArrayIterator& iterator, Handle<BytecodeArray> bytecode_array, const BytecodeLivenessMap& liveness_map, Zone* zone) UpdateOutLiveness() argument
409 UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, BytecodeLivenessState** next_bytecode_in_liveness, const interpreter::BytecodeArrayIterator& iterator, Handle<BytecodeArray> bytecode_array, const BytecodeLivenessMap& liveness_map, Zone* zone) UpdateLiveness() argument
425 UpdateAssignments(Bytecode bytecode, BytecodeLoopAssignments* assignments, const interpreter::BytecodeArrayIterator& iterator) UpdateAssignments() argument
479 Bytecode bytecode = iterator.current_bytecode(); Analyze() variable
651 Bytecode bytecode = iterator.current_bytecode(); Analyze() variable
693 Bytecode bytecode = iterator.current_bytecode(); Analyze() variable
977 Bytecode bytecode = iterator.current_bytecode(); LivenessIsValid() local
1023 Bytecode bytecode = iterator.current_bytecode(); LivenessIsValid() local
[all...]
H A Djs-inlining-heuristic.cc41 TRACE("Cannot consider " << shared << " for inlining (no bytecode)"); in CanConsiderForInlining()
44 // Ensure we have a persistent handle to the bytecode in order to avoid in CanConsiderForInlining()
101 out.bytecode[0] = function.shared().GetBytecodeArray(); in CollectFunctions()
122 out.bytecode[n] = function.shared().GetBytecodeArray(); in CollectFunctions()
133 out.bytecode[0] = out.shared_info->GetBytecodeArray(); in CollectFunctions()
144 out.bytecode[0] = out.shared_info->GetBytecodeArray(); in CollectFunctions()
191 if (!candidate.bytecode[i].has_value()) { in Reduce()
199 candidate.can_inline_function[i] = candidate.bytecode[i].has_value(); in Reduce()
226 BytecodeArrayRef bytecode = candidate.bytecode[ in Reduce() local
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dbytecode_dispatches_report.py36 # Print the hottest 15 bytecode dispatch pairs reading from data.json
77 print("Top {} bytecode dispatch pairs:".format(top_count))
84 for bytecode, counters_from_bytecode in iteritems(dispatches_table):
85 top_bytecodes.append((bytecode, sum(itervalues(counters_from_bytecode))))
94 for bytecode, counter in top_bytecodes:
95 print("{:>12d}\t{}".format(counter, bytecode))
99 dispatches_table, bytecode, top_count, sort_source_relative):
103 if bytecode in destinations:
104 count = destinations[bytecode]
108 bytecode_destinations = dispatches_table[bytecode]
[all...]
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-graph-builder.h11 #include "src/compiler/bytecode-analysis.h"
12 #include "src/compiler/bytecode-liveness-map.h"
15 #include "src/interpreter/bytecode-register.h"
134 interpreter::Bytecode bytecode = iterator_.current_bytecode(); in EmitUnconditionalDeopt() local
135 if (interpreter::Bytecodes::IsForwardJump(bytecode)) { in EmitUnconditionalDeopt()
139 if (interpreter::Bytecodes::IsConditionalJump(bytecode)) { in EmitUnconditionalDeopt()
142 } else if (bytecode == interpreter::Bytecode::kJumpLoop) { in EmitUnconditionalDeopt()
146 } else if (interpreter::Bytecodes::IsSwitch(bytecode)) { in EmitUnconditionalDeopt()
152 } else if (!interpreter::Bytecodes::Returns(bytecode) && in EmitUnconditionalDeopt()
153 !interpreter::Bytecodes::UnconditionallyThrows(bytecode)) { in EmitUnconditionalDeopt()
478 interpreter::Bytecode bytecode = iterator.current_bytecode(); CalculatePredecessorCounts() local
513 const compiler::BytecodeArrayRef& bytecode() const { bytecode() function in v8::internal::maglev::MaglevGraphBuilder
[all...]
/third_party/libsnd/src/
H A Dima_adpcm.c262 int chan, k, diff, bytecode, predictor ; in aiff_ima_decode_block() local
295 { bytecode = blockdata [k + 2] ; in aiff_ima_decode_block()
296 sampledata [pima->channels * (2 * k + 0)] = bytecode & 0xF ; in aiff_ima_decode_block()
297 sampledata [pima->channels * (2 * k + 1)] = (bytecode >> 4) & 0xF ; in aiff_ima_decode_block()
304 bytecode = pima->samples [pima->channels * k + chan] ; in aiff_ima_decode_block()
306 stepindx += ima_indx_adjust [bytecode] ; in aiff_ima_decode_block()
310 if (bytecode & 1) diff += step >> 2 ; in aiff_ima_decode_block()
311 if (bytecode & 2) diff += step >> 1 ; in aiff_ima_decode_block()
312 if (bytecode & 4) diff += step ; in aiff_ima_decode_block()
313 if (bytecode in aiff_ima_decode_block()
331 short bytecode, mask ; aiff_ima_encode_block() local
394 short step, bytecode, stepindx [2] = { 0 }; wavlike_ima_decode_block() local
485 short bytecode, mask ; wavlike_ima_encode_block() local
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dgenerate-bytecodes-builtins-list.cc17 void WriteBytecode(std::ofstream& out, Bytecode bytecode, in WriteBytecode() argument
21 if (Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) { in WriteBytecode()
22 std::string name = Bytecodes::ToString(bytecode, operand_scale, ""); in WriteBytecode()
26 if (bytecode == Bytecode::kStar0) { in WriteBytecode()
33 << Bytecodes::ToString(bytecode) << ")"; in WriteBytecode()
46 << "// with the bytecode handlers\n\n" in WriteHeader()
/third_party/node/deps/v8/src/runtime/
H A Druntime-trace.cc10 #include "src/interpreter/bytecode-array-iterator.h"
11 #include "src/interpreter/bytecode-decoder.h"
12 #include "src/interpreter/bytecode-flags.h"
13 #include "src/interpreter/bytecode-register.h"
68 interpreter::Bytecode bytecode = bytecode_iterator.current_bytecode(); in PrintRegisters() local
71 if ((is_input && interpreter::Bytecodes::ReadsAccumulator(bytecode)) || in PrintRegisters()
72 (!is_input && interpreter::Bytecodes::WritesAccumulator(bytecode))) { in PrintRegisters()
79 int operand_count = interpreter::Bytecodes::NumberOfOperands(bytecode); in PrintRegisters()
82 interpreter::Bytecodes::GetOperandType(bytecode, operand_index); in PrintRegisters()
95 if (!is_input && interpreter::Bytecodes::IsShortStar(bytecode)) { in PrintRegisters()
[all...]
/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental.cc45 return re->bytecode(kIsLatin1) != Smi::FromInt(JSRegExp::kUninitializedValue); in IsCompiled()
62 Handle<ByteArray> bytecode; member
89 ZoneList<RegExpInstruction> bytecode = ExperimentalRegExpCompiler::Compile( in CompileImpl() local
93 result.bytecode = VectorToByteArray(isolate, bytecode.ToVector()); in CompileImpl()
120 re->set_bytecode_and_trampoline(isolate, compilation_result->bytecode); in Compile()
137 ByteArray bytecode, String subject, int capture_count, in ExecRawImpl()
152 isolate, call_origin, bytecode, register_count_per_match, subject, in ExecRawImpl()
177 ByteArray bytecode = ByteArray::cast(regexp.bytecode(kIsLatin in ExecRaw() local
136 ExecRawImpl(Isolate* isolate, RegExp::CallOrigin call_origin, ByteArray bytecode, String subject, int capture_count, int32_t* output_registers, int32_t output_register_count, int32_t subject_index) ExecRawImpl() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_core.cpp113 assert(!"sb: bytecode decoding error"); in r600_sb_bytecode_process()
120 bc_dump(*sh, bc->bytecode, bc->ndw).run(); in r600_sb_bytecode_process()
154 assert(!"sb: bytecode parsing error"); in r600_sb_bytecode_process()
167 sblog << "sb: using unoptimized bytecode...\n"; \ in r600_sb_bytecode_process()
250 bytecode &nbc = builder.get_bytecode(); in r600_sb_bytecode_process()
258 free(bc->bytecode); in r600_sb_bytecode_process()
260 bc->bytecode = (uint32_t*) malloc(bc->ndw << 2); in r600_sb_bytecode_process()
261 nbc.write_data(bc->bytecode); in r600_sb_bytecode_process()
266 SB_DUMP_STAT( sblog << "sb: dry run: optimized bytecode is not used\n"; ); in r600_sb_bytecode_process()
/third_party/node/deps/v8/src/diagnostics/
H A Deh-frame.cc492 byte bytecode = eh_frame_iterator.GetNextByte(); in DumpDwarfDirectives() local
494 if (((bytecode >> EhFrameConstants::kLocationMaskSize) & 0xFF) == in DumpDwarfDirectives()
496 int value = (bytecode & EhFrameConstants::kLocationMask) * in DumpDwarfDirectives()
504 if (((bytecode >> EhFrameConstants::kSavedRegisterMaskSize) & 0xFF) == in DumpDwarfDirectives()
508 << DwarfRegisterCodeToString(bytecode & in DumpDwarfDirectives()
516 if (((bytecode >> EhFrameConstants::kFollowInitialRuleMaskSize) & 0xFF) == in DumpDwarfDirectives()
519 << DwarfRegisterCodeToString(bytecode & in DumpDwarfDirectives()
525 switch (static_cast<EhFrameConstants::DwarfOpcodes>(bytecode)) { in DumpDwarfDirectives()
/third_party/node/deps/v8/src/execution/
H A Dtiering-manager.cc226 BytecodeArray bytecode = shared.GetBytecodeArray(isolate); in TrySetOsrUrgency()
232 function.DebugNameCStr().get(), bytecode.osr_urgency(), osr_urgency); in TrySetOsrUrgency()
235 DCHECK_GE(osr_urgency, bytecode.osr_urgency()); // Never lower urgency here. in TrySetOsrUrgency()
236 bytecode.set_osr_urgency(osr_urgency); in TrySetOsrUrgency()
340 BytecodeArray bytecode = function.shared().GetBytecodeArray(isolate_); in ShouldOptimize() local
344 (bytecode.length() / FLAG_bytecode_size_allowance_per_tick); in ShouldOptimize()
347 } else if (ShouldOptimizeAsSmallFunction(bytecode.length(), in ShouldOptimize()
359 bytecode.length(), FLAG_max_bytecode_size_for_early_opt); in ShouldOptimize()

Completed in 17 milliseconds

12345