LLVM 17.0.0git
Macros | Functions
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.


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


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

Macro Definition Documentation


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

Definition at line 35 of file BPFMIPeephole.cpp.

Function Documentation

◆ STATISTIC() [1/3]

STATISTIC ( RedundantMovElemNum  ,
"Number of redundant moves eliminated"   

◆ STATISTIC() [2/3]

STATISTIC ( TruncElemNum  ,
"Number of truncation eliminated"   

◆ STATISTIC() [3/3]

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