#include <wasm-compiler.h>
|
| V8_EXPORT_PRIVATE | WasmGraphBuilder (wasm::CompilationEnv *env, Zone *zone, MachineGraph *mcgraph, const wasm::FunctionSig *sig, compiler::SourcePositionTable *spt, ParameterMode parameter_mode, Isolate *isolate, wasm::WasmEnabledFeatures enabled_features, const wasm::CanonicalSig *wrapper_sig=nullptr) |
| |
| V8_EXPORT_PRIVATE | ~WasmGraphBuilder () |
| |
| bool | TryWasmInlining (int fct_index, wasm::NativeModule *native_module, int inlining_id) |
| |
| void | Start (unsigned params) |
| |
| Node * | Param (int index, const char *debug_name=nullptr) |
| |
| void | TerminateThrow (Node *effect, Node *control) |
| |
| Node * | Int32Constant (int32_t value) |
| |
| Node * | Return (base::Vector< Node * > nodes) |
| |
| template<typename... Nodes> |
| Node * | Return (Node *fst, Nodes *... more) |
| |
| Node * | effect () |
| |
| Node * | control () |
| |
| Node * | SetEffect (Node *node) |
| |
| Node * | SetControl (Node *node) |
| |
| void | SetEffectControl (Node *effect, Node *control) |
| |
| Node * | SetEffectControl (Node *effect_and_control) |
| |
| Node * | SetType (Node *node, wasm::ValueType type) |
| |
| V8_EXPORT_PRIVATE void | LowerInt64 (Signature< MachineRepresentation > *sig) |
| |
| V8_EXPORT_PRIVATE void | LowerInt64 (wasm::CallOrigin origin) |
| |
| void | SetSourcePosition (Node *node, wasm::WasmCodePosition position) |
| |
| Node * | IsNull (Node *object, wasm::ValueType type) |
| |
| Node * | TypeGuard (Node *value, wasm::ValueType type) |
| |
| bool | has_simd () const |
| |
| MachineGraph * | mcgraph () |
| |
| TFGraph * | graph () |
| |
| Zone * | graph_zone () |
| |
|
| Node * | NoContextConstant () |
| |
| Node * | BuildLoadIsolateRoot () |
| |
| Node * | UndefinedValue () |
| |
| const Operator * | GetSafeLoadOperator (int offset, wasm::ValueTypeBase type) |
| |
| Node * | BuildSafeStore (int offset, wasm::ValueTypeBase type, Node *arg_buffer, Node *value, Node *effect, Node *control) |
| |
| Node * | BuildCallNode (size_t param_count, base::Vector< Node * > args, wasm::WasmCodePosition position, Node *instance_node, const Operator *op, Node *frame_state=nullptr) |
| |
| template<typename T > |
| Node * | BuildWasmCall (const Signature< T > *sig, base::Vector< Node * > args, base::Vector< Node * > rets, wasm::WasmCodePosition position, Node *implicit_first_arg, bool indirect, Node *frame_state=nullptr) |
| |
| Node * | BuildCallToRuntime (Runtime::FunctionId f, Node **parameters, int parameter_count) |
| |
| Node * | BuildCallToRuntimeWithContext (Runtime::FunctionId f, Node *js_context, Node **parameters, int parameter_count) |
| |
| TrapId | GetTrapIdForTrap (wasm::TrapReason reason) |
| |
| void | BuildModifyThreadInWasmFlag (bool new_value) |
| |
| void | BuildModifyThreadInWasmFlagHelper (Node *thread_in_wasm_flag_address, bool new_value) |
| |
| Node * | BuildChangeInt64ToBigInt (Node *input, StubCallMode stub_mode) |
| |
| void | Assert (Node *condition, AbortReason abort_reason) |
| |
Definition at line 132 of file wasm-compiler.h.
◆ ParameterMode
| Enumerator |
|---|
| kInstanceParameterMode | |
| kWasmImportDataMode | |
| kJSFunctionAbiMode | |
| kNoSpecialParameterMode | |
Definition at line 135 of file wasm-compiler.h.
◆ WasmGraphBuilder()
◆ ~WasmGraphBuilder()
| v8::internal::compiler::WasmGraphBuilder::~WasmGraphBuilder |
( |
| ) |
|
|
default |
◆ Assert()
| void v8::internal::compiler::WasmGraphBuilder::Assert |
( |
Node * | condition, |
|
|
AbortReason | abort_reason ) |
|
protected |
◆ BuildCallNode()
◆ BuildCallToRuntime()
◆ BuildCallToRuntimeWithContext()
| Node * v8::internal::compiler::WasmGraphBuilder::BuildCallToRuntimeWithContext |
( |
Runtime::FunctionId | f, |
|
|
Node * | js_context, |
|
|
Node ** | parameters, |
|
|
int | parameter_count ) |
|
protected |
◆ BuildChangeInt64ToBigInt()
| Node * v8::internal::compiler::WasmGraphBuilder::BuildChangeInt64ToBigInt |
( |
Node * | input, |
|
|
StubCallMode | stub_mode ) |
|
protected |
◆ BuildLoadIsolateRoot()
| Node * v8::internal::compiler::WasmGraphBuilder::BuildLoadIsolateRoot |
( |
| ) |
|
|
protected |
◆ BuildModifyThreadInWasmFlag()
| void v8::internal::compiler::WasmGraphBuilder::BuildModifyThreadInWasmFlag |
( |
bool | new_value | ) |
|
|
protected |
◆ BuildModifyThreadInWasmFlagHelper()
| void v8::internal::compiler::WasmGraphBuilder::BuildModifyThreadInWasmFlagHelper |
( |
Node * | thread_in_wasm_flag_address, |
|
|
bool | new_value ) |
|
protected |
◆ BuildSafeStore()
◆ BuildWasmCall()
◆ control()
| Node * v8::internal::compiler::WasmGraphBuilder::control |
( |
| ) |
|
◆ effect()
| Node * v8::internal::compiler::WasmGraphBuilder::effect |
( |
| ) |
|
◆ GetSafeLoadOperator()
◆ GetTrapIdForTrap()
| TrapId v8::internal::compiler::WasmGraphBuilder::GetTrapIdForTrap |
( |
wasm::TrapReason | reason | ) |
|
|
protected |
◆ graph()
| TFGraph * v8::internal::compiler::WasmGraphBuilder::graph |
( |
| ) |
|
◆ graph_zone()
| Zone * v8::internal::compiler::WasmGraphBuilder::graph_zone |
( |
| ) |
|
◆ has_simd()
| bool v8::internal::compiler::WasmGraphBuilder::has_simd |
( |
| ) |
const |
|
inline |
◆ Int32Constant()
| Node * v8::internal::compiler::WasmGraphBuilder::Int32Constant |
( |
int32_t | value | ) |
|
◆ IsNull()
◆ LowerInt64() [1/2]
◆ LowerInt64() [2/2]
| void v8::internal::compiler::WasmGraphBuilder::LowerInt64 |
( |
wasm::CallOrigin | origin | ) |
|
◆ mcgraph()
| MachineGraph * v8::internal::compiler::WasmGraphBuilder::mcgraph |
( |
| ) |
|
|
inline |
◆ NoContextConstant()
| Node * v8::internal::compiler::WasmGraphBuilder::NoContextConstant |
( |
| ) |
|
|
protected |
◆ Param()
| Node * v8::internal::compiler::WasmGraphBuilder::Param |
( |
int | index, |
|
|
const char * | debug_name = nullptr ) |
◆ Return() [1/2]
◆ Return() [2/2]
template<typename... Nodes>
| Node * v8::internal::compiler::WasmGraphBuilder::Return |
( |
Node * | fst, |
|
|
Nodes *... | more ) |
|
inline |
◆ SetControl()
| Node * v8::internal::compiler::WasmGraphBuilder::SetControl |
( |
Node * | node | ) |
|
◆ SetEffect()
| Node * v8::internal::compiler::WasmGraphBuilder::SetEffect |
( |
Node * | node | ) |
|
◆ SetEffectControl() [1/2]
| void v8::internal::compiler::WasmGraphBuilder::SetEffectControl |
( |
Node * | effect, |
|
|
Node * | control ) |
◆ SetEffectControl() [2/2]
| Node * v8::internal::compiler::WasmGraphBuilder::SetEffectControl |
( |
Node * | effect_and_control | ) |
|
|
inline |
◆ SetSourcePosition()
◆ SetType()
◆ Start()
| void v8::internal::compiler::WasmGraphBuilder::Start |
( |
unsigned | params | ) |
|
◆ TerminateThrow()
| void v8::internal::compiler::WasmGraphBuilder::TerminateThrow |
( |
Node * | effect, |
|
|
Node * | control ) |
◆ TryWasmInlining()
| bool v8::internal::compiler::WasmGraphBuilder::TryWasmInlining |
( |
int | fct_index, |
|
|
wasm::NativeModule * | native_module, |
|
|
int | inlining_id ) |
◆ TypeGuard()
◆ UndefinedValue()
| Node * v8::internal::compiler::WasmGraphBuilder::UndefinedValue |
( |
| ) |
|
|
protected |
◆ cached_memory_index_
◆ decorator_
◆ enabled_features_
◆ env_
◆ function_sig_
| const wasm::FunctionSig* const v8::internal::compiler::WasmGraphBuilder::function_sig_ |
|
protected |
◆ gasm_
◆ has_simd_
| bool v8::internal::compiler::WasmGraphBuilder::has_simd_ = false |
|
protected |
◆ inlining_id_
| int v8::internal::compiler::WasmGraphBuilder::inlining_id_ = -1 |
|
protected |
◆ instance_data_node_
◆ isolate_
| Isolate* const v8::internal::compiler::WasmGraphBuilder::isolate_ |
|
protected |
◆ kNoCachedMemoryIndex
| int v8::internal::compiler::WasmGraphBuilder::kNoCachedMemoryIndex = -1 |
|
staticconstexprprotected |
◆ mcgraph_
| MachineGraph* const v8::internal::compiler::WasmGraphBuilder::mcgraph_ |
|
protected |
◆ needs_stack_check_
| bool v8::internal::compiler::WasmGraphBuilder::needs_stack_check_ = false |
|
protected |
◆ null_check_strategy_
◆ parameter_mode_
| const ParameterMode v8::internal::compiler::WasmGraphBuilder::parameter_mode_ |
|
protected |
◆ parameters_
| Node** v8::internal::compiler::WasmGraphBuilder::parameters_ |
|
protected |
◆ source_position_table_
◆ stack_check_call_operator_
◆ stack_check_code_node_
◆ wrapper_sig_
| const wasm::CanonicalSig* const v8::internal::compiler::WasmGraphBuilder::wrapper_sig_ {nullptr} |
|
protected |
◆ zone_
| Zone* const v8::internal::compiler::WasmGraphBuilder::zone_ |
|
protected |
The documentation for this class was generated from the following files: