|
LLVM
3.7.0
|
#include "DbgValueHistoryCalculator.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/SmallVector.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/IR/DebugInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetRegisterInfo.h"#include <algorithm>#include <map>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "dwarfdebug" |
Functions | |
| static unsigned | isDescribedByReg (const MachineInstr &MI) |
| static void | dropRegDescribedVar (RegDescribedVarsMap &RegVars, unsigned RegNo, InlinedVariable Var) |
| static void | addRegDescribedVar (RegDescribedVarsMap &RegVars, unsigned RegNo, InlinedVariable Var) |
| static void | clobberRegisterUses (RegDescribedVarsMap &RegVars, RegDescribedVarsMap::iterator I, DbgValueHistoryMap &HistMap, const MachineInstr &ClobberingInstr) |
| static void | clobberRegisterUses (RegDescribedVarsMap &RegVars, unsigned RegNo, DbgValueHistoryMap &HistMap, const MachineInstr &ClobberingInstr) |
| template<typename Callable > | |
| static void | applyToClobberedRegisters (const MachineInstr &MI, const TargetRegisterInfo *TRI, Callable Func) |
| static const MachineInstr * | getFirstEpilogueInst (const MachineBasicBlock &MBB) |
| static void | collectChangingRegs (const MachineFunction *MF, const TargetRegisterInfo *TRI, BitVector &Regs) |
| #define DEBUG_TYPE "dwarfdebug" |
Definition at line 23 of file DbgValueHistoryCalculator.cpp.
|
static |
Definition at line 93 of file DbgValueHistoryCalculator.cpp.
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 134 of file DbgValueHistoryCalculator.cpp.
References llvm::MCRegAliasIterator::isValid(), and llvm::MachineInstr::operands().
Referenced by llvm::calculateDbgValueHistory(), and collectChangingRegs().
|
static |
Definition at line 103 of file DbgValueHistoryCalculator.cpp.
References llvm::DbgValueHistoryMap::endInstrRange().
Referenced by llvm::calculateDbgValueHistory(), and clobberRegisterUses().
|
static |
Definition at line 116 of file DbgValueHistoryCalculator.cpp.
References clobberRegisterUses(), and I.
|
static |
Definition at line 169 of file DbgValueHistoryCalculator.cpp.
References applyToClobberedRegisters(), llvm::MachineInstr::FrameSetup, getFirstEpilogueInst(), llvm::AArch64CC::MI, and llvm::BitVector::set().
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 79 of file DbgValueHistoryCalculator.cpp.
References I.
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 147 of file DbgValueHistoryCalculator.cpp.
References llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), llvm::MachineBasicBlock::getLastNonDebugInstr(), I, and llvm::MachineBasicBlock::rend().
Referenced by collectChangingRegs().
|
static |
Definition at line 28 of file DbgValueHistoryCalculator.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineInstr::isDebugValue(), and llvm::MachineOperand::isReg().
Referenced by llvm::calculateDbgValueHistory(), and llvm::DbgValueHistoryMap::getRegisterForVar().
1.8.6