LLVM 20.0.0git
Macros | Functions
AArch64CompressJumpTables.cpp File Reference
#include "AArch64.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64Subtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-jump-tables"
 

Functions

 STATISTIC (NumJT8, "Number of jump-tables with 1-byte entries")
 
 STATISTIC (NumJT16, "Number of jump-tables with 2-byte entries")
 
 STATISTIC (NumJT32, "Number of jump-tables with 4-byte entries")
 
 INITIALIZE_PASS (AArch64CompressJumpTables, DEBUG_TYPE, "AArch64 compress jump tables pass", false, false) std
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-jump-tables"

Definition at line 28 of file AArch64CompressJumpTables.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AArch64CompressJumpTables  ,
DEBUG_TYPE  ,
"AArch64 compress jump tables pass"  ,
false  ,
false   
)

Definition at line 69 of file AArch64CompressJumpTables.cpp.

References MBB, MI, Size, and TII.

◆ STATISTIC() [1/3]

STATISTIC ( NumJT16  ,
"Number of jump-tables with 2-byte entries"   
)

◆ STATISTIC() [2/3]

STATISTIC ( NumJT32  ,
"Number of jump-tables with 4-byte entries"   
)

◆ STATISTIC() [3/3]

STATISTIC ( NumJT8  ,
"Number of jump-tables with 1-byte entries"   
)