LLVM
15.0.0git
|
#include "llvm/Transforms/Scalar/AnnotationRemarks.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/MemoryOpRemark.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "annotation-remarks" |
#define | REMARK_PASS DEBUG_TYPE |
Functions | |
static void | tryEmitAutoInitRemark (ArrayRef< Instruction * > Instructions, OptimizationRemarkEmitter &ORE, const TargetLibraryInfo &TLI) |
static void | runImpl (Function &F, const TargetLibraryInfo &TLI) |
INITIALIZE_PASS_BEGIN (AnnotationRemarksLegacy, "annotation-remarks", "Annotation Remarks", false, false) INITIALIZE_PASS_END(AnnotationRemarksLegacy | |
Variables | |
annotation | remarks |
annotation Annotation | Remarks |
annotation Annotation | false |
#define DEBUG_TYPE "annotation-remarks" |
Definition at line 27 of file AnnotationRemarks.cpp.
#define REMARK_PASS DEBUG_TYPE |
Definition at line 28 of file AnnotationRemarks.cpp.
INITIALIZE_PASS_BEGIN | ( | AnnotationRemarksLegacy | , |
"annotation-remarks" | , | ||
"Annotation Remarks" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 45 of file AnnotationRemarks.cpp.
References llvm::OptimizationRemarkEmitter::allowExtraAnalysis(), llvm::OptimizationRemarkEmitter::emit(), F, I, llvm::MapVector< KeyT, ValueT, MapType, VectorType >::insert(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, DenseMapInfo< KeyT >, llvm::detail::DenseMapPair< KeyT, ValueT > >, KeyT, ValueT, DenseMapInfo< KeyT >, llvm::detail::DenseMapPair< KeyT, ValueT > >::insert(), llvm::instructions(), REMARK_PASS, and tryEmitAutoInitRemark().
Referenced by llvm::AnnotationRemarksPass::run().
|
static |
Definition at line 30 of file AnnotationRemarks.cpp.
References llvm::AutoInitRemark::canHandle(), DL, F, I, Instructions, llvm::Remark, and REMARK_PASS.
Referenced by runImpl().
annotation Annotation false |
Definition at line 115 of file AnnotationRemarks.cpp.
annotation remarks |
Definition at line 114 of file AnnotationRemarks.cpp.
annotation Annotation Remarks |
Definition at line 115 of file AnnotationRemarks.cpp.
Referenced by llvm::remarks::RemarkLinker::empty(), and llvm::remarks::RemarkLinker::remarks().