Home
last modified time | relevance | path

Searched refs:heap_type (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-init-expr.cc34 uint32_t heap_type = enabled_features.has_typed_funcref() in type() local
37 return ValueType::Ref(heap_type, kNonNullable); in type()
40 return ValueType::Ref(immediate().heap_type, kNullable); in type()
49 return ValueType::Rtt(immediate().heap_type); in type()
Dwasm-init-expr.h55 HeapType::Representation heap_type; member
92 static WasmInitExpr RefNullConst(HeapType::Representation heap_type) { in RefNullConst() argument
95 expr.immediate_.heap_type = heap_type; in RefNullConst()
174 return immediate().heap_type == other.immediate().heap_type;
Dvalue-type.h306 static constexpr ValueType Ref(uint32_t heap_type, Nullability nullability) { in Ref() argument
307 DCHECK(HeapType(heap_type).is_valid()); in Ref()
310 HeapTypeField::encode(heap_type)); in Ref()
312 static constexpr ValueType Ref(HeapType heap_type, Nullability nullability) { in Ref() argument
313 return Ref(heap_type.representation(), nullability); in Ref()
351 return is_rtt() || (is_object_reference() && heap_type().is_index()); in has_index()
368 return is_nullable() ? Ref(heap_type(), kNonNullable) : *this; in AsNonNull()
378 constexpr HeapType heap_type() const { in heap_type() function
523 << heap_type().name() << ")"; in name()
525 buf << heap_type().name() << "ref"; in name()
Dlocal-decl-encoder.cc44 LEBHelper::write_i32v(&pos, locals_type.heap_type().code()); in Emit()
72 ? LEBHelper::sizeof_i32v(p.second.heap_type().code()) in Size()
Dwasm-module.h540 HeapType heap_type = type.heap_type(); in IsValidTableType() local
541 return heap_type == HeapType::kFunc || heap_type == HeapType::kAny || in IsValidTableType()
542 (module != nullptr && heap_type.is_index() && in IsValidTableType()
543 module->has_signature(heap_type.ref_index())); in IsValidTableType()
Dwasm-subtyping.cc161 HeapType sub_heap = subtype.heap_type(); in IsSubtypeOfImpl()
162 HeapType super_heap = supertype.heap_type(); in IsSubtypeOfImpl()
Dwasm-module-builder.cc134 buffer->write_i32v(type.heap_type().code()); in WriteValueType()
482 buffer->write_i32v(HeapType(init.immediate().heap_type).code()); in WriteInitializerExpressionWithEnd()
511 buffer->write_i32v(type.heap_type().code()); in WriteInitializerExpressionWithEnd()
Dfunction-body-decoder-impl.h285 HeapType heap_type = HeapType::from_code(code); in read_value_type() local
290 return ValueType::Ref(heap_type, nullability); in read_value_type()
310 HeapType heap_type = in read_value_type() local
313 return heap_type.is_bottom() ? kWasmBottom in read_value_type()
314 : ValueType::Ref(heap_type, nullability); in read_value_type()
2730 ValueType::Ref(ref_object.type.heap_type(), kNonNullable));
3125 HeapType heap_type(this->enabled_.has_typed_funcref()
3128 Value value = CreateValue(ValueType::Ref(heap_type, kNonNullable));
3145 CreateValue(ValueType::Ref(value.type.heap_type(), kNonNullable));
4839 HeapType::Representation heap_type =
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.cpp131 D3D12_HEAP_TYPE heap_type = D3D12_HEAP_TYPE_DEFAULT; in d3d12_bo_new() local
133 heap_type = D3D12_HEAP_TYPE_READBACK; in d3d12_bo_new()
135 heap_type = D3D12_HEAP_TYPE_UPLOAD; in d3d12_bo_new()
142 D3D12_HEAP_PROPERTIES heap_pris = GetCustomHeapProperties(dev, heap_type); in d3d12_bo_new()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_query.c48 switch (qpool->heap_type) { in dzn_query_pool_get_query_type()
110 qpool->heap_type = desc.Type = dzn_query_pool_get_heap_type(info->queryType); in dzn_query_pool_create()
318 if (qpool->heap_type != D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS) { in dzn_GetQueryPoolResults()
Ddzn_private.h1078 D3D12_QUERY_HEAP_TYPE heap_type; member
Ddzn_cmd_buffer.c1055 D3D12_HEAP_TYPE heap_type, in dzn_cmd_buffer_alloc_internal_buf() argument
1066 …3D12_HEAP_PROPERTIES hprops = dzn_ID3D12Device2_GetCustomHeapProperties(device->dev, 0, heap_type); in dzn_cmd_buffer_alloc_internal_buf()
4339 if (qpool->heap_type == D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS && in dzn_CmdCopyQueryPoolResults()
4361 if (qpool->heap_type == D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS) { in dzn_CmdCopyQueryPoolResults()
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.cpp277 ComputeTest::create_buffer(int size, D3D12_HEAP_TYPE heap_type) in create_buffer() argument
289 …desc.Flags = heap_type == D3D12_HEAP_TYPE_DEFAULT ? D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS : D… in create_buffer()
292 D3D12_HEAP_PROPERTIES heap_pris = GetCustomHeapProperties(dev, heap_type); in create_buffer()
Dcompute_test.h111 create_buffer(int size, D3D12_HEAP_TYPE heap_type);
/third_party/node/deps/v8/src/asmjs/
Dasm-parser.cc1517 AsmType* heap_type = heap_access_type_; in AssignmentExpression() local
1525 if (heap_type->IsA(AsmType::Float32Array()) && in AssignmentExpression()
1531 if (heap_type->IsA(AsmType::Float64Array()) && in AssignmentExpression()
1538 if (heap_type->IsA(AsmType::array_type())) { \ in AssignmentExpression()
/third_party/node/deps/v8/src/debug/
Ddebug-wasm-objects.cc776 if (type.heap_type().is_generic()) { in GetRefTypeName()