|
LLVM
3.7.0
|
Insert wait instructions for memory reads and writes. More...
#include "AMDGPU.h"#include "AMDGPUSubtarget.h"#include "SIDefines.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"Go to the source code of this file.
Enumerations | |
| enum | InstType |
Functions | |
| static void | increaseCounters (Counters &Dst, const Counters &Src) |
| helper function for handleOperands More... | |
Insert wait instructions for memory reads and writes.
Memory reads and writes are issued asynchronously, so we need to insert S_WAITCNT instructions when we want to access any of their results or overwrite any register that's used asynchronously.
Definition in file SIInsertWaits.cpp.
| enum InstType |
Definition at line 44 of file SIInsertWaits.cpp.
|
static |
helper function for handleOperands
Definition at line 377 of file SIInsertWaits.cpp.
1.8.6