Home
last modified time | relevance | path

Searched refs:HeapType (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/deps/v8/src/wasm/
Dwasm-subtyping.cc161 HeapType sub_heap = subtype.heap_type(); in IsSubtypeOfImpl()
162 HeapType super_heap = supertype.heap_type(); in IsSubtypeOfImpl()
165 case HeapType::kFunc: in IsSubtypeOfImpl()
168 (FLAG_experimental_wasm_gc && super_heap == HeapType::kAny); in IsSubtypeOfImpl()
169 case HeapType::kEq: in IsSubtypeOfImpl()
170 return sub_heap == super_heap || super_heap == HeapType::kAny; in IsSubtypeOfImpl()
171 case HeapType::kAny: in IsSubtypeOfImpl()
172 return super_heap == HeapType::kAny; in IsSubtypeOfImpl()
173 case HeapType::kI31: in IsSubtypeOfImpl()
174 case HeapType::kData: in IsSubtypeOfImpl()
[all …]
Dvalue-type.h60 class HeapType {
74 static constexpr HeapType from_code(uint8_t code) { in from_code()
77 return HeapType(kFunc); in from_code()
79 return HeapType(kEq); in from_code()
81 return HeapType(kI31); in from_code()
84 return HeapType(kAny); in from_code()
86 return HeapType(kData); in from_code()
88 return HeapType(kArray); in from_code()
90 return HeapType(kBottom); in from_code()
94 explicit constexpr HeapType(Representation repr) : representation_(repr) { in HeapType() function
[all …]
Dwasm-js.cc1500 case i::wasm::HeapType::kAny: { in WebAssemblyGlobal()
1510 case i::wasm::HeapType::kFunc: { in WebAssemblyGlobal()
1526 case internal::wasm::HeapType::kBottom: in WebAssemblyGlobal()
1528 case i::wasm::HeapType::kEq: in WebAssemblyGlobal()
1529 case internal::wasm::HeapType::kI31: in WebAssemblyGlobal()
1530 case internal::wasm::HeapType::kData: in WebAssemblyGlobal()
1531 case internal::wasm::HeapType::kArray: in WebAssemblyGlobal()
1716 case i::wasm::HeapType::kFunc: in EncodeExceptionValues()
1717 case i::wasm::HeapType::kAny: in EncodeExceptionValues()
1718 case i::wasm::HeapType::kEq: in EncodeExceptionValues()
[all …]
Dwasm-subtyping.h77 V8_INLINE bool IsHeapSubtypeOf(HeapType::Representation subtype, in IsHeapSubtypeOf()
78 HeapType::Representation supertype, in IsHeapSubtypeOf()
Dwasm-module.h92 HeapType::Representation repr;
105 static ConstantExpression RefNull(HeapType::Representation repr) { in RefNull()
124 HeapType::Representation repr() const { in repr()
126 return static_cast<HeapType::Representation>( in repr()
540 HeapType heap_type = type.heap_type(); in IsValidTableType()
541 return heap_type == HeapType::kFunc || heap_type == HeapType::kAny || in IsValidTableType()
Dinit-expr-interface.cc132 ValueType::Ref(HeapType(imm.index), kNonNullable)); in StructNewWithRtt()
173 ValueType::Ref(HeapType(imm.index), kNonNullable)); in StructNewDefault()
187 ValueType::Ref(HeapType(imm.index), kNonNullable)); in ArrayInit()
220 array_value, ValueType::Ref(HeapType(array_imm.index), kNonNullable)); in ArrayInitFromData()
Dwasm-objects.cc383 case wasm::HeapType::kAny: in Set()
386 case wasm::HeapType::kFunc: in Set()
389 case wasm::HeapType::kEq: in Set()
390 case wasm::HeapType::kData: in Set()
391 case wasm::HeapType::kArray: in Set()
392 case wasm::HeapType::kI31: in Set()
395 case wasm::HeapType::kBottom: in Set()
425 case wasm::HeapType::kAny: in Get()
427 case wasm::HeapType::kFunc: in Get()
430 case wasm::HeapType::kEq: in Get()
[all …]
Dfunction-body-decoder-impl.h189 HeapType read_heap_type(Decoder* decoder, const byte* pc, in read_heap_type()
198 return HeapType(HeapType::kBottom); in read_heap_type()
212 HeapType::from_code(code).name().c_str()); in read_heap_type()
213 return HeapType(HeapType::kBottom); in read_heap_type()
218 return HeapType::from_code(code); in read_heap_type()
222 return HeapType(HeapType::kBottom); in read_heap_type()
229 return HeapType(HeapType::kBottom); in read_heap_type()
238 return HeapType(HeapType::kBottom); in read_heap_type()
244 return HeapType(HeapType::kBottom); in read_heap_type()
246 return HeapType(type_index); in read_heap_type()
[all …]
Dfunction-compiler.cc187 if (ret.heap_representation() != wasm::HeapType::kAny && in UseGenericWrapper()
188 ret.heap_representation() != wasm::HeapType::kFunc) { in UseGenericWrapper()
197 type.heap_representation() == wasm::HeapType::kAny)) { in UseGenericWrapper()
Dwasm-init-expr.h55 HeapType::Representation heap_type;
92 static WasmInitExpr RefNullConst(HeapType::Representation heap_type) { in RefNullConst()
Dwasm-init-expr.cc36 : HeapType::kFunc; in type()
Dfunction-body-decoder.cc24 HeapType consume_heap_type(Decoder* decoder, const WasmModule* module, in consume_heap_type()
27 HeapType result = value_type_reader::read_heap_type<Decoder::kFullValidation>( in consume_heap_type()
Dmodule-decoder.cc603 HeapType super_type = consume_super_type(); in consume_nominal_type_definition()
606 } else if (V8_UNLIKELY(super_type != HeapType::kFunc)) { in consume_nominal_type_definition()
616 HeapType super_type = consume_super_type(); in consume_nominal_type_definition()
619 } else if (V8_UNLIKELY(super_type != HeapType::kData)) { in consume_nominal_type_definition()
629 HeapType super_type = consume_super_type(); in consume_nominal_type_definition()
632 } else if (V8_UNLIKELY(super_type != HeapType::kData)) { in consume_nominal_type_definition()
1914 HeapType type = value_type_reader::read_heap_type<kFullValidation>( in consume_init_expr()
1973 HeapType consume_super_type() { in consume_super_type()
Dwasm-objects-inl.h170 DCHECK(type().is_reference_to(wasm::HeapType::kAny)); in SetExternRef()
/third_party/skia/third_party/externals/d3d12allocator/src/
DTests.cpp248 allocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in TestFrameIndexAndJson()
306 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestCommittedResourcesAndJson()
371 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestCustomHeapFlags()
404 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestCustomHeapFlags()
434 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestPlacedResources()
537 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestOtherComInterface()
574 poolDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in TestCustomPools()
621 allocDesc.HeapType = (D3D12_HEAP_TYPE)0xCDCDCDCD; // Should be ignored. in TestCustomPools()
723 const UINT64 gpuAllocatedBefore = stats.HeapType[0].UsedBytes + stats.HeapType[0].UnusedBytes; in TestDefaultPoolMinBytes()
731 const UINT64 gpuAllocatedAfter = stats.HeapType[0].UsedBytes + stats.HeapType[0].UnusedBytes; in TestDefaultPoolMinBytes()
[all …]
DD3D12MemAlloc.h764 D3D12_HEAP_TYPE HeapType; member
958 D3D12_HEAP_TYPE HeapType; member
1148 StatInfo HeapType[HEAP_TYPE_COUNT]; member
DD3D12Sample.cpp557 depthStencilAllocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in InitD3D()
680 constantBufferUploadAllocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in InitD3D()
803 vertexBufferAllocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in InitD3D()
834 vBufferUploadAllocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in InitD3D()
915 indexBufferAllocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in InitD3D()
941 iBufferUploadAllocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in InitD3D()
996 cbPerObjectUploadAllocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in InitD3D()
1073 textureAllocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT; in InitD3D()
1095 textureUploadAllocDesc.HeapType = D3D12_HEAP_TYPE_UPLOAD; in InitD3D()
DD3D12MemAlloc.cpp2609 return CalcDefaultPoolIndex(allocDesc.HeapType, allocDesc.ExtraHeapFlags); in CalcDefaultPoolIndex()
3868 StatInfo* const pStatInfo = &outStats.HeapType[heapTypeIndex]; in AddStats()
3951 allocator, desc.HeapType, heapFlags, in PoolPimpl()
4051 m_Pimpl->GetAllocator()->UnregisterPool(this, m_Pimpl->GetDesc().HeapType); in ~Pool()
4209 if(!IsHeapTypeValid(pAllocDesc->HeapType)) in CreateResource()
4337 if(!IsHeapTypeValid(pAllocDesc->HeapType)) in AllocateMemory()
4515 GetBudgetForHeapType(budget, pAllocDesc->HeapType); in AllocateCommittedResource()
4523 heapProps.Type = pAllocDesc->HeapType; in AllocateCommittedResource()
4541 alloc->InitCommitted(pAllocDesc->HeapType); in AllocateCommittedResource()
4546 RegisterCommittedAllocation(*ppAllocation, pAllocDesc->HeapType); in AllocateCommittedResource()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DAMDMemoryAllocator.cpp32 allocationDesc.HeapType = heapType; in createResource()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoBaseDecodeUtils.hpp427 typedef vector<de::MovePtr<vector<deUint8>>> HeapType; typedef
535 HeapType& heap);
617 vector<HeapType> m_heaps;
DvktVideoBaseDecodeUtils.cpp1218 HeapType heap; in DecodePicture()
2613 void* copyToHeap (HeapType& heap, const void* p, size_t size) in copyToHeap()
2625 void appendHeap (HeapType& heapTo, HeapType& heapFrom) in appendHeap()
2637 HeapType& heap) in appendPerFrameDecodeParameters()
2653 HeapType& heap) in DecodePictureWithParameters()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoBaseDecodeUtils.hpp427 typedef vector<de::MovePtr<vector<deUint8>>> HeapType; typedef
535 HeapType& heap);
617 vector<HeapType> m_heaps;
DvktVideoBaseDecodeUtils.cpp1218 HeapType heap; in DecodePicture()
2613 void* copyToHeap (HeapType& heap, const void* p, size_t size) in copyToHeap()
2625 void appendHeap (HeapType& heapTo, HeapType& heapFrom) in appendHeap()
2637 HeapType& heap) in appendPerFrameDecodeParameters()
2653 HeapType& heap) in DecodePictureWithParameters()
/third_party/skia/third_party/externals/d3d12allocator/
DREADME.md65 allocDesc.HeapType = D3D12_HEAP_TYPE_DEFAULT;
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc3224 table_type.is_reference_to(wasm::HeapType::kFunc) || in BuildIndirectCall()
6400 case wasm::HeapType::kFunc: { in ToJS()
6420 case wasm::HeapType::kEq: in ToJS()
6421 case wasm::HeapType::kData: in ToJS()
6422 case wasm::HeapType::kArray: in ToJS()
6423 case wasm::HeapType::kI31: in ToJS()
6436 case wasm::HeapType::kAny: { in ToJS()
6610 case wasm::HeapType::kAny: in FromJS()
6615 case wasm::HeapType::kFunc: in FromJS()
6618 case wasm::HeapType::kData: in FromJS()
[all …]

12