Emit optimization remarks for instructions that copy, move, or initialize memory.
Declared in <llvm/Transforms/Utils/MemoryOpRemark.h>
struct MemoryOpRemark;
| Name | Description |
|---|---|
MemoryOpRemark [constructor] | Construct a remark helper bound to the given emitter and analyses. |
~MemoryOpRemark [destructor] [virtual] | Destroy the remark helper. |
visit | Emit a remark describing the memory operation performed by I. |
| Name | Description |
|---|---|
canHandle | Return true if I is a memory operation this helper can remark on. |
| Name | Description |
|---|---|
DL | Data layout used to compute store and operand sizes. |
ORE | Emitter used to report memory-operation remarks. |
RemarkPass | Pass name attached to emitted remarks. |
TLI | Target library info used to recognize known memory libcalls. |
| Name | Description |
|---|---|
RemarkKind | Classification of the memory operation being remarked on. |
| Name | Description |
|---|---|
diagnosticKind [virtual] | Return the diagnostic category used when constructing remarks. |
explainSource [virtual] | Return a short explanation string for a memory operation of kind Type. |
remarkName [virtual] | Return the stable remark identifier for kind RK. |
| Name | Description |
|---|---|
AutoInitRemark | Special case for -ftrivial-auto-var-init remarks. |