/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.h | 362 struct Waitcnt { struct 368 Waitcnt() {} in Waitcnt() argument 369 Waitcnt(unsigned VmCnt, unsigned ExpCnt, unsigned LgkmCnt, unsigned VsCnt) in Waitcnt() argument 372 static Waitcnt allZero(const IsaVersion &Version) { in allZero() argument 373 return Waitcnt(0, 0, 0, Version.Major >= 10 ? 0 : ~0u); in allZero() 375 static Waitcnt allZeroExceptVsCnt() { return Waitcnt(0, 0, 0, ~0u); } in allZeroExceptVsCnt() argument 381 bool dominates(const Waitcnt &Other) const { in dominates() argument 386 Waitcnt combined(const Waitcnt &Other) const { in combined() argument 387 return Waitcnt(std::min(VmCnt, Other.VmCnt), std::min(ExpCnt, Other.ExpCnt), in combined() 406 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt); [all …]
|
D | AMDGPUBaseInfo.cpp | 627 unsigned Waitcnt = VmcntLo | Expcnt | Lgkmcnt; in getWaitcntBitMask() local 629 return Waitcnt; in getWaitcntBitMask() 632 return Waitcnt | VmcntHi; in getWaitcntBitMask() 635 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeVmcnt() argument 637 unpackBits(Waitcnt, getVmcntBitShiftLo(), getVmcntBitWidthLo()); in decodeVmcnt() 642 unpackBits(Waitcnt, getVmcntBitShiftHi(), getVmcntBitWidthHi()); in decodeVmcnt() 647 unsigned decodeExpcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeExpcnt() argument 648 return unpackBits(Waitcnt, getExpcntBitShift(), getExpcntBitWidth()); in decodeExpcnt() 651 unsigned decodeLgkmcnt(const IsaVersion &Version, unsigned Waitcnt) { in decodeLgkmcnt() argument 652 return unpackBits(Waitcnt, getLgkmcntBitShift(), in decodeLgkmcnt() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaitcnts.cpp | 169 void addWait(AMDGPU::Waitcnt &Wait, InstCounterType T, unsigned Count) { in addWait() 274 bool simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const; 277 AMDGPU::Waitcnt &Wait) const; 278 void applyWaitcnt(const AMDGPU::Waitcnt &Wait); 721 bool WaitcntBrackets::simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const { in simplifyWaitcnt() 740 AMDGPU::Waitcnt &Wait) const { in determineWait() 767 void WaitcntBrackets::applyWaitcnt(const AMDGPU::Waitcnt &Wait) { in applyWaitcnt() 852 AMDGPU::Waitcnt Wait; in generateWaitcntInstBefore() 870 Wait = Wait.combined(AMDGPU::Waitcnt::allZero(IV)); in generateWaitcntInstBefore() 953 Wait = AMDGPU::Waitcnt(); in generateWaitcntInstBefore() [all …]
|
D | GCNHazardRecognizer.cpp | 1002 AMDGPU::Waitcnt Decoded = AMDGPU::decodeWaitcnt(IV, Imm); in fixSMEMtoVectorWriteHazards()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_opcodes.py | 49 Waitcnt = 18 variable in InstrClass 414 ( -1, -1, -1, -1, 0x17, "s_waitcnt_vscnt", InstrClass.Waitcnt), 415 ( -1, -1, -1, -1, 0x18, "s_waitcnt_vmcnt", InstrClass.Waitcnt), 416 ( -1, -1, -1, -1, 0x19, "s_waitcnt_expcnt", InstrClass.Waitcnt), 417 ( -1, -1, -1, -1, 0x1a, "s_waitcnt_lgkmcnt", InstrClass.Waitcnt), 546 (0x0c, 0x0c, 0x0c, 0x0c, 0x0c, "s_waitcnt", InstrClass.Waitcnt),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 4966 int64_t Waitcnt = getWaitcntBitMask(ISA); in parseSWaitCntOps() local 4972 while (parseCnt(Waitcnt) && !isToken(AsmToken::EndOfStatement)); in parseSWaitCntOps() 4974 parseExpr(Waitcnt); in parseSWaitCntOps() 4977 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S)); in parseSWaitCntOps()
|