LLVM: lib/Target/CSKY/CSKYConstantIslandPass.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "CSKY-constant-islands" |
| Functions | |
|---|---|
| STATISTIC (NumCPEs, "Number of constpool entries") | |
| STATISTIC (NumSplit, "Number of uncond branches inserted") | |
| STATISTIC (NumCBrFixed, "Number of cond branches fixed") | |
| STATISTIC (NumUBrFixed, "Number of uncond branches fixed") | |
| static bool | bbHasFallthrough (MachineBasicBlock *MBB) |
| BBHasFallthrough - Return true if the specified basic block can fallthrough into the block immediately after it. | |
| static bool | compareMbbNumbers (const MachineBasicBlock *LHS, const MachineBasicBlock *RHS) |
| CompareMBBNumbers - Little predicate function to sort the WaterList by MBB ID. | |
| static bool | bbIsJumpedOver (MachineBasicBlock *MBB) |
| BBIsJumpedOver - Return true of the specified basic block's only predecessor unconditionally branches to its only successor. | |
| static unsigned | getUnconditionalBrDisp (int Opc) |
| getUnconditionalBrDisp - Returns the maximum displacement that can fit in the specific unconditional branch instruction. |
◆ DEBUG_TYPE
#define DEBUG_TYPE "CSKY-constant-islands"
◆ bbHasFallthrough()
BBHasFallthrough - Return true if the specified basic block can fallthrough into the block immediately after it.
Definition at line 425 of file CSKYConstantIslandPass.cpp.
References E(), I, MBB, and MBBI.
◆ bbIsJumpedOver()
◆ compareMbbNumbers()
◆ getUnconditionalBrDisp()
| unsigned getUnconditionalBrDisp ( int Opc) | inlinestatic |
|---|
◆ STATISTIC() [1/4]
| STATISTIC | ( | NumCBrFixed | , |
|---|---|---|---|
| "Number of cond branches fixed" | ) |
◆ STATISTIC() [2/4]
| STATISTIC | ( | NumCPEs | , |
|---|---|---|---|
| "Number of constpool entries" | ) |
◆ STATISTIC() [3/4]
| STATISTIC | ( | NumSplit | , |
|---|---|---|---|
| "Number of uncond branches inserted" | ) |
◆ STATISTIC() [4/4]
| STATISTIC | ( | NumUBrFixed | , |
|---|---|---|---|
| "Number of uncond branches fixed" | ) |