|
| WasmGraphBuilder (wasm::CompilationEnv *env, Zone *zone, MachineGraph *mcgraph, wasm::FunctionSig *sig, compiler::SourcePositionTable *spt=nullptr) |
|
Node ** | Buffer (size_t count) |
|
Node * | Error () |
|
Node * | Start (unsigned params) |
|
Node * | Param (unsigned index) |
|
Node * | Loop (Node *entry) |
|
Node * | TerminateLoop (Node *effect, Node *control) |
|
Node * | TerminateThrow (Node *effect, Node *control) |
|
Node * | Merge (unsigned count, Node **controls) |
|
Node * | Phi (wasm::ValueType type, unsigned count, Node **vals, Node *control) |
|
Node * | CreateOrMergeIntoPhi (MachineRepresentation rep, Node *merge, Node *tnode, Node *fnode) |
|
Node * | CreateOrMergeIntoEffectPhi (Node *merge, Node *tnode, Node *fnode) |
|
Node * | EffectPhi (unsigned count, Node **effects, Node *control) |
|
Node * | RefNull () |
|
Node * | Uint32Constant (uint32_t value) |
|
Node * | Int32Constant (int32_t value) |
|
Node * | Int64Constant (int64_t value) |
|
Node * | IntPtrConstant (intptr_t value) |
|
Node * | Float32Constant (float value) |
|
Node * | Float64Constant (double value) |
|
Node * | Binop (wasm::WasmOpcode opcode, Node *left, Node *right, wasm::WasmCodePosition position=wasm::kNoCodePosition) |
|
Node * | Unop (wasm::WasmOpcode opcode, Node *input, wasm::WasmCodePosition position=wasm::kNoCodePosition) |
|
Node * | MemoryGrow (Node *input) |
|
Node * | Throw (uint32_t exception_index, const wasm::WasmException *exception, const Vector< Node *> values) |
|
Node * | Rethrow (Node *except_obj) |
|
Node * | ExceptionTagEqual (Node *caught_tag, Node *expected_tag) |
|
Node * | LoadExceptionTagFromTable (uint32_t exception_index) |
|
Node * | GetExceptionTag (Node *except_obj) |
|
Node ** | GetExceptionValues (Node *except_obj, const wasm::WasmException *exception) |
|
bool | IsPhiWithMerge (Node *phi, Node *merge) |
|
bool | ThrowsException (Node *node, Node **if_success, Node **if_exception) |
|
void | AppendToMerge (Node *merge, Node *from) |
|
void | AppendToPhi (Node *phi, Node *from) |
|
void | StackCheck (wasm::WasmCodePosition position, Node **effect=nullptr, Node **control=nullptr) |
|
void | PatchInStackCheckIfNeeded () |
|
Node * | BranchNoHint (Node *cond, Node **true_node, Node **false_node) |
|
Node * | BranchExpectTrue (Node *cond, Node **true_node, Node **false_node) |
|
Node * | BranchExpectFalse (Node *cond, Node **true_node, Node **false_node) |
|
Node * | TrapIfTrue (wasm::TrapReason reason, Node *cond, wasm::WasmCodePosition position) |
|
Node * | TrapIfFalse (wasm::TrapReason reason, Node *cond, wasm::WasmCodePosition position) |
|
Node * | TrapIfEq32 (wasm::TrapReason reason, Node *node, int32_t val, wasm::WasmCodePosition position) |
|
Node * | ZeroCheck32 (wasm::TrapReason reason, Node *node, wasm::WasmCodePosition position) |
|
Node * | TrapIfEq64 (wasm::TrapReason reason, Node *node, int64_t val, wasm::WasmCodePosition position) |
|
Node * | ZeroCheck64 (wasm::TrapReason reason, Node *node, wasm::WasmCodePosition position) |
|
Node * | Switch (unsigned count, Node *key) |
|
Node * | IfValue (int32_t value, Node *sw) |
|
Node * | IfDefault (Node *sw) |
|
Node * | Return (unsigned count, Node **nodes) |
|
template<typename... Nodes> |
Node * | Return (Node *fst, Nodes *... more) |
|
Node * | ReturnVoid () |
|
Node * | Unreachable (wasm::WasmCodePosition position) |
|
Node * | CallDirect (uint32_t index, Node **args, Node ***rets, wasm::WasmCodePosition position) |
|
Node * | CallIndirect (uint32_t index, Node **args, Node ***rets, wasm::WasmCodePosition position) |
|
Node * | Invert (Node *node) |
|
Node * | CurrentMemoryPages () |
|
Node * | GetGlobal (uint32_t index) |
|
Node * | SetGlobal (uint32_t index, Node *val) |
|
Node * | TraceMemoryOperation (bool is_store, MachineRepresentation, Node *index, uint32_t offset, wasm::WasmCodePosition) |
|
Node * | LoadMem (wasm::ValueType type, MachineType memtype, Node *index, uint32_t offset, uint32_t alignment, wasm::WasmCodePosition position) |
|
Node * | StoreMem (MachineRepresentation mem_rep, Node *index, uint32_t offset, uint32_t alignment, Node *val, wasm::WasmCodePosition position, wasm::ValueType type) |
|
void | set_instance_node (Node *instance_node) |
|
Node * | Control () |
|
Node * | Effect () |
|
Node * | SetControl (Node *node) |
|
Node * | SetEffect (Node *node) |
|
void | set_control_ptr (Node **control) |
|
void | set_effect_ptr (Node **effect) |
|
void | GetGlobalBaseAndOffset (MachineType mem_type, const wasm::WasmGlobal &, Node **base_node, Node **offset_node) |
|
void | InitInstanceCache (WasmInstanceCacheNodes *instance_cache) |
|
void | PrepareInstanceCacheForLoop (WasmInstanceCacheNodes *instance_cache, Node *control) |
|
void | NewInstanceCacheMerge (WasmInstanceCacheNodes *to, WasmInstanceCacheNodes *from, Node *merge) |
|
void | MergeInstanceCacheInto (WasmInstanceCacheNodes *to, WasmInstanceCacheNodes *from, Node *merge) |
|
void | set_instance_cache (WasmInstanceCacheNodes *instance_cache) |
|
wasm::FunctionSig * | GetFunctionSignature () |
|
void | LowerInt64 () |
|
void | SimdScalarLoweringForTesting () |
|
void | SetSourcePosition (Node *node, wasm::WasmCodePosition position) |
|
Node * | S128Zero () |
|
Node * | S1x4Zero () |
|
Node * | S1x8Zero () |
|
Node * | S1x16Zero () |
|
Node * | SimdOp (wasm::WasmOpcode opcode, Node *const *inputs) |
|
Node * | SimdLaneOp (wasm::WasmOpcode opcode, uint8_t lane, Node *const *inputs) |
|
Node * | SimdShiftOp (wasm::WasmOpcode opcode, uint8_t shift, Node *const *inputs) |
|
Node * | Simd8x16ShuffleOp (const uint8_t shuffle[16], Node *const *inputs) |
|
Node * | AtomicOp (wasm::WasmOpcode opcode, Node *const *inputs, uint32_t alignment, uint32_t offset, wasm::WasmCodePosition position) |
|
bool | has_simd () const |
|
const wasm::WasmModule * | module () |
|
wasm::UseTrapHandler | use_trap_handler () const |
|
MachineGraph * | mcgraph () |
|
Graph * | graph () |
|
void | AddBytecodePositionDecorator (NodeOriginTable *node_origins, wasm::Decoder *decoder) |
|
void | RemoveBytecodePositionDecorator () |
|
|
Node * | NoContextConstant () |
|
Node * | MemBuffer (uint32_t offset) |
|
Node * | BoundsCheckMem (uint8_t access_size, Node *index, uint32_t offset, wasm::WasmCodePosition, EnforceBoundsCheck) |
|
Node * | CheckBoundsAndAlignment (uint8_t access_size, Node *index, uint32_t offset, wasm::WasmCodePosition) |
|
Node * | Uint32ToUintptr (Node *) |
|
const Operator * | GetSafeLoadOperator (int offset, wasm::ValueType type) |
|
const Operator * | GetSafeStoreOperator (int offset, wasm::ValueType type) |
|
Node * | BuildChangeEndiannessStore (Node *node, MachineRepresentation rep, wasm::ValueType wasmtype=wasm::kWasmStmt) |
|
Node * | BuildChangeEndiannessLoad (Node *node, MachineType type, wasm::ValueType wasmtype=wasm::kWasmStmt) |
|
Node * | MaskShiftCount32 (Node *node) |
|
Node * | MaskShiftCount64 (Node *node) |
|
template<typename... Args> |
Node * | BuildCCall (MachineSignature *sig, Node *function, Args... args) |
|
Node * | BuildWasmCall (wasm::FunctionSig *sig, Node **args, Node ***rets, wasm::WasmCodePosition position, Node *instance_node, UseRetpoline use_retpoline) |
|
Node * | BuildImportCall (wasm::FunctionSig *sig, Node **args, Node ***rets, wasm::WasmCodePosition position, int func_index) |
|
Node * | BuildImportCall (wasm::FunctionSig *sig, Node **args, Node ***rets, wasm::WasmCodePosition position, Node *func_index) |
|
Node * | BuildF32CopySign (Node *left, Node *right) |
|
Node * | BuildF64CopySign (Node *left, Node *right) |
|
Node * | BuildIntConvertFloat (Node *input, wasm::WasmCodePosition position, wasm::WasmOpcode) |
|
Node * | BuildI32Ctz (Node *input) |
|
Node * | BuildI32Popcnt (Node *input) |
|
Node * | BuildI64Ctz (Node *input) |
|
Node * | BuildI64Popcnt (Node *input) |
|
Node * | BuildBitCountingCall (Node *input, ExternalReference ref, MachineRepresentation input_type) |
|
Node * | BuildCFuncInstruction (ExternalReference ref, MachineType type, Node *input0, Node *input1=nullptr) |
|
Node * | BuildF32Trunc (Node *input) |
|
Node * | BuildF32Floor (Node *input) |
|
Node * | BuildF32Ceil (Node *input) |
|
Node * | BuildF32NearestInt (Node *input) |
|
Node * | BuildF64Trunc (Node *input) |
|
Node * | BuildF64Floor (Node *input) |
|
Node * | BuildF64Ceil (Node *input) |
|
Node * | BuildF64NearestInt (Node *input) |
|
Node * | BuildI32Rol (Node *left, Node *right) |
|
Node * | BuildI64Rol (Node *left, Node *right) |
|
Node * | BuildF64Acos (Node *input) |
|
Node * | BuildF64Asin (Node *input) |
|
Node * | BuildF64Pow (Node *left, Node *right) |
|
Node * | BuildF64Mod (Node *left, Node *right) |
|
Node * | BuildIntToFloatConversionInstruction (Node *input, ExternalReference ref, MachineRepresentation parameter_representation, const MachineType result_type) |
|
Node * | BuildF32SConvertI64 (Node *input) |
|
Node * | BuildF32UConvertI64 (Node *input) |
|
Node * | BuildF64SConvertI64 (Node *input) |
|
Node * | BuildF64UConvertI64 (Node *input) |
|
Node * | BuildCcallConvertFloat (Node *input, wasm::WasmCodePosition position, wasm::WasmOpcode opcode) |
|
Node * | BuildI32DivS (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI32RemS (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI32DivU (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI32RemU (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI64DivS (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI64RemS (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI64DivU (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildI64RemU (Node *left, Node *right, wasm::WasmCodePosition position) |
|
Node * | BuildDiv64Call (Node *left, Node *right, ExternalReference ref, MachineType result_type, wasm::TrapReason trap_zero, wasm::WasmCodePosition position) |
|
Node * | BuildChangeInt32ToIntPtr (Node *value) |
|
Node * | BuildChangeInt32ToSmi (Node *value) |
|
Node * | BuildChangeUint31ToSmi (Node *value) |
|
Node * | BuildSmiShiftBitsConstant () |
|
Node * | BuildChangeSmiToInt32 (Node *value) |
|
Node * | BuildI32AsmjsSConvertF32 (Node *input) |
|
Node * | BuildI32AsmjsSConvertF64 (Node *input) |
|
Node * | BuildI32AsmjsUConvertF32 (Node *input) |
|
Node * | BuildI32AsmjsUConvertF64 (Node *input) |
|
Node * | BuildI32AsmjsDivS (Node *left, Node *right) |
|
Node * | BuildI32AsmjsRemS (Node *left, Node *right) |
|
Node * | BuildI32AsmjsDivU (Node *left, Node *right) |
|
Node * | BuildI32AsmjsRemU (Node *left, Node *right) |
|
Node * | BuildAsmjsLoadMem (MachineType type, Node *index) |
|
Node * | BuildAsmjsStoreMem (MachineType type, Node *index, Node *val) |
|
uint32_t | GetExceptionEncodedSize (const wasm::WasmException *exception) const |
|
void | BuildEncodeException32BitValue (Node *values_array, uint32_t *index, Node *value) |
|
Node * | BuildDecodeException32BitValue (Node *values_array, uint32_t *index) |
|
Node * | BuildDecodeException64BitValue (Node *values_array, uint32_t *index) |
|
Node ** | Realloc (Node *const *buffer, size_t old_count, size_t new_count) |
|
Node * | BuildLoadBuiltinFromInstance (int builtin_index) |
|
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) |
|