Home
last modified time | relevance | path

Searched refs:sig_index (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/wasm/
Dwasm-text.cc107 os << " (type " << imm.sig_index << ")"; in PrintWasmText()
137 os << "call_indirect " << imm.sig_index; in PrintWasmText()
Dmodule-decoder.cc471 function->sig_index = in DecodeImportSection()
551 function->sig_index = consume_sig_index(module_.get(), &function->sig); in DecodeFunctionSection()
1078 uint32_t sig_index = consume_u32v("signature index"); in consume_sig_index() local
1079 if (sig_index >= module->signatures.size()) { in consume_sig_index()
1080 errorf(pos, "signature index %u out of bounds (%d signatures)", sig_index, in consume_sig_index()
1085 *sig = module->signatures[sig_index]; in consume_sig_index()
1086 return sig_index; in consume_sig_index()
Dfunction-body-decoder-impl.h214 uint32_t sig_index = 0; member
233 sig_index = static_cast<uint32_t>(index); in BlockTypeImmediate()
304 uint32_t sig_index; member
309 sig_index = decoder->read_u32v<validate>(pc + 1, &len, "signature index"); in CallIndirectImmediate()
858 imm.sig_index < module_->signatures.size())) { in Complete()
861 imm.sig = module_->signatures[imm.sig_index]; in Complete()
871 errorf(pc + 1, "invalid signature index: #%u", imm.sig_index); in Validate()
973 if (!VALIDATE((module_ && imm.sig_index < module_->signatures.size()))) { in Complete()
976 imm.sig = module_->signatures[imm.sig_index]; in Complete()
983 imm.sig_index, module_ ? module_->signatures.size() : 0); in Validate()
Dwasm-interpreter.cc798 imm.sig = module->signatures[imm.sig_index]; in SideTable()
814 imm.sig = module->signatures[imm.sig_index]; in SideTable()
2323 CallIndirectFunction(0, entry_index, imm.sig_index); in Execute()
2856 uint32_t sig_index) { in CallIndirectFunction() argument
2862 if (code->function->sig_index != sig_index) { in CallIndirectFunction()
2865 module()->signature_ids[code->function->sig_index]; in CallIndirectFunction()
2866 int expected_canonical_id = module()->signature_ids[sig_index]; in CallIndirectFunction()
2877 uint32_t expected_sig_id = module()->signature_ids[sig_index]; in CallIndirectFunction()
2879 module()->signature_map.Find(*module()->signatures[sig_index])); in CallIndirectFunction()
2901 FunctionSig* signature = module()->signatures[sig_index]; in CallIndirectFunction()
Dwasm-module.h31 uint32_t sig_index; // index into the signature table. member
Dwasm-module-builder.h252 uint32_t sig_index; member
Dfunction-body-decoder.cc375 DoCall(decoder, index.node, imm.sig, imm.sig_index, args, returns); in CallIndirect()
1042 os << " // sig #" << imm.sig_index; in PrintRawWasmCode()
Dwasm-module-builder.cc354 buffer.write_u32v(import.sig_index); in WriteTo()
Dmodule-compiler.cc2067 uint32_t sig_id = module_->signature_ids[function->sig_index]; in LoadTableSegments()
/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp1158 if (SigIndex == Target.sig_index) { in CallIndirect()
1533 LOG(out << " " << Import.sig_index << ": " << ModuleName << "::" << FnName in translate()
/external/v8/src/compiler/
Dwasm-compiler.cc2630 Node* WasmGraphBuilder::CallIndirect(uint32_t sig_index, Node** args, in CallIndirect() argument
2637 wasm::FunctionSig* sig = env_->module->signatures[sig_index]; in CallIndirect()
2666 int32_t expected_sig_id = env_->module->signature_ids[sig_index]; in CallIndirect()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc1681 uint32_t canonical_sig_num = env_->module->signature_ids[imm.sig_index]; in CallIndirect()