LLVM 20.0.0git
Macros | Variables
LoopRotation.cpp File Reference
#include "llvm/Transforms/Scalar/LoopRotation.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LazyBlockFrequencyInfo.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/MemorySSA.h"
#include "llvm/Analysis/MemorySSAUpdater.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/LoopRotationUtils.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
#include <optional>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loop-rotate"
 

Variables

static cl::opt< unsignedDefaultRotationThreshold ("rotation-max-header-size", cl::init(16), cl::Hidden, cl::desc("The default maximum header size for automatic loop rotation"))
 
static cl::opt< boolPrepareForLTOOption ("rotation-prepare-for-lto", cl::init(false), cl::Hidden, cl::desc("Run loop-rotation in the prepare-for-lto stage. This option " "should be used for testing only."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loop-rotate"

Definition at line 31 of file LoopRotation.cpp.

Variable Documentation

◆ DefaultRotationThreshold

cl::opt< unsigned > DefaultRotationThreshold("rotation-max-header-size", cl::init(16), cl::Hidden, cl::desc("The default maximum header size for automatic loop rotation")) ( "rotation-max-header-size"  ,
cl::init(16)  ,
cl::Hidden  ,
cl::desc("The default maximum header size for automatic loop rotation")   
)
static

◆ PrepareForLTOOption

cl::opt< bool > PrepareForLTOOption("rotation-prepare-for-lto", cl::init(false), cl::Hidden, cl::desc("Run loop-rotation in the prepare-for-lto stage. This option " "should be used for testing only.")) ( "rotation-prepare-for-lto"  ,
cl::init(false)  ,
cl::Hidden  ,
cl::desc("Run loop-rotation in the prepare-for-lto stage. This option " "should be used for testing only.")   
)
static