Home
last modified time | relevance | path

Searched refs:LGKM_CNT (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInsertWaitcnts.cpp78 enum InstCounterType { VM_CNT = 0, LGKM_CNT, EXP_CNT, NUM_INST_CNTS }; enumerator
152 case LGKM_CNT: in getWaitCountMax()
204 return LGKM_CNT; in eventCounter()
224 assert(T == LGKM_CNT); in setRegScore()
278 return (EventUBs[SMEM_ACCESS] > ScoreLBs[LGKM_CNT] && in hasPendingSMEM()
279 EventUBs[SMEM_ACCESS] <= ScoreUBs[LGKM_CNT]); in hasPendingSMEM()
283 return ((LastFlat[LGKM_CNT] > ScoreLBs[LGKM_CNT] && in hasPendingFlat()
284 LastFlat[LGKM_CNT] <= ScoreUBs[LGKM_CNT]) || in hasPendingFlat()
291 LastFlat[LGKM_CNT] = ScoreUBs[LGKM_CNT]; in setPendingFlat()
442 ForceEmitWaitcnt[LGKM_CNT] = true; in setForceEmitWaitcnt()
[all …]
DSIInstrFormats.td64 field bit LGKM_CNT = 0;
157 let TSFlags{34} = LGKM_CNT;
DSMInstructions.td30 let LGKM_CNT = 1;
71 let LGKM_CNT = 0;
714 let LGKM_CNT = ps.LGKM_CNT;
DSIDefines.h61 LGKM_CNT = UINT64_C(1) << 34, enumerator
DSIInstrInfo.h462 return (Flags & SIInstrFlags::FLAT) && !(Flags & SIInstrFlags::LGKM_CNT); in isSegmentSpecificFLAT()
543 return MI.getDesc().TSFlags & SIInstrFlags::LGKM_CNT; in usesLGKM_CNT()
DFLATInstructions.td63 // Buffer instruction; so, they increment both VM_CNT and LGKM_CNT
66 let LGKM_CNT = !if(!or(is_flat_global, is_flat_scratch), 0, 1);
DDSInstructions.td16 let LGKM_CNT = 1;
/external/llvm/lib/Target/AMDGPU/
DSIInstrFormats.td20 field bits<1> LGKM_CNT = 0;
56 let TSFlags{2} = LGKM_CNT;
348 let LGKM_CNT = 1;
672 let LGKM_CNT = 1;
717 // Buffer instruction; so, they increment both VM_CNT and LGKM_CNT
720 let LGKM_CNT = 1;
DSIDefines.h69 LGKM_CNT = 1 << 2 enumerator
DSIInsertWaits.cpp195 if (TSFlags & SIInstrFlags::LGKM_CNT) { in getHwCounts()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h295 #define LGKM_CNT 0x07f macro
Dsi_shader.c3920 waitcnt &= VM_CNT & LGKM_CNT; in membar_emit()
3928 waitcnt &= LGKM_CNT; in membar_emit()
4424 ac_build_waitcnt(&ctx->ac, LGKM_CNT & VM_CNT); in si_llvm_emit_barrier()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c3890 #define LGKM_CNT 0x07f macro
3901 waitcnt &= VM_CNT & LGKM_CNT; in emit_membar()
3909 waitcnt &= LGKM_CNT; in emit_membar()
3925 ac_build_waitcnt(ac, LGKM_CNT & VM_CNT); in emit_barrier()