Home
last modified time | relevance | path

Searched refs:interpreter (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/third_party/node/deps/v8/src/maglev/
Dmaglev-register-frame-array.h27 interpreter::Register last_local = in RegisterFrameArray()
28 interpreter::Register(info.register_count() - 1); in RegisterFrameArray()
29 interpreter::Register last_param = in RegisterFrameArray()
30 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in RegisterFrameArray()
54 interpreter::Register last_param = in CopyFrom()
55 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in CopyFrom()
58 interpreter::Register last_local = in CopyFrom()
59 interpreter::Register(info.register_count() - 1); in CopyFrom()
64 interpreter::Register reg(index); in CopyFrom()
69 interpreter::Register reg(index); in CopyFrom()
[all …]
Dmaglev-interpreter-frame-state.h46 frame_[interpreter::Register::virtual_accumulator()] = value; in set_accumulator()
49 return frame_[interpreter::Register::virtual_accumulator()]; in accumulator()
52 void set(interpreter::Register reg, ValueNode* value) { in set()
54 reg == interpreter::Register::current_context() || in set()
55 reg == interpreter::Register::function_closure() || in set()
56 reg == interpreter::Register::virtual_accumulator() || in set()
60 ValueNode* get(interpreter::Register reg) const { in get()
62 reg == interpreter::Register::current_context() || in get()
63 reg == interpreter::Register::function_closure() || in get()
64 reg == interpreter::Register::virtual_accumulator() || in get()
[all …]
Dmaglev-graph-builder.h134 interpreter::Bytecode bytecode = iterator_.current_bytecode(); in EmitUnconditionalDeopt()
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()
183 case interpreter::Bytecode::k##name: \ in VisitSingleBytecode()
236 interpreter::Register::current_context()); in GetContext()
264 void MoveNodeBetweenRegisters(interpreter::Register src, in MoveNodeBetweenRegisters()
[all …]
Dmaglev-graph-builder.cc74 interpreter::Register reg = interpreter::Register::FromParameterIndex(i); in MaglevGraphBuilder()
81 interpreter::Register regs[] = {interpreter::Register::current_context(), in MaglevGraphBuilder()
82 interpreter::Register::function_closure()}; in MaglevGraphBuilder()
83 for (interpreter::Register& reg : regs) { in MaglevGraphBuilder()
87 interpreter::Register new_target_or_generator_register = in MaglevGraphBuilder()
97 StoreRegister(interpreter::Register(register_index), undefined_value); in MaglevGraphBuilder()
106 StoreRegister(interpreter::Register(register_index), undefined_value); in MaglevGraphBuilder()
238 interpreter::Register::virtual_accumulator()); in VisitLdar()
284 MoveNodeBetweenRegisters(interpreter::Register::virtual_accumulator(), in VisitStar()
290 interpreter::Register::virtual_accumulator(), \
[all …]
/third_party/node/deps/v8/src/runtime/
Druntime-trace.cc29 interpreter::BytecodeArrayIterator& bytecode_iterator, int offset) { in AdvanceToOffsetForTracing()
38 interpreter::OperandScale::kSingle)); in AdvanceToOffsetForTracing()
42 interpreter::BytecodeArrayIterator& bytecode_iterator, in PrintRegisterRange()
44 interpreter::Register first_reg, int range) { in PrintRegisterRange()
49 << interpreter::Register(reg_index).ToString() << arrow_direction; in PrintRegisterRange()
56 interpreter::BytecodeArrayIterator& bytecode_iterator, in PrintRegisters()
68 interpreter::Bytecode bytecode = bytecode_iterator.current_bytecode(); in PrintRegisters()
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()
[all …]
/third_party/node/deps/v8/src/interpreter/
Dbytecode-decoder.cc15 namespace interpreter { namespace
136 case interpreter::OperandType::kIdx: in Decode()
137 case interpreter::OperandType::kUImm: in Decode()
142 case interpreter::OperandType::kIntrinsicId: { in Decode()
148 case interpreter::OperandType::kNativeContextIndex: { in Decode()
153 case interpreter::OperandType::kRuntimeId: in Decode()
159 case interpreter::OperandType::kImm: in Decode()
163 case interpreter::OperandType::kFlag8: in Decode()
167 case interpreter::OperandType::kReg: in Decode()
168 case interpreter::OperandType::kRegOut: { in Decode()
[all …]
Dbytecode-array-iterator.cc15 namespace interpreter { namespace
49 interpreter::Bytecode bytecode = interpreter::Bytecodes::FromByte(*cursor); in ApplyDebugBreak()
50 if (interpreter::Bytecodes::IsDebugBreak(bytecode)) return; in ApplyDebugBreak()
51 interpreter::Bytecode debugbreak = in ApplyDebugBreak()
52 interpreter::Bytecodes::GetDebugBreak(bytecode); in ApplyDebugBreak()
53 *cursor = interpreter::Bytecodes::ToByte(debugbreak); in ApplyDebugBreak()
229 if (interpreter::Bytecodes::IsJumpImmediate(bytecode)) { in GetRelativeJumpTargetOffset()
235 } else if (interpreter::Bytecodes::IsJumpConstant(bytecode)) { in GetRelativeJumpTargetOffset()
/third_party/python/Lib/
Dzipapp.py46 def _write_file_prefix(f, interpreter): argument
48 if interpreter:
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
53 def _copy_archive(archive, new_archive, interpreter=None): argument
65 _write_file_prefix(dst, interpreter)
72 if interpreter and isinstance(new_archive, str):
76 def create_archive(source, target=None, interpreter=None, main=None, argument
106 _copy_archive(source, target, interpreter)
135 _write_file_prefix(fd, interpreter)
146 if interpreter and not hasattr(target, 'write'):
[all …]
/third_party/node/deps/v8/src/baseline/
Dbaseline-compiler.cc85 bool Clobbers(Register target, interpreter::Register reg) { return false; } in Clobbers()
86 bool Clobbers(Register target, interpreter::RegisterList list) { return false; } in Clobbers()
112 bool MachineTypeMatches(MachineType type, interpreter::Register reg) { in MachineTypeMatches()
143 struct CheckArgsHelper<Descriptor, interpreter::RegisterList, Args...> {
145 interpreter::RegisterList list, Args... args) { in Check()
208 interpreter::RegisterList> {
209 static void Set(BaselineAssembler* masm, interpreter::RegisterList list) { in Set()
344 interpreter::Register BaselineCompiler::RegisterOperand(int operand_index) { in RegisterOperand()
358 interpreter::Register reg0, reg1; in StoreRegisterPair()
438 case interpreter::Bytecode::kJumpLoop: in PreVisitSingleBytecode()
[all …]
Dbaseline-assembler-inl.h70 return RegisterFrameOperand(interpreter::Register::current_context()); in ContextOperand()
73 return RegisterFrameOperand(interpreter::Register::function_closure()); in FunctionOperand()
86 void BaselineAssembler::Move(Register output, interpreter::Register source) { in Move()
118 LoadRegister(output, interpreter::Register::current_context()); in LoadContext()
121 LoadRegister(output, interpreter::Register::function_closure()); in LoadFunction()
124 StoreRegister(interpreter::Register::current_context(), context); in StoreContext()
127 interpreter::Register source) { in LoadRegister()
130 void BaselineAssembler::StoreRegister(interpreter::Register output, in StoreRegister()
Dbaseline-assembler.h28 interpreter::Register interpreter_register);
29 inline void RegisterFrameAddress(interpreter::Register interpreter_register,
102 inline void Move(Register output, interpreter::Register source);
103 inline void Move(interpreter::Register output, Register source);
187 inline void LoadRegister(Register output, interpreter::Register source);
188 inline void StoreRegister(interpreter::Register output, Register value);
/third_party/node/deps/v8/src/
DDEPS44 "-src/interpreter",
45 "+src/interpreter/bytecode-array-iterator.h",
46 "+src/interpreter/bytecode-array-random-iterator.h",
47 "+src/interpreter/bytecode-decoder.h",
48 "+src/interpreter/bytecode-flags.h",
49 "+src/interpreter/bytecode-register.h",
50 "+src/interpreter/bytecodes.h",
51 "+src/interpreter/interpreter.h",
52 "+src/interpreter/interpreter-generator.h",
53 "+src/interpreter/setup-interpreter.h",
/third_party/node/deps/v8/src/compiler/
Dbytecode-analysis.cc19 using interpreter::Bytecode;
20 using interpreter::BytecodeOperands;
21 using interpreter::Bytecodes;
22 using interpreter::ImplicitRegisterUse;
23 using interpreter::OperandType;
24 using interpreter::Register;
32 void BytecodeLoopAssignments::Add(interpreter::Register r) { in Add()
40 void BytecodeLoopAssignments::AddList(interpreter::Register r, uint32_t count) { in AddList()
43 DCHECK(interpreter::Register(r.index() + i).is_parameter()); in AddList()
48 DCHECK(!interpreter::Register(r.index() + i).is_parameter()); in AddList()
[all …]
Dbytecode-graph-builder.cc156 interpreter::Register first_arg,
159 Node* callee, interpreter::Register first_reg,
162 Node* target, Node* new_target, interpreter::Register first_arg,
165 interpreter::Register receiver,
410 interpreter::BytecodeArrayIterator const& bytecode_iterator() const { in bytecode_iterator()
413 interpreter::BytecodeArrayIterator& bytecode_iterator() { in bytecode_iterator()
461 interpreter::BytecodeArrayIterator bytecode_iterator_;
533 interpreter::Register incoming_new_target_or_generator,
545 Node* LookupRegister(interpreter::Register the_register) const;
550 void BindRegister(interpreter::Register the_register, Node* node,
[all …]
/third_party/python/Mac/PythonLauncher/
DFileSettings.m71 interpreter = [source->interpreter retain];
122 interpreter = [@"no default found" retain];
127 interpreter = NULL;
132 interpreter = [filename retain];
136 if (interpreter == NULL)
137 interpreter = [@"no default found" retain];
181 interpreter = [[source interpreter] retain];
197 interpreter, @"interpreter",
218 value = [dict objectForKey: @"interpreter"];
219 if (value) interpreter = [value retain];
[all …]
DPreferencesWindowController.m30 [interpreter reloadData];
31 [interpreter setStringValue: [settings interpreter]];
76 - (NSString *) interpreter { return [interpreter stringValue];}; method
/third_party/python/Lib/test/
Dtest_zipapp.py196 zipapp.create_archive(str(source), str(target), interpreter='python')
207 zipapp.create_archive(str(source), target, interpreter='python')
216 zipapp.create_archive(str(source), str(target), interpreter='python')
234 zipapp.create_archive(str(source), str(target), interpreter='python')
236 zipapp.create_archive(str(target), str(new_target), interpreter='python2.7')
246 zipapp.create_archive(str(source), str(target), interpreter='python')
248 zipapp.create_archive(str(target), new_target, interpreter='python2.7')
259 zipapp.create_archive(source, target1, interpreter='python')
260 zipapp.create_archive(target1, target2, interpreter='python2.7')
270 zipapp.create_archive(str(source), temp_archive, interpreter='python')
[all …]
/third_party/python/Doc/tutorial/
Dinteractive.rst7 Some versions of the Python interpreter support editing of the current input
20 :ref:`automatically enabled <rlcompleter-config>` at interpreter startup so
29 The history will be available again during the next interactive interpreter
39 interpreter; however, some wishes are left: It would be nice if the proper
41 token is required next). The completion mechanism might use the interpreter's
45 One alternative enhanced interactive interpreter that has been around for quite
54 .. _bpython: https://www.bpython-interpreter.org/
Dinterpreter.rst13 The Python interpreter is usually installed as :file:`/usr/local/bin/python3.10`
21 to the shell. [#]_ Since the choice of the directory where the interpreter lives
32 Windows) at the primary prompt causes the interpreter to exit with a zero exit
33 status. If that doesn't work, you can exit the interpreter by typing the
36 The interpreter's line-editing features include interactive editing, history
46 The interpreter operates somewhat like the Unix shell: when called with standard
51 A second way of starting the interpreter is ``python -c command [arg] ...``,
73 When known to the interpreter, the script name and additional arguments
82 *module* are not consumed by the Python interpreter's option processing but
91 When commands are read from a tty, the interpreter is said to be in *interactive
[all …]
/third_party/python/Doc/c-api/
Dinit.rst225 Initializing and finalizing the interpreter
244 Initialize the Python interpreter. In an application embedding Python,
270 Return true (nonzero) when the Python interpreter has been initialized, false
281 allocated by the Python interpreter. This is a no-op when called for a second
288 An application that has loaded the Python interpreter from a dynamically
298 memory allocated by the Python interpreter may not be freed (if you find a leak,
344 interpreter has already been initialized).
357 the first time, if it is called at all. It tells the interpreter the value
361 the Python run-time libraries relative to the interpreter executable. The
365 interpreter will change the contents of this storage.
[all …]
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py109 def __init__(self, interpreter): argument
110 self.interpreter = interpreter
142 self.result = self.interpreter.lookup_object(node.address)
148 def __init__(self, interpreter): argument
149 self.interpreter = interpreter
160 return Screen(self.interpreter)
179 def __init__(self, interpreter): argument
180 Dispatcher.__init__(self, interpreter)
186 return Context(self.interpreter)
218 self.interpreter.unregister_object(resource)
[all …]
/third_party/python/Doc/library/
Dcode.rst13 build applications which provide an interactive interpreter prompt.
18 This class deals with parsing and interpreter state (the user's namespace); it
28 Closely emulate the behavior of the interactive Python interpreter. This class
39 use as the default namespace for the interpreter loop. The :meth:`interact`
50 This function is useful for programs that want to emulate Python's interpreter
54 function *almost* always makes the same decision as the real interpreter main
77 Compile and run some source in the interpreter. Arguments are the same as for
120 because it is within the interpreter object implementation. The output is
140 interpreter objects as well as the following additions.
147 banner similar to the one printed by the standard Python interpreter, followed
[all …]
Dzipapp.rst17 Python code, which can be :ref:`executed directly by the Python interpreter
67 .. cmdoption:: -p <interpreter>, --python=<interpreter>
69 Add a ``#!`` line to the archive specifying *interpreter* as the command
93 Display the interpreter embedded in the archive, for diagnostic purposes. In
110 .. function:: create_archive(source, target=None, interpreter=None, main=None, filter=None, compres…
120 the target (modifying it to reflect the value given for the *interpreter*
137 The *interpreter* argument specifies the name of the Python
138 interpreter with which the archive will be executed. It is written as
141 launcher. Omitting the *interpreter* results in no shebang line being
142 written. If an interpreter is specified, and the target is a
[all …]
/third_party/python/Doc/reference/
Dtoplevel_components.rst8 .. index:: single: interpreter
10 The Python interpreter can get its input from a number of sources: from a script
28 While a language specification need not prescribe how the language interpreter
43 The interpreter may also be invoked in interactive mode; in this case, it does
55 A complete program can be passed to the interpreter
58 or standard input is a tty device, the interpreter enters interactive mode;
/third_party/python/Doc/extending/
Dembedding.rst22 Python interpreter, while if you embed Python, the main program may have nothing
24 the Python interpreter to run some Python code.
27 the things this main program has to do is initialize the Python interpreter. At
30 call the interpreter from any part of the application.
32 There are several different ways to call the interpreter: you can pass a string
79 :c:func:`Py_Initialize` to inform the interpreter about paths to Python run-time
80 libraries. Next, the Python interpreter is initialized with
83 the interpreter down, followed by the end of the program. In a real program,
127 understood. Since these aspects do not differ from extending the interpreter,
137 section about the very high level interface, the Python interpreter does not
[all …]

12345678910>>...21