Go to the documentation of this file.
14 #ifndef LLVM_TRANSFORMS_UTILS_MEMORYOPREMARK_H
15 #define LLVM_TRANSFORMS_UTILS_MEMORYOPREMARK_H
25 class DiagnosticInfoIROptimization;
29 class OptimizationRemarkEmitter;
60 template<
typename ...Ts>
61 std::unique_ptr<DiagnosticInfoIROptimization> makeRemark(Ts...
Args);
74 template <
typename FTy>
86 bool isEmpty()
const {
return !
Name && !Size; }
91 void visitPtr(
Value *V,
bool IsSrc, DiagnosticInfoIROptimization &R);
92 void visitVariable(
const Value *V, SmallVectorImpl<VariableInfo> &Result);
This is an optimization pass for GlobalISel generic memory operations.
A parsed version of the target data layout string in and methods for querying it.
The instances of the Type class are immutable: once they are created, they are never changed.
Common features for diagnostics dealing with optimization remarks that are used by IR passes.
DiagnosticKind
Defines the different supported kind of a diagnostic.
@ DK_OptimizationRemarkAnalysis
@ DK_OptimizationRemarkMissed
An instruction for storing to memory.
StandardInstrumentations SI(Debug, VerifyEach)
StringRef - Represent a constant reference to a string, i.e.
Provides information about what library functions are available for the current target.
A wrapper class for inspecting calls to intrinsic functions.
This class represents a function call, abstracting a target machine's calling convention.
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
LLVM Value Representation.