Searched refs:Waitcnt (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.h | 545 struct Waitcnt { struct 551 Waitcnt() = default; argument 555 static Waitcnt allZero(bool HasVscnt) { in allZero() argument 556 return Waitcnt(0, 0, 0, HasVscnt ? 0 : ~0u); in allZero() 558 static Waitcnt allZeroExceptVsCnt() { return Waitcnt(0, 0, 0, ~0u); } in allZeroExceptVsCnt() argument 572 bool dominates(const Waitcnt &Other) const { in dominates() argument 577 Waitcnt combined(const Waitcnt &Other) const { in combined() argument 597 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt); 618 void decodeWaitcnt(const IsaVersion &Version, unsigned Waitcnt, 624 unsigned encodeVmcnt(const IsaVersion &Version, unsigned Waitcnt, [all …]
|
| H A D | AMDGPUBaseInfo.cpp | 1070 return unpackBits(Waitcnt, getExpcntBitShift(Version.Major), in decodeExpcnt() 1081 Vmcnt = decodeVmcnt(Version, Waitcnt); in decodeWaitcnt() 1082 Expcnt = decodeExpcnt(Version, Waitcnt); in decodeWaitcnt() 1083 Lgkmcnt = decodeLgkmcnt(Version, Waitcnt); in decodeWaitcnt() 1087 Waitcnt Decoded; in decodeWaitcnt() 1096 Waitcnt = packBits(Vmcnt, Waitcnt, getVmcntBitShiftLo(Version.Major), in encodeVmcnt() 1117 unsigned Waitcnt = getWaitcntBitMask(Version); in encodeWaitcnt() local 1118 Waitcnt = encodeVmcnt(Version, Waitcnt, Vmcnt); in encodeWaitcnt() 1119 Waitcnt = encodeExpcnt(Version, Waitcnt, Expcnt); in encodeWaitcnt() 1120 Waitcnt = encodeLgkmcnt(Version, Waitcnt, Lgkmcnt); in encodeWaitcnt() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInsertWaitcnts.cpp | 241 void simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const; 244 AMDGPU::Waitcnt &Wait) const; 245 void applyWaitcnt(const AMDGPU::Waitcnt &Wait); 446 bool generateWaitcnt(AMDGPU::Waitcnt Wait, 456 AMDGPU::Waitcnt &Wait, 982 AMDGPU::Waitcnt Wait; in generateWaitcntInstBefore() 1087 Wait = AMDGPU::Waitcnt(); in generateWaitcntInstBefore() 1208 Wait = AMDGPU::Waitcnt::allZero(ST->hasVscnt()); in generateWaitcntInstBefore() 1235 AMDGPU::Waitcnt Wait; in generateWaitcntBlockEnd() 1248 bool SIInsertWaitcnts::generateWaitcnt(AMDGPU::Waitcnt Wait, in generateWaitcnt() [all …]
|
| H A D | GCNHazardRecognizer.cpp | 1225 AMDGPU::Waitcnt Decoded = AMDGPU::decodeWaitcnt(IV, Imm); in fixSMEMtoVectorWriteHazards()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | waitcnt-vmem-waw.mir | 56 # Image load vs image sample. Waitcnt required because they are not guaranteed
|
| H A D | waitcnt.mir | 341 # Waitcnt required before the use of $sgpr10_sgpr11, as the S_LOAD also writes
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 6472 int64_t Waitcnt = getWaitcntBitMask(ISA); in parseSWaitCntOps() local 6477 if (!parseCnt(Waitcnt)) in parseSWaitCntOps() 6481 if (!parseExpr(Waitcnt)) in parseSWaitCntOps() 6485 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S)); in parseSWaitCntOps()
|