Searched refs:ObjectPool (Results 1 – 4 of 4) sorted by relevance
39 pool_group->pools[TypeType].reset(new ObjectPool<SPIRType>); in ParsedIR()40 pool_group->pools[TypeVariable].reset(new ObjectPool<SPIRVariable>); in ParsedIR()41 pool_group->pools[TypeConstant].reset(new ObjectPool<SPIRConstant>); in ParsedIR()42 pool_group->pools[TypeFunction].reset(new ObjectPool<SPIRFunction>); in ParsedIR()43 pool_group->pools[TypeFunctionPrototype].reset(new ObjectPool<SPIRFunctionPrototype>); in ParsedIR()44 pool_group->pools[TypeBlock].reset(new ObjectPool<SPIRBlock>); in ParsedIR()45 pool_group->pools[TypeExtension].reset(new ObjectPool<SPIRExtension>); in ParsedIR()46 pool_group->pools[TypeExpression].reset(new ObjectPool<SPIRExpression>); in ParsedIR()47 pool_group->pools[TypeConstantOp].reset(new ObjectPool<SPIRConstantOp>); in ParsedIR()48 pool_group->pools[TypeCombinedImageSampler].reset(new ObjectPool<SPIRCombinedImageSampler>); in ParsedIR()[all …]
553 class ObjectPool : public ObjectPoolBase class556 explicit ObjectPool(unsigned start_object_count_ = 16) in ObjectPool() function in SPIRV_CROSS_NAMESPACE::ObjectPool
430 return static_cast<ObjectPool<T> *>(pool)->allocate(*this); \1457 T *val = static_cast<ObjectPool<T> &>(*group->pools[new_type]).allocate(std::forward<Ts>(ts)...); in allocate_and_set()
1552 const int32_t offset = ObjectPool::element_offset( in LoadObjectHelper()1578 ObjectPool::element_offset(object_pool_wrapper_.FindObject(function)); in LoadFunctionFromCalleePool()1584 const int32_t offset = ObjectPool::element_offset( in LoadNativeEntry()2581 const int32_t offset = ObjectPool::element_offset( in Branch()2593 const int32_t offset = ObjectPool::element_offset( in BranchLink()