LLVM: lib/CodeGen/ExpandVectorPredication.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define VPINTERNAL_VPLEGAL_CASES
#define VPINTERNAL_CASE(X)
#define VPINTERNAL_CASE(X)
#define DEBUG_TYPE "expandvp"
Functions
static VPTransform parseOverrideOption (const std::string &TextOpt)
static bool anyExpandVPOverridesSet ()
STATISTIC (NumFoldedVL, "Number of folded vector length params")
STATISTIC (NumLoweredVPOps, "Number of folded vector predication operations")
static bool isAllTrueMask (Value *MaskVal)
static Constant * getSafeDivisor (Type *DivTy)
static void transferDecorations (Value &NewVal, VPIntrinsic &VPI)
Transfer operation properties from OldVPI to NewVal.
static void replaceOperation (Value &NewOp, VPIntrinsic &OldOp)
Transfer all properties from OldOp to NewOp and replace all uses.
static bool maySpeculateLanes (VPIntrinsic &VPI)

DEBUG_TYPE

#define DEBUG_TYPE "expandvp"

VPINTERNAL_CASE [1/2]

#define VPINTERNAL_CASE ( X )

Value:

"|" #X

static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")

Definition at line 42 of file ExpandVectorPredication.cpp.

VPINTERNAL_CASE [2/2]

#define VPINTERNAL_CASE ( X )

VPINTERNAL_VPLEGAL_CASES

#define VPINTERNAL_VPLEGAL_CASES

VPLegalization

VPTransform

anyExpandVPOverridesSet()

bool anyExpandVPOverridesSet ( ) static

getSafeDivisor()

isAllTrueMask()

maySpeculateLanes()

parseOverrideOption()

replaceOperation()

STATISTIC() [1/2]

STATISTIC ( NumFoldedVL ,
"Number of folded vector length params" )

STATISTIC() [2/2]

STATISTIC ( NumLoweredVPOps ,
"Number of folded vector predication operations" )

transferDecorations()

EVLTransformOverride

cl::opt< std::string > EVLTransformOverride("expandvp-override-evl-transform", cl::init(""), cl::Hidden, cl::desc("Options: " VPINTERNAL_VPLEGAL_CASES ". If non-empty, ignore " "TargetTransformInfo and " "always use this transformation for the %evl parameter (Used in " "testing).")) ( "expandvp-override-evl-transform" , cl::init("") , cl::Hidden , cl::desc("Options: " VPINTERNAL_VPLEGAL_CASES ". If non-empty, ignore " "TargetTransformInfo and " "always use this transformation for the %evl parameter (Used in " "testing).") ) static

MaskTransformOverride