/third_party/node/deps/v8/src/compiler/ |
H A D | common-operator.cc | 31 std::ostream& operator<<(std::ostream& os, TrapId trap_id) { in operator <<() 34 case TrapId::k##Name: \ in operator <<() 38 case TrapId::kInvalid: in operator <<() 44 TrapId TrapIdOf(const Operator* const op) { in TrapIdOf() 47 return OpParameter<TrapId>(op); in TrapIdOf() 763 template <TrapId trap_id> 764 struct TrapIfOperator final : public Operator1<TrapId> { 766 : Operator1<TrapId>( // -- in TrapIfOperator() 774 TrapIfOperator<TrapId::k##Trap> kTrapIf##Trap##Operator; 778 template <TrapId trap_i [all...] |
H A D | common-operator.h | 61 enum class TrapId : uint32_t { class 68 inline size_t hash_value(TrapId id) { return static_cast<uint32_t>(id); } in hash_value() 70 std::ostream& operator<<(std::ostream&, TrapId trap_id); 72 TrapId TrapIdOf(const Operator* const op); 495 const Operator* TrapIf(TrapId trap_id); 496 const Operator* TrapUnless(TrapId trap_id);
|
H A D | wasm-compiler.h | 43 enum class TrapId : uint32_t; class 795 TrapId GetTrapIdForTrap(wasm::TrapReason reason);
|
H A D | wasm-compiler.cc | 1471 TrapId WasmGraphBuilder::GetTrapIdForTrap(wasm::TrapReason reason) { in GetTrapIdForTrap() 1475 // We use TrapId::kInvalid as a marker to tell the code generator in GetTrapIdForTrap() 1478 return TrapId::kInvalid; in GetTrapIdForTrap() 1485 static_cast<int>(TrapId::k##name) == wasm::WasmCode::kThrowWasm##name, \ in GetTrapIdForTrap() 1487 return TrapId::k##name; in GetTrapIdForTrap() 1497 TrapId trap_id = GetTrapIdForTrap(reason); in TrapIfTrue() 1505 TrapId trap_id = GetTrapIdForTrap(reason); in TrapIfFalse()
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction-selector.h | 81 static FlagsContinuation ForTrap(FlagsCondition condition, TrapId trap_id, in ForTrap() 121 TrapId trap_id() const { in trap_id() 221 FlagsContinuation(FlagsCondition condition, TrapId trap_id, Node* result) in FlagsContinuation() 250 TrapId trap_id_; // Only valid if mode_ == kFlags_trap. 615 void VisitTrapIf(Node* node, TrapId trap_id); 616 void VisitTrapUnless(Node* node, TrapId trap_id);
|
H A D | instruction-selector.cc | 3139 void InstructionSelector::VisitTrapIf(Node* node, TrapId trap_id) { in VisitTrapIf() 3145 void InstructionSelector::VisitTrapUnless(Node* node, TrapId trap_id) { in VisitTrapUnless()
|
/third_party/node/deps/v8/src/compiler/backend/loong64/ |
H A D | code-generator-loong64.cc | 1957 TrapId trap_id = in AssembleArchTrap() 1958 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 1963 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 1964 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/arm64/ |
H A D | code-generator-arm64.cc | 399 TrapId trap_id = 400 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); 407 void GenerateWithTrapId(TrapId trap_id) { GenerateCallToTrap(trap_id); } in GenerateWithTrapId() 410 void GenerateCallToTrap(TrapId trap_id) { in GenerateCallToTrap() 446 GenerateWithTrapId(TrapId::kTrapMemOutOfBounds);
|
/third_party/node/deps/v8/src/compiler/backend/ppc/ |
H A D | code-generator-ppc.cc | 3850 TrapId trap_id = in AssembleArchTrap() 3851 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3856 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3857 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/arm/ |
H A D | code-generator-arm.cc | 3575 TrapId trap_id = in AssembleArchInstruction() 3576 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchInstruction() 3581 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchInstruction() 3582 if (trap_id == TrapId::kInvalid) { in AssembleArchInstruction()
|
/third_party/node/deps/v8/src/compiler/backend/ia32/ |
H A D | code-generator-ia32.cc | 3764 TrapId trap_id = in AssembleArchTrap() 3765 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3770 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3771 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/s390/ |
H A D | code-generator-s390.cc | 3245 TrapId trap_id = in AssembleArchTrap() 3246 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3251 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3252 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/x64/ |
H A D | code-generator-x64.cc | 657 TrapId trap_id = 658 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); 665 void GenerateWithTrapId(TrapId trap_id) { GenerateCallToTrap(trap_id); } in GenerateWithTrapId() 668 void GenerateCallToTrap(TrapId trap_id) { in GenerateCallToTrap() 705 GenerateWithTrapId(TrapId::kTrapMemOutOfBounds);
|
/third_party/node/deps/v8/src/compiler/backend/mips64/ |
H A D | code-generator-mips64.cc | 3898 TrapId trap_id = in AssembleArchTrap() 3899 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3904 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3905 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/mips/ |
H A D | code-generator-mips.cc | 3709 TrapId trap_id = in AssembleArchTrap() 3710 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3715 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3716 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|
/third_party/node/deps/v8/src/compiler/backend/riscv64/ |
H A D | code-generator-riscv64.cc | 3567 TrapId trap_id = in AssembleArchTrap() 3568 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap() 3573 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap() 3574 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
|