LLVM
8.0.1
|
Optimize LiveIntervals for use in a post-RA context. More...
#include "WebAssembly.h"
#include "WebAssemblySubtarget.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "wasm-optimize-live-intervals" |
Functions | |
INITIALIZE_PASS (WebAssemblyOptimizeLiveIntervals, DEBUG_TYPE, "Optimize LiveIntervals for WebAssembly", false, false) FunctionPass *llvm | |
Optimize LiveIntervals for use in a post-RA context.
Definition in file WebAssemblyOptimizeLiveIntervals.cpp.
#define DEBUG_TYPE "wasm-optimize-live-intervals" |
Definition at line 33 of file WebAssemblyOptimizeLiveIntervals.cpp.
INITIALIZE_PASS | ( | WebAssemblyOptimizeLiveIntervals | , |
DEBUG_TYPE | , | ||
"Optimize LiveIntervals for WebAssembly" | , | ||
false | , | ||
false | |||
) |
Definition at line 61 of file WebAssemblyOptimizeLiveIntervals.cpp.
References assert(), llvm::MachineFunction::begin(), llvm::dbgs(), llvm::MachineInstr::eraseFromParent(), llvm::LiveIntervals::getInstructionIndex(), llvm::LiveIntervals::getInterval(), llvm::MachineFunction::getName(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineFunction::getRegInfo(), llvm::SlotIndex::getRegSlot(), llvm::TargetRegisterInfo::index2VirtReg(), llvm::MachineOperand::isDead(), llvm::MachineInstr::isImplicitDef(), LLVM_DEBUG, MI, MRI, Reg, llvm::LiveIntervals::RemoveMachineInstrFromMaps(), llvm::LiveIntervals::removeVRegDefAt(), and llvm::LiveIntervals::splitSeparateComponents().