HomeSort by: relevance | last modified time | path
    Searched refs:Waitcnt (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/
AMDGPUBaseInfo.h 469 struct Waitcnt {
475 Waitcnt() {}
476 Waitcnt(unsigned VmCnt, unsigned ExpCnt, unsigned LgkmCnt, unsigned VsCnt)
479 static Waitcnt allZero(bool HasVscnt) {
480 return Waitcnt(0, 0, 0, HasVscnt ? 0 : ~0u);
482 static Waitcnt allZeroExceptVsCnt() { return Waitcnt(0, 0, 0, ~0u); }
496 bool dominates(const Waitcnt &Other) const {
501 Waitcnt combined(const Waitcnt &Other) const
    [all...]
AMDGPUBaseInfo.cpp 914 unsigned Waitcnt = VmcntLo | Expcnt | Lgkmcnt;
916 return Waitcnt;
919 return Waitcnt | VmcntHi;
922 unsigned decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt) {
924 unpackBits(Waitcnt, getVmcntBitShiftLo(), getVmcntBitWidthLo());
929 unpackBits(Waitcnt, getVmcntBitShiftHi(), getVmcntBitWidthHi());
934 unsigned decodeExpcnt(const IsaVersion &Version, unsigned Waitcnt) {
935 return unpackBits(Waitcnt, getExpcntBitShift(), getExpcntBitWidth());
938 unsigned decodeLgkmcnt(const IsaVersion &Version, unsigned Waitcnt) {
939 return unpackBits(Waitcnt, getLgkmcntBitShift()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIInsertWaitcnts.cpp 49 "amdgpu-waitcnt-forcezero",
50 cl::desc("Force all waitcnt instrs to be emitted as s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)"),
165 void addWait(AMDGPU::Waitcnt &Wait, InstCounterType T, unsigned Count) {
188 // waitcnt in order to know if there are multiple types of events within
249 void simplifyWaitcnt(AMDGPU::Waitcnt &Wait) const;
252 AMDGPU::Waitcnt &Wait) const;
253 void applyWaitcnt(const AMDGPU::Waitcnt &Wait);
378 // because of amdgpu-waitcnt-forcezero flag
448 AMDGPU::Waitcnt &Wait, const MachineInstr *MI);
462 // A use via a PW operand does not need a waitcnt
    [all...]
GCNHazardRecognizer.cpp 1008 AMDGPU::Waitcnt Decoded = AMDGPU::decodeWaitcnt(IV, Imm);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
AMDGPUAsmParser.cpp 6023 int64_t Waitcnt = getWaitcntBitMask(ISA);
6028 if (!parseCnt(Waitcnt))
6032 if (!parseExpr(Waitcnt))
6036 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S));

Completed in 28 milliseconds