LLVM 22.0.0git
PPCTargetTransformInfo.cpp File Reference

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 25 of file PPCTargetTransformInfo.cpp.

Function Documentation

◆ isMMAType()

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