LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/WarnMissedTransforms.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
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. | |
static void | warnAboutLeftoverTransformations (Function *F, LoopInfo *LI, OptimizationRemarkEmitter *ORE) |
#define DEBUG_TYPE "transform-warning" |
Definition at line 20 of file WarnMissedTransforms.cpp.
|
static |
Definition at line 85 of file WarnMissedTransforms.cpp.
References llvm::LoopInfoBase< BlockT, LoopT >::getLoopsInPreorder(), and warnAboutLeftoverTransformations().
|
static |
Emit warnings for forced (i.e.
user-defined) loop transformations which have still not been performed.
Definition at line 24 of file WarnMissedTransforms.cpp.
References llvm::dbgs(), DEBUG_TYPE, llvm::OptimizationRemarkEmitter::emit(), llvm::getOptionalElementCountLoopAttribute(), llvm::getOptionalIntLoopAttribute(), llvm::hasDistributeTransformation(), llvm::hasUnrollAndJamTransformation(), llvm::hasUnrollTransformation(), llvm::hasVectorizeTransformation(), LLVM_DEBUG, and llvm::TM_ForcedByUser.
Referenced by llvm::WarnMissedTransformationsPass::run(), and warnAboutLeftoverTransformations().