Home
last modified time | relevance | path

Searched refs:TrapId (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/compiler/
Dcommon-operator.cc44 std::ostream& operator<<(std::ostream& os, TrapId trap_id) { in operator <<()
47 case TrapId::k##Name: \ in operator <<()
51 case TrapId::kInvalid: in operator <<()
57 TrapId TrapIdOf(const Operator* const op) { in TrapIdOf()
60 return OpParameter<TrapId>(op); in TrapIdOf()
764 template <TrapId trap_id>
765 struct TrapIfOperator final : public Operator1<TrapId> {
767 : Operator1<TrapId>( // -- in TrapIfOperator()
775 TrapIfOperator<TrapId::k##Trap> kTrapIf##Trap##Operator;
779 template <TrapId trap_id>
[all …]
Dcommon-operator.h62 enum class TrapId : uint32_t { enum
69 inline size_t hash_value(TrapId id) { return static_cast<uint32_t>(id); } in hash_value()
71 std::ostream& operator<<(std::ostream&, TrapId trap_id);
73 TrapId TrapIdOf(const Operator* const op);
467 const Operator* TrapIf(TrapId trap_id); in NON_EXPORTED_BASE()
468 const Operator* TrapUnless(TrapId trap_id); in NON_EXPORTED_BASE()
Dinstruction-selector.h79 static FlagsContinuation ForTrap(FlagsCondition condition, TrapId trap_id, in ForTrap()
121 TrapId trap_id() const { in trap_id()
213 FlagsContinuation(FlagsCondition condition, TrapId trap_id, Node* result) in FlagsContinuation()
230 TrapId trap_id_; // Only valid if mode_ == kFlags_trap.
610 void VisitTrapIf(Node* node, TrapId trap_id);
611 void VisitTrapUnless(Node* node, TrapId trap_id);
Dwasm-compiler.h34 enum class TrapId : uint32_t;
478 TrapId GetTrapIdForTrap(wasm::TrapReason reason);
Dwasm-compiler.cc910 TrapId WasmGraphBuilder::GetTrapIdForTrap(wasm::TrapReason reason) { in GetTrapIdForTrap()
917 return TrapId::kInvalid; in GetTrapIdForTrap()
924 static_cast<int>(TrapId::k##name) == wasm::WasmCode::kThrowWasm##name, \ in GetTrapIdForTrap()
926 return TrapId::k##name; in GetTrapIdForTrap()
936 TrapId trap_id = GetTrapIdForTrap(reason); in TrapIfTrue()
945 TrapId trap_id = GetTrapIdForTrap(reason); in TrapIfFalse()
Dinstruction-selector.cc2885 void InstructionSelector::VisitTrapIf(Node* node, TrapId trap_id) { in VisitTrapIf()
2891 void InstructionSelector::VisitTrapUnless(Node* node, TrapId trap_id) { in VisitTrapUnless()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc2150 TrapId trap_id = in AssembleArchTrap()
2151 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2156 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
2157 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc280 TrapId trap_id = in Generate()
281 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in Generate()
288 void GenerateWithTrapId(TrapId trap_id) { GenerateCallToTrap(trap_id); } in GenerateWithTrapId()
291 void GenerateCallToTrap(TrapId trap_id) { in GenerateCallToTrap()
326 GenerateWithTrapId(TrapId::kTrapMemOutOfBounds); in Generate()
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc2247 TrapId trap_id = in AssembleArchTrap()
2248 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2253 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
2254 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc2807 TrapId trap_id = in AssembleArchTrap()
2808 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2813 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
2814 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc2956 TrapId trap_id = in AssembleArchTrap()
2957 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2962 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
2963 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc3194 TrapId trap_id = in AssembleArchTrap()
3195 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
3200 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
3201 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc2898 TrapId trap_id = in AssembleArchTrap()
2899 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2904 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
2905 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc3949 TrapId trap_id = in AssembleArchTrap()
3950 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
3955 void GenerateCallToTrap(TrapId trap_id) { in AssembleArchTrap()
3956 if (trap_id == TrapId::kInvalid) { in AssembleArchTrap()