LLVM  14.0.0git
Macros | Variables
SIPreEmitPeephole.cpp File Reference
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
Include dependency graph for SIPreEmitPeephole.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "si-pre-emit-peephole"
 

Variables

static unsigned SkipThreshold
 
static cl::opt< unsigned, trueSkipThresholdFlag ("amdgpu-skip-threshold", cl::Hidden, cl::desc("Number of instructions before jumping over divergent control flow"), cl::location(SkipThreshold), cl::init(12))
 

Detailed Description

This pass performs the peephole optimizations before code emission.

Definition in file SIPreEmitPeephole.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-pre-emit-peephole"

Definition at line 21 of file SIPreEmitPeephole.cpp.

Variable Documentation

◆ SkipThreshold

unsigned SkipThreshold
static

Definition at line 23 of file SIPreEmitPeephole.cpp.

◆ SkipThresholdFlag

cl::opt<unsigned, true> SkipThresholdFlag("amdgpu-skip-threshold", cl::Hidden, cl::desc( "Number of instructions before jumping over divergent control flow"), cl::location(SkipThreshold), cl::init(12))
static