|
LLVM
4.0.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/TargetLowering.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.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) |
| 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 25 of file DbgValueHistoryCalculator.cpp.
|
static |
Definition at line 95 of file DbgValueHistoryCalculator.cpp.
References assert(), and llvm::is_contained().
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 105 of file DbgValueHistoryCalculator.cpp.
References llvm::DbgValueHistoryMap::endInstrRange().
Referenced by llvm::calculateDbgValueHistory(), and clobberRegisterUses().
|
static |
Definition at line 118 of file DbgValueHistoryCalculator.cpp.
References clobberRegisterUses(), and I.
|
static |
Definition at line 151 of file DbgValueHistoryCalculator.cpp.
References llvm::MachineInstr::FrameSetup, getFirstEpilogueInst(), llvm::MCRegAliasIterator::isValid(), llvm::TargetRegisterInfo::isVirtualRegister(), MBB, MI, llvm::BitVector::set(), and llvm::BitVector::setBitsNotInMask().
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 81 of file DbgValueHistoryCalculator.cpp.
References assert(), llvm::find(), and I.
Referenced by llvm::calculateDbgValueHistory().
|
static |
Definition at line 129 of file DbgValueHistoryCalculator.cpp.
References llvm::MachineBasicBlock::begin(), E, llvm::MachineBasicBlock::end(), llvm::MachineBasicBlock::getLastNonDebugInstr(), I, and llvm::MachineBasicBlock::rend().
Referenced by collectChangingRegs().
|
static |
Definition at line 30 of file DbgValueHistoryCalculator.cpp.
References assert(), 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