LLVM 22.0.0git
BPFMIPeephole.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "bpf-mi-zext-elim"

Functions

 STATISTIC (ZExtElemNum, "Number of zero extension shifts eliminated")
 STATISTIC (RedundantMovElemNum, "Number of redundant moves eliminated")

Variables

static cl::opt< int > GotolAbsLowBound ("gotol-abs-low-bound", cl::Hidden, cl::init(INT16_MAX > > 1), cl::desc("Specify gotol lower bound"))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "bpf-mi-zext-elim"

Definition at line 38 of file BPFMIPeephole.cpp.

Function Documentation

◆ STATISTIC() [1/2]

STATISTIC ( RedundantMovElemNum ,
"Number of redundant moves eliminated"  )

References TII, and TRI.

◆ STATISTIC() [2/2]

STATISTIC ( ZExtElemNum ,
"Number of zero extension shifts eliminated"  )

References MRI, and TII.

Variable Documentation

◆ GotolAbsLowBound

cl::opt< int > GotolAbsLowBound("gotol-abs-low-bound", cl::Hidden, cl::init(INT16_MAX > > 1), cl::desc("Specify gotol lower bound")) ( "gotol-abs-low-bound" ,
cl::Hidden ,
cl::init(INT16_MAX > > 1) ,
cl::desc("Specify gotol lower bound")  )
static