LLVM API Documentation
#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/Passes.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetLowering.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include "llvm/ADT/Statistic.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "code-placement" |
Functions | |
| STATISTIC (NumHeaderAligned,"Number of loop header aligned") | |
| STATISTIC (NumIntraElim,"Number of intra loop branches eliminated") | |
| STATISTIC (NumIntraMoved,"Number of intra loop branches moved") | |
| FunctionPass * | llvm::createCodePlacementOptPass () |
| #define DEBUG_TYPE "code-placement" |
Definition at line 15 of file CodePlacementOpt.cpp.
| STATISTIC | ( | NumIntraMoved | , | |
| "Number of intra loop branches moved" | ||||
| ) |
| STATISTIC | ( | NumIntraElim | , | |
| "Number of intra loop branches eliminated" | ||||
| ) |
| STATISTIC | ( | NumHeaderAligned | , | |
| "Number of loop header aligned" | ||||
| ) |
ChangedMBBs - BBs which are modified by OptimizeIntraLoopEdges.
Definition at line 38 of file CodePlacementOpt.cpp.
char ID [static] |
Definition at line 49 of file CodePlacementOpt.cpp.
LoopHeaders - A list of BBs which are loop headers.
Definition at line 46 of file CodePlacementOpt.cpp.
| const MachineLoopInfo* MLI |
Definition at line 33 of file CodePlacementOpt.cpp.
| const TargetInstrInfo* TII |
Definition at line 34 of file CodePlacementOpt.cpp.
| const TargetLowering* TLI |
Definition at line 35 of file CodePlacementOpt.cpp.
Referenced by llvm::RegsForValue::append(), combineSelectAndUse(), llvm::createDefaultScheduler(), llvm::SDNode::getOperationName(), isSchedulingBoundary(), PerformBTCombine(), PerformExtendCombine(), llvm::RegsForValue::RegsForValue(), and llvm::TargetLowering::TargetLoweringOpt::ShrinkDemandedOp().
| SmallVector<std::pair<MachineBasicBlock*,MachineBasicBlock*>, 4> UncondJmpMBBs |
UncondJmpMBBs - A list of BBs which are in loops and end with unconditional branches.
Definition at line 43 of file CodePlacementOpt.cpp.