LLVM 20.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/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) |
#define DEBUG_TYPE "annotation-remarks" |
Definition at line 24 of file AnnotationRemarks.cpp.
#define REMARK_PASS DEBUG_TYPE |
Definition at line 25 of file AnnotationRemarks.cpp.
|
static |
Definition at line 42 of file AnnotationRemarks.cpp.
References llvm::OptimizationRemarkEmitter::allowExtraAnalysis(), llvm::OptimizationRemarkEmitter::emit(), F, I, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::insert(), instructions, REMARK_PASS, and tryEmitAutoInitRemark().
|
static |
Definition at line 27 of file AnnotationRemarks.cpp.
References llvm::AutoInitRemark::canHandle(), DL, F, I, llvm::Remark, and REMARK_PASS.
Referenced by runImpl().