| /external/v8/src/interpreter/ |
| D | bytecode-peephole-optimizer.h | 26 void Write(BytecodeNode* node) override; 27 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override; 35 BytecodeNode* OptimizeAndEmitLast(BytecodeNode* current); 36 BytecodeNode* Optimize(BytecodeNode* current); 39 void TryToRemoveLastExpressionPosition(const BytecodeNode* const current); 40 bool TransformCurrentBytecode(BytecodeNode* const current); 41 bool TransformLastAndCurrentBytecodes(BytecodeNode* const current); 42 bool CanElideCurrent(const BytecodeNode* const current) const; 43 bool CanElideLast(const BytecodeNode* const current) const; 45 const BytecodeNode* const current) const; [all …]
|
| D | bytecode-pipeline.cc | 14 BytecodeNode::BytecodeNode(Bytecode bytecode) { in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 19 BytecodeNode::BytecodeNode(Bytecode bytecode, uint32_t operand0) { in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 25 BytecodeNode::BytecodeNode(Bytecode bytecode, uint32_t operand0, in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 33 BytecodeNode::BytecodeNode(Bytecode bytecode, uint32_t operand0, in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 42 BytecodeNode::BytecodeNode(Bytecode bytecode, uint32_t operand0, in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 53 BytecodeNode::BytecodeNode(const BytecodeNode& other) { in BytecodeNode() function in v8::internal::interpreter::BytecodeNode 57 BytecodeNode& BytecodeNode::operator=(const BytecodeNode& other) { in operator =() 62 void BytecodeNode::set_bytecode(Bytecode bytecode) { in set_bytecode() 67 void BytecodeNode::set_bytecode(Bytecode bytecode, uint32_t operand0) { in set_bytecode() 73 void BytecodeNode::Clone(const BytecodeNode* const other) { in Clone() [all …]
|
| D | bytecode-pipeline.h | 17 class BytecodeNode; variable 28 virtual void Write(BytecodeNode* node) = 0; 34 virtual void WriteJump(BytecodeNode* node, BytecodeLabel* label) = 0; 141 class BytecodeNode final : ZoneObject { 143 explicit BytecodeNode(Bytecode bytecode = Bytecode::kIllegal); 144 BytecodeNode(Bytecode bytecode, uint32_t operand0); 145 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1); 146 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1, 148 BytecodeNode(Bytecode bytecode, uint32_t operand0, uint32_t operand1, 151 BytecodeNode(const BytecodeNode& other); [all …]
|
| D | bytecode-peephole-optimizer.cc | 32 void BytecodePeepholeOptimizer::Write(BytecodeNode* node) { in Write() 40 void BytecodePeepholeOptimizer::WriteJump(BytecodeNode* node, in WriteJump() 77 void BytecodePeepholeOptimizer::SetLast(const BytecodeNode* const node) { in SetLast() 82 const BytecodeNode* const node, int index) const { in GetConstantForIndexOperand() 98 const BytecodeNode* const current) { in TryToRemoveLastExpressionPosition() 113 const BytecodeNode* const current) const { in CanElideCurrent() 134 const BytecodeNode* const current) const { in CanElideLastBasedOnSourcePosition() 173 void TransformLdaStarToLdrLdar(Bytecode new_bytecode, BytecodeNode* const last, in TransformLdaStarToLdrLdar() 174 BytecodeNode* const current) { in TransformLdaStarToLdrLdar() 194 BytecodeNode* const current) { in TransformLastAndCurrentBytecodes() [all …]
|
| D | bytecode-register-optimizer.h | 29 void Write(BytecodeNode* node) override; 30 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override; 47 void WriteToNextStage(BytecodeNode* node) const; 48 void WriteToNextStage(BytecodeNode* node, 67 void DoLdar(const BytecodeNode* const node); 68 void DoMov(const BytecodeNode* const node); 69 void DoStar(const BytecodeNode* const node); 73 void PrepareOperands(BytecodeNode* const node); 74 void PrepareAccumulator(BytecodeNode* const node); 75 void PrepareRegisterOperands(BytecodeNode* const node); [all …]
|
| D | bytecode-array-writer.h | 28 void Write(BytecodeNode* node) override; 29 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override; 51 void EmitBytecode(const BytecodeNode* const node); 52 void EmitJump(BytecodeNode* node, BytecodeLabel* label); 53 void UpdateSourcePositionTable(const BytecodeNode* const node);
|
| D | bytecode-register-optimizer.cc | 219 void BytecodeRegisterOptimizer::Write(BytecodeNode* node) { in Write() 263 void BytecodeRegisterOptimizer::WriteJump(BytecodeNode* node, in WriteJump() 309 void BytecodeRegisterOptimizer::WriteToNextStage(BytecodeNode* node) const { in WriteToNextStage() 314 BytecodeNode* node, const BytecodeSourceInfo& source_info) const { in WriteToNextStage() 330 BytecodeNode node(Bytecode::kStar, operand); in OutputRegisterTransfer() 334 BytecodeNode node(Bytecode::kLdar, operand); in OutputRegisterTransfer() 339 BytecodeNode node(Bytecode::kMov, operand0, operand1); in OutputRegisterTransfer() 420 BytecodeNode nop(Bytecode::kNop); in EmitNopForSourceInfo() 425 void BytecodeRegisterOptimizer::DoLdar(const BytecodeNode* const node) { in DoLdar() 432 void BytecodeRegisterOptimizer::DoMov(const BytecodeNode* const node) { in DoMov() [all …]
|
| D | bytecode-dead-code-optimizer.h | 22 void Write(BytecodeNode* node) override; 23 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override;
|
| D | bytecode-dead-code-optimizer.cc | 24 void BytecodeDeadCodeOptimizer::Write(BytecodeNode* node) { in Write() 42 void BytecodeDeadCodeOptimizer::WriteJump(BytecodeNode* node, in WriteJump()
|
| D | bytecode-array-writer.cc | 60 void BytecodeArrayWriter::Write(BytecodeNode* node) { in Write() 67 void BytecodeArrayWriter::WriteJump(BytecodeNode* node, BytecodeLabel* label) { in WriteJump() 98 const BytecodeNode* const node) { in UpdateSourcePositionTable() 131 OperandScale GetOperandScale(const BytecodeNode* const node) { in GetOperandScale() 162 void BytecodeArrayWriter::EmitBytecode(const BytecodeNode* const node) { in EmitBytecode() 340 void BytecodeArrayWriter::EmitJump(BytecodeNode* node, BytecodeLabel* label) { in EmitJump()
|
| D | bytecode-array-builder.cc | 99 void BytecodeArrayBuilder::AttachSourceInfo(BytecodeNode* node) { in AttachSourceInfo() 117 BytecodeNode node(bytecode, operand0, operand1, operand2, operand3); in Output() 125 BytecodeNode node(bytecode, operand0, operand1, operand2); in Output() 133 BytecodeNode node(bytecode, operand0, operand1); in Output() 140 BytecodeNode node(bytecode, operand0); in Output() 147 BytecodeNode node(bytecode); in Output() 408 BytecodeNode node(jump_bytecode, 0); in OutputJump()
|
| D | bytecode-array-builder.h | 24 class BytecodeNode; variable 324 void AttachSourceInfo(BytecodeNode* node);
|
| /external/v8/test/unittests/interpreter/ |
| D | bytecode-peephole-optimizer-unittest.cc | 27 void Write(BytecodeNode* node) override { in Write() 32 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override { in WriteJump() 53 const BytecodeNode& last_written() const { return last_written_; } in last_written() 60 BytecodeNode last_written_; 68 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() 73 BytecodeNode jump(Bytecode::kJump, 0); in TEST_F() 82 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() 95 BytecodeNode nop(Bytecode::kNop); in TEST_F() 97 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() 105 BytecodeNode nop(Bytecode::kNop); in TEST_F() [all …]
|
| D | bytecode-dead-code-optimizer-unittest.cc | 22 void Write(BytecodeNode* node) override { in Write() 27 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override { in WriteJump() 43 const BytecodeNode& last_written() const { return last_written_; } in last_written() 49 BytecodeNode last_written_; 53 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() 59 BytecodeNode jump(Bytecode::kJump, 0); in TEST_F() 66 BytecodeNode ret(Bytecode::kReturn); in TEST_F() 71 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() 78 BytecodeNode thrw(Bytecode::kThrow); in TEST_F() 83 BytecodeNode add(Bytecode::kAdd, Register(0).ToOperand()); in TEST_F() [all …]
|
| D | bytecode-register-optimizer-unittest.cc | 31 void Write(BytecodeNode* node) override { output_.push_back(*node); } in Write() 32 void WriteJump(BytecodeNode* node, BytecodeLabel* label) override { in WriteJump() 55 const BytecodeNode& last_written() const { return output_.back(); } in last_written() 56 const std::vector<BytecodeNode>* output() { return &output_; } in output() 62 std::vector<BytecodeNode> output_; 69 BytecodeNode node(Bytecode::kNop); in TEST_F() 77 BytecodeNode node(Bytecode::kNop); in TEST_F() 86 BytecodeNode node(Bytecode::kNop); in TEST_F() 96 BytecodeNode node(Bytecode::kStar, temp.ToOperand()); in TEST_F() 100 BytecodeNode jump(Bytecode::kJump, 0); in TEST_F() [all …]
|
| D | bytecode-pipeline-unittest.cc | 55 BytecodeNode node; in TEST_F() 61 BytecodeNode node(Bytecode::kLdaZero); in TEST_F() 69 BytecodeNode node(Bytecode::kJumpIfTrue, operands[0]); in TEST_F() 78 BytecodeNode node(Bytecode::kLdaGlobal, operands[0]); in TEST_F() 87 BytecodeNode node(Bytecode::kLdaNamedProperty, operands[0], operands[1], in TEST_F() 99 BytecodeNode node(Bytecode::kForInNext, operands[0], operands[1], operands[2], in TEST_F() 112 BytecodeNode node(Bytecode::kForInNext, operands[0], operands[1], operands[2], in TEST_F() 115 BytecodeNode other(Bytecode::kForInNext, operands[0], operands[1], in TEST_F() 122 BytecodeNode node(Bytecode::kForInNext, operands[0], operands[1], operands[2], in TEST_F() 126 BytecodeNode other(Bytecode::kForInNext, operands[0], operands[1], in TEST_F() [all …]
|
| D | bytecode-array-writer-unittest.cc | 29 void Write(BytecodeNode* node, const BytecodeSourceInfo& info); 60 void BytecodeArrayWriterUnittest::Write(BytecodeNode* node, in Write() 70 BytecodeNode node(bytecode); in Write() 76 BytecodeNode node(bytecode, operand0); in Write() 83 BytecodeNode node(bytecode, operand0, operand1); in Write() 90 BytecodeNode node(bytecode, operand0, operand1, operand2); in Write() 98 BytecodeNode node(bytecode, operand0, operand1, operand2, operand3); in Write() 105 BytecodeNode node(bytecode, 0); in WriteJump()
|