Searched refs:GC (Results 1 - 25 of 141) sorted by relevance

123456

/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.init_fini/
H A Dtest18996.d3 // initializes the GC. The behavior of the default GC is to ignore removing
11 GC.removeRange(null);
12 GC.removeRoot(null);
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.gc/
H A Dattributes.d6 GC.clrAttr(ptr, uint.max);
7 assert(GC.getAttr(ptr) == 0);
9 GC.setAttr(ptr, GC.BlkAttr.NO_MOVE);
10 assert(GC.getAttr(ptr) == GC.BlkAttr.NO_MOVE);
12 GC.clrAttr(ptr, GC.BlkAttr.NO_MOVE);
13 assert(GC.getAttr(ptr) == 0);
14 GC
[all...]
H A Drecoverfree.d7 auto used0 = GC.stats.usedSize;
8 void* z = GC.malloc(100);
9 GC.free(z);
10 GC.collect();
11 auto used1 = GC.stats.usedSize;
H A Dnocollect.d7 auto stats = GC.profileStats();
13 stats = GC.profileStats();
H A Dforkgc.d12 GC.collect();
24 GC.collect();
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_gfx_v9_4.c47 { SOC15_REG_ENTRY(GC, 0, mmCPC_EDC_SCRATCH_CNT), 0, 1, 1 },
48 { SOC15_REG_ENTRY(GC, 0, mmCPC_EDC_UCODE_CNT), 0, 1, 1 },
50 { SOC15_REG_ENTRY(GC, 0, mmDC_EDC_STATE_CNT), 0, 1, 1 },
51 { SOC15_REG_ENTRY(GC, 0, mmDC_EDC_CSINVOC_CNT), 0, 1, 1 },
52 { SOC15_REG_ENTRY(GC, 0, mmDC_EDC_RESTORE_CNT), 0, 1, 1 },
54 { SOC15_REG_ENTRY(GC, 0, mmCPF_EDC_ROQ_CNT), 0, 1, 1 },
55 { SOC15_REG_ENTRY(GC, 0, mmCPF_EDC_TAG_CNT), 0, 1, 1 },
57 { SOC15_REG_ENTRY(GC, 0, mmGDS_EDC_CNT), 0, 1, 1 },
58 { SOC15_REG_ENTRY(GC, 0, mmGDS_EDC_GRBM_CNT), 0, 1, 1 },
59 { SOC15_REG_ENTRY(GC,
[all...]
H A Damdgpu_gfxhub_v1_0.c40 return (u64)RREG32_SOC15(GC, 0, mmMC_VM_FB_OFFSET) << 24;
50 WREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_BASE_ADDR_LO32,
53 WREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_BASE_ADDR_HI32,
63 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_START_ADDR_LO32,
65 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_START_ADDR_HI32,
68 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32,
70 WREG32_SOC15(GC, 0, mmVM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32,
79 WREG32_SOC15_RLC(GC, 0, mmMC_VM_AGP_BASE, 0);
80 WREG32_SOC15_RLC(GC, 0, mmMC_VM_AGP_BOT, adev->gmc.agp_start >> 24);
81 WREG32_SOC15_RLC(GC,
[all...]
H A Damdgpu_gfxhub_v2_0.c41 u64 base = RREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_BASE);
51 return (u64)RREG32_SOC15(GC, 0, mmGCMC_VM_FB_OFFSET) << 24;
61 WREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_BASE_ADDR_LO32,
64 WREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_BASE_ADDR_HI32,
74 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_START_ADDR_LO32,
76 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_START_ADDR_HI32,
79 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32,
81 WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32,
90 WREG32_SOC15(GC, 0, mmGCMC_VM_AGP_BASE, 0);
91 WREG32_SOC15(GC,
[all...]
H A Damdgpu_gfx_v9_0.c512 SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG2, 0xf00fffff, 0x00000400),
513 SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG3, 0x80000000, 0x80000000),
514 SOC15_REG_GOLDEN_VALUE(GC, 0, mmGB_GPU_ID, 0x0000000f, 0x00000000),
515 SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_BINNER_EVENT_CNTL_3, 0x00000003, 0x82400024),
516 SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_ENHANCE, 0x3fffffff, 0x00000001),
517 SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_LINE_STIPPLE_STATE, 0x0000ff0f, 0x00000000),
518 SOC15_REG_GOLDEN_VALUE(GC, 0, mmSH_MEM_CONFIG, 0x00001000, 0x00001000),
519 SOC15_REG_GOLDEN_VALUE(GC, 0, mmSPI_RESOURCE_RESERVE_CU_0, 0x0007ffff, 0x00000800),
520 SOC15_REG_GOLDEN_VALUE(GC, 0, mmSPI_RESOURCE_RESERVE_CU_1, 0x0007ffff, 0x00000800),
521 SOC15_REG_GOLDEN_VALUE(GC,
[all...]
H A Damdgpu_gfx_v10_0.c99 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCB_HW_CONTROL_4, 0xffffffff, 0x00400014),
100 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_CPF_CLK_CTRL, 0xfcff8fff, 0xf8000100),
101 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_SPI_CLK_CTRL, 0xcd000000, 0x0d000100),
102 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_SQ_CLK_CTRL, 0x60000ff0, 0x60000100),
103 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_SQG_CLK_CTRL, 0x40000000, 0x40000100),
104 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_VGT_CLK_CTRL, 0xffff8fff, 0xffff8100),
105 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCGTT_WD_CLK_CTRL, 0xfeff8fff, 0xfeff8100),
106 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCH_PIPE_STEER, 0xffffffff, 0xe4e4e4e4),
107 SOC15_REG_GOLDEN_VALUE(GC, 0, mmCH_VC5_ENABLE, 0x00000002, 0x00000000),
108 SOC15_REG_GOLDEN_VALUE(GC,
[all...]
H A Damdgpu_mes_v10_1.c197 data = RREG32_SOC15(GC, 0, mmCP_MES_CNTL);
199 WREG32_SOC15(GC, 0, mmCP_MES_CNTL, data);
202 WREG32_SOC15(GC, 0, mmCP_MES_PRGRM_CNTR_START,
206 data = RREG32_SOC15(GC, 0, mmCP_MES_DC_OP_CNTL);
209 WREG32_SOC15(GC, 0, mmCP_MES_DC_OP_CNTL, data);
213 WREG32_SOC15(GC, 0, mmCP_MES_CNTL, data);
215 data = RREG32_SOC15(GC, 0, mmCP_MES_CNTL);
221 WREG32_SOC15(GC, 0, mmCP_MES_CNTL, data);
246 WREG32_SOC15(GC, 0, mmCP_MES_IC_BASE_CNTL, 0);
253 WREG32_SOC15(GC,
[all...]
H A Damdgpu_gfxhub_v1_1.c38 u32 xgmi_lfb_cntl = RREG32_SOC15(GC, 0, mmMC_VM_XGMI_LFB_CNTL);
68 RREG32_SOC15(GC, 0, mmMC_VM_XGMI_LFB_SIZE),
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.exceptions/
H A Dunknown_gc.d4 // { dg-output "No GC was initialized, please recheck the name of the selected GC \\('unknowngc'\\)." }
11 // GC initialized upon first call -> Unknown GC error is thrown
12 GC.enable();
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dgc_allocator.d10 import core.memory : GC;
28 auto p = GC.malloc(bytes);
37 immutable curLength = GC.sizeOf(b.ptr);
38 assert(curLength != 0); // we have a valid GC pointer here
43 immutable newSize = GC.extend(b.ptr, sizeRequest, sizeRequest);
61 auto p = cast(ubyte*) GC.realloc(b.ptr, newSize);
76 auto r = GC.addrOf(cast(void*) p);
78 result = r[0 .. GC.sizeOf(r)];
85 GC.free(b.ptr);
118 GC
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/gc/
H A Dregistry.d2 * Contains a registry for GC factories.
10 import core.gc.gcinterface : GC;
15 * A factory function that instantiates an implementation of the GC interface.
20 * cannot successfully initialize the GC instance.
22 alias GCFactory = GC function();
25 * Register a GC factory under the given `name`. This function must be called
28 * To use the registered GC, it's name must be specified gcopt runtime option,
32 * name = name of the GC implementation; should be unique
49 * Called during runtime initialization to initialize a GC instance of given `name`.
52 * name = name of the GC t
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dmemory.d3 * so the GC can scan them for roots. It does not deal with thread local static data.
24 GC.addRange(rng.ptr, rng.length);
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-selective/
H A Dkeepdot.d5 # Check that GC:ing does not mess up the default value for dot.
H A Dkeepdot0.d6 # Check that GC:ing does not mess up the value for dot when specified
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.allocations/
H A Dalloc_from_assert.d24 GC.collect();
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dmemory.d3 * so the GC can scan them for roots. It does not deal with thread local static data.
24 GC.addRange(rng.ptr, rng.length);
H A Dehalloc.d54 // Inform the GC about the pointers in the object instance
55 import core.memory : GC;
57 GC.addRange(p, init.length, ci);
83 /* If allocated by the GC, don't free it.
84 * Let the GC handle it.
90 return; // it was allocated by the GC
106 // Inform the GC about the pointers in the object instance
107 import core.memory : GC;
108 GC.removeRange(cast(void*) t);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Dmemory.d13 $(LI The GC is a conservative mark-and-sweep collector. It only runs a
16 there will be no GC collection pauses. The pauses occur because
17 all threads the GC knows about are halted so the threads' stacks
18 and registers can be scanned for references to GC allocated data.
21 $(LI The GC does not know about threads that were created by directly calling
24 Such threads will not be paused for a GC collection, and the GC might not detect
25 references to GC allocated data held by them. This can cause memory corruption.
28 $(LI Do not hold references to GC allocated data in such threads.)
32 GC doe
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-mmix/
H A Dstart3.s1 # When GC, all sections in each file must be referenced from within a kept
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dgc_allocator.d15 import core.memory : GC;
33 auto p = GC.malloc(bytes);
42 immutable curLength = GC.sizeOf(b.ptr);
43 assert(curLength != 0); // we have a valid GC pointer here
48 immutable newSize = GC.extend(b.ptr, sizeRequest, sizeRequest);
66 auto p = cast(ubyte*) GC.realloc(b.ptr, newSize);
81 auto r = GC.addrOf(cast(void*) p);
83 result = r[0 .. GC.sizeOf(r)];
91 GC.free(b.ptr);
117 auto p = GC
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Drmem.d2 * Allocate memory using `malloc` or the GC depending on the configuration.
19 import core.memory : GC;
34 return GC.free(p);
42 return size ? GC.malloc(size) : null;
50 return size ? GC.malloc(size, GC.BlkAttr.NO_SCAN) : null;
58 return size * n ? GC.calloc(size * n) : null;
66 return size * n ? GC.calloc(size * n, GC.BlkAttr.NO_SCAN) : null;
74 return GC
[all...]

Completed in 186 milliseconds

123456