LLVM  12.0.0git
Macros | Functions | Variables
TargetTransformInfo.cpp File Reference
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/Analysis/LoopIterator.h"
#include "llvm/Analysis/TargetTransformInfoImpl.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include <utility>
Include dependency graph for TargetTransformInfo.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "tti"
 

Functions

static bool matchPairwiseShuffleMask (ShuffleVectorInst *SI, bool IsLeft, unsigned Level)
 
static Optional< TTI::ReductionDatagetReductionData (Instruction *I)
 
static TTI::ReductionKind matchPairwiseReductionAtLevel (Instruction *I, unsigned Level, unsigned NumLevels)
 
static std::pair< Value *, ShuffleVectorInst * > getShuffleAndOtherOprd (Value *L, Value *R)
 

Variables

static cl::opt< boolEnableReduxCost ("costmodel-reduxcost", cl::init(false), cl::Hidden, cl::desc("Recognize reduction patterns."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "tti"

Definition at line 30 of file TargetTransformInfo.cpp.

Function Documentation

◆ getReductionData()

static Optional<TTI::ReductionData> getReductionData ( Instruction I)
static

◆ getShuffleAndOtherOprd()

static std::pair<Value *, ShuffleVectorInst *> getShuffleAndOtherOprd ( Value L,
Value R 
)
static

◆ matchPairwiseReductionAtLevel()

static TTI::ReductionKind matchPairwiseReductionAtLevel ( Instruction I,
unsigned  Level,
unsigned  NumLevels 
)
static

◆ matchPairwiseShuffleMask()

static bool matchPairwiseShuffleMask ( ShuffleVectorInst SI,
bool  IsLeft,
unsigned  Level 
)
static

Variable Documentation

◆ EnableReduxCost

cl::opt<bool> EnableReduxCost("costmodel-reduxcost", cl::init(false), cl::Hidden, cl::desc("Recognize reduction patterns."))
static