|
LLVM 22.0.0git
|
#include "SystemZ.h"#include "SystemZInstrInfo.h"#include "SystemZTargetMachine.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/StringRef.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/IR/DebugLoc.h"#include "llvm/Support/ErrorHandling.h"#include <cassert>#include <cstdint>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "systemz-long-branch" |
Functions | |
| STATISTIC (LongBranches, "Number of long branches.") | |
| INITIALIZE_PASS (SystemZLongBranch, DEBUG_TYPE, "SystemZ Long Branch", false, false) void SystemZLongBranch | |
| static unsigned | getInstSizeInBytes (const MachineInstr &MI, const SystemZInstrInfo *TII) |
| #define DEBUG_TYPE "systemz-long-branch" |
Definition at line 73 of file SystemZLongBranch.cpp.
|
static |
Definition at line 211 of file SystemZLongBranch.cpp.
References assert(), MI, Size, and TII.
Referenced by llvm::TargetInstrInfo::predictBranchSizeForIfCvt().
| INITIALIZE_PASS | ( | SystemZLongBranch | , |
| DEBUG_TYPE | , | ||
| "SystemZ Long Branch" | , | ||
| false | , | ||
| false | ) |
Definition at line 173 of file SystemZLongBranch.cpp.
References llvm::alignTo(), llvm::Block, DEBUG_TYPE, and llvm::Log2().
| STATISTIC | ( | LongBranches | , |
| "Number of long branches." | ) |
References Size.