Home
last modified time | relevance | path

Searched refs:Waitcnt (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h469 struct Waitcnt { struct
475 Waitcnt() {} in Waitcnt() argument
476 Waitcnt(unsigned VmCnt, unsigned ExpCnt, unsigned LgkmCnt, unsigned VsCnt) in Waitcnt() function
479 static Waitcnt allZero(bool HasVscnt) { in allZero() argument
480 return Waitcnt(0, 0, 0, HasVscnt ? 0 : ~0u); in allZero()
482 static Waitcnt allZeroExceptVsCnt() { return Waitcnt(0, 0, 0, ~0u); } in allZeroExceptVsCnt() argument
496 bool dominates(const Waitcnt &Other) const { in dominates() argument
501 Waitcnt combined(const Waitcnt &Other) const { in combined() argument
502 return Waitcnt(std::min(VmCnt, Other.VmCnt), std::min(ExpCnt, Other.ExpCnt), in combined()
521 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt);
[all …]
H A DAMDGPUBaseInfo.cpp914 unsigned Waitcnt = VmcntLo | Expcnt | Lgkmcnt; in getWaitcntBitMask() local
916 return Waitcnt; in getWaitcntBitMask()
919 return Waitcnt | VmcntHi; in getWaitcntBitMask()
922 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeVmcnt() argument
924 unpackBits(Waitcnt, getVmcntBitShiftLo(), getVmcntBitWidthLo()); in decodeVmcnt()
929 unpackBits(Waitcnt, getVmcntBitShiftHi(), getVmcntBitWidthHi()); in decodeVmcnt()
934 unsigned decodeExpcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeExpcnt() argument
935 return unpackBits(Waitcnt, getExpcntBitShift(), getExpcntBitWidth()); in decodeExpcnt()
938 unsigned decodeLgkmcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeLgkmcnt() argument
939 return unpackBits(Waitcnt, getLgkmcntBitShift(), in decodeLgkmcnt()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIInsertWaitcnts.cpp165 void addWait(AMDGPU::Waitcnt &Wait, InstCounterType T, unsigned Count) { in addWait()
249 void simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const;
252 AMDGPU::Waitcnt &Wait) const;
253 void applyWaitcnt(const AMDGPU::Waitcnt &Wait);
448 AMDGPU::Waitcnt &Wait, const MachineInstr *MI);
715 void WaitcntBrackets::simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const { in simplifyWaitcnt()
735 AMDGPU::Waitcnt &Wait) const { in determineWait()
762 void WaitcntBrackets::applyWaitcnt(const AMDGPU::Waitcnt &Wait) { in applyWaitcnt()
812 AMDGPU::Waitcnt &Wait, in applyPreexistingWaitcnt()
828 AMDGPU::Waitcnt OldWait = AMDGPU::decodeWaitcnt(IV, IEnc); in applyPreexistingWaitcnt()
[all …]
H A DGCNHazardRecognizer.cpp1008 AMDGPU::Waitcnt Decoded = AMDGPU::decodeWaitcnt(IV, Imm); in fixSMEMtoVectorWriteHazards()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp6023 int64_t Waitcnt = getWaitcntBitMask(ISA); in parseSWaitCntOps() local
6028 if (!parseCnt(Waitcnt)) in parseSWaitCntOps()
6032 if (!parseExpr(Waitcnt)) in parseSWaitCntOps()
6036 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S)); in parseSWaitCntOps()