LLVM 20.0.0git
Macros | Functions | Variables
BPFMIPeephole.cpp File Reference
#include "BPF.h"
#include "BPFInstrInfo.h"
#include "BPFTargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/Debug.h"
#include <set>

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 35 of file BPFMIPeephole.cpp.

Function Documentation

◆ STATISTIC() [1/2]

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

◆ STATISTIC() [2/2]

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

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