LLVM 20.0.0git
Namespaces | Macros | Variables
FunctionPropertiesAnalysis.cpp File Reference
#include "llvm/Analysis/FunctionPropertiesAnalysis.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/CommandLine.h"
#include <deque>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define COUNT_OPERAND(OPTYPE)
 
#define PRINT_PROPERTY(PROP_NAME)   OS << #PROP_NAME ": " << PROP_NAME << "\n";
 

Variables

cl::opt< boolllvm::EnableDetailedFunctionProperties ("enable-detailed-function-properties", cl::Hidden, cl::init(false), cl::desc("Whether or not to compute detailed function properties."))
 
cl::opt< unsignedllvm::BigBasicBlockInstructionThreshold ("big-basic-block-instruction-threshold", cl::Hidden, cl::init(500), cl::desc("The minimum number of instructions a basic block should contain " "before being considered big."))
 
cl::opt< unsignedllvm::MediumBasicBlockInstructionThreshold ("medium-basic-block-instruction-threshold", cl::Hidden, cl::init(15), cl::desc("The minimum number of instructions a basic block should contain " "before being considered medium-sized."))
 
static cl::opt< unsignedCallWithManyArgumentsThreshold ("call-with-many-arguments-threshold", cl::Hidden, cl::init(4), cl::desc("The minimum number of arguments a function call must have before " "it is considered having many arguments."))
 

Macro Definition Documentation

◆ COUNT_OPERAND

#define COUNT_OPERAND (   OPTYPE)
Value:
if (isa<OPTYPE>(Operand)) { \
OPTYPE##OperandCount += Direction; \
continue; \
}
Loop::LoopBounds::Direction Direction
Definition: LoopInfo.cpp:231

◆ PRINT_PROPERTY

#define PRINT_PROPERTY (   PROP_NAME)    OS << #PROP_NAME ": " << PROP_NAME << "\n";

Variable Documentation

◆ CallWithManyArgumentsThreshold

cl::opt< unsigned > CallWithManyArgumentsThreshold("call-with-many-arguments-threshold", cl::Hidden, cl::init(4), cl::desc("The minimum number of arguments a function call must have before " "it is considered having many arguments.")) ( "call-with-many-arguments-threshold"  ,
cl::Hidden  ,
cl::init(4)  ,
cl::desc("The minimum number of arguments a function call must have before " "it is considered having many arguments.")   
)
static