LLVM  8.0.1
Macros | Functions | Variables
WarnMissedTransforms.cpp File Reference
#include "llvm/Transforms/Scalar/WarnMissedTransforms.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
Include dependency graph for WarnMissedTransforms.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "transform-warning"
 

Functions

static void warnAboutLeftoverTransformations (Loop *L, OptimizationRemarkEmitter *ORE)
 Emit warnings for forced (i.e. More...
 
static void warnAboutLeftoverTransformations (Function *F, LoopInfo *LI, OptimizationRemarkEmitter *ORE)
 
 INITIALIZE_PASS_BEGIN (WarnMissedTransformationsLegacy, "transform-warning", "Warn about non-applied transformations", false, false) INITIALIZE_PASS_END(WarnMissedTransformationsLegacy
 

Variables

transform warning
 
transform Warn about non applied transformations
 
transform Warn about non applied false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "transform-warning"

Definition at line 20 of file WarnMissedTransforms.cpp.

Referenced by warnAboutLeftoverTransformations().

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( WarnMissedTransformationsLegacy  ,
"transform-warning ,
"Warn about non-applied transformations ,
false  ,
false   
)

◆ warnAboutLeftoverTransformations() [1/2]

static void warnAboutLeftoverTransformations ( Loop L,
OptimizationRemarkEmitter ORE 
)
static

◆ warnAboutLeftoverTransformations() [2/2]

static void warnAboutLeftoverTransformations ( Function F,
LoopInfo LI,
OptimizationRemarkEmitter ORE 
)
static

Variable Documentation

◆ false

transform Warn about non applied false

Definition at line 144 of file WarnMissedTransforms.cpp.

◆ transformations

transform Warn about non applied transformations

Definition at line 144 of file WarnMissedTransforms.cpp.

◆ warning

transform warning

Definition at line 144 of file WarnMissedTransforms.cpp.

Referenced by llvm::WithColor::operator<<().