LLVM 20.0.0git
Macros | Functions | Variables
PPCTargetTransformInfo.cpp File Reference
#include "PPCTargetTransformInfo.h"
#include "llvm/Analysis/CodeMetrics.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/CostTable.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSchedule.h"
#include "llvm/IR/IntrinsicsPowerPC.h"
#include "llvm/IR/ProfDataUtils.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Transforms/InstCombine/InstCombiner.h"
#include "llvm/Transforms/Utils/Local.h"
#include <optional>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppctti"
 

Functions

static bool isMMAType (Type *Ty)
 

Variables

static cl::opt< boolVecMaskCost ("ppc-vec-mask-cost", cl::desc("add masking cost for i1 vectors"), cl::init(true), cl::Hidden)
 
static cl::opt< boolDisablePPCConstHoist ("disable-ppc-constant-hoisting", cl::desc("disable constant hoisting on PPC"), cl::init(false), cl::Hidden)
 
static cl::opt< boolEnablePPCColdCC ("ppc-enable-coldcc", cl::Hidden, cl::init(false), cl::desc("Enable using coldcc calling conv for cold " "internal functions"))
 
static cl::opt< boolLsrNoInsnsCost ("ppc-lsr-no-insns-cost", cl::Hidden, cl::init(false), cl::desc("Do not add instruction count to lsr cost model"))
 
static cl::opt< unsignedSmallCTRLoopThreshold ("min-ctr-loop-threshold", cl::init(4), cl::Hidden, cl::desc("Loops with a constant trip count smaller than " "this value will not use the count register."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppctti"

Definition at line 27 of file PPCTargetTransformInfo.cpp.

Function Documentation

◆ isMMAType()

static bool isMMAType ( Type Ty)
static

Variable Documentation

◆ DisablePPCConstHoist

cl::opt< bool > DisablePPCConstHoist("disable-ppc-constant-hoisting", cl::desc("disable constant hoisting on PPC"), cl::init(false), cl::Hidden) ( "disable-ppc-constant-hoisting"  ,
cl::desc("disable constant hoisting on PPC")  ,
cl::init(false)  ,
cl::Hidden   
)
static

◆ EnablePPCColdCC

cl::opt< bool > EnablePPCColdCC("ppc-enable-coldcc", cl::Hidden, cl::init(false), cl::desc("Enable using coldcc calling conv for cold " "internal functions")) ( "ppc-enable-coldcc"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Enable using coldcc calling conv for cold " "internal functions")   
)
static

◆ LsrNoInsnsCost

cl::opt< bool > LsrNoInsnsCost("ppc-lsr-no-insns-cost", cl::Hidden, cl::init(false), cl::desc("Do not add instruction count to lsr cost model")) ( "ppc-lsr-no-insns-cost"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Do not add instruction count to lsr cost model")   
)
static

◆ SmallCTRLoopThreshold

cl::opt< unsigned > SmallCTRLoopThreshold("min-ctr-loop-threshold", cl::init(4), cl::Hidden, cl::desc("Loops with a constant trip count smaller than " "this value will not use the count register.")) ( "min-ctr-loop-threshold"  ,
cl::init(4)  ,
cl::Hidden  ,
cl::desc("Loops with a constant trip count smaller than " "this value will not use the count register.")   
)
static

◆ VecMaskCost

cl::opt< bool > VecMaskCost("ppc-vec-mask-cost", cl::desc("add masking cost for i1 vectors"), cl::init(true), cl::Hidden) ( "ppc-vec-mask-cost"  ,
cl::desc("add masking cost for i1 vectors")  ,
cl::init(true ,
cl::Hidden   
)
static