Build and insert G_PREFETCH Addr, RW, Locality, CacheType
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildPrefetch(
SrcOp const& Addr,
unsigned int RW,
unsigned int Locality,
unsigned int CacheType,
MachineMemOperand& MMO);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Addr | Address operand. |
| RW | Read/write hint for the prefetch. |
| Locality | Temporal locality hint for the prefetch. |
| CacheType | Cache level hint for the prefetch. |
| MMO | Memory operand describing the access. |