LLVM
8.0.1
|
#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <map>
#include <utility>
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, InlinedEntity Var) |
static void | addRegDescribedVar (RegDescribedVarsMap &RegVars, unsigned RegNo, InlinedEntity 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 32 of file DbgEntityHistoryCalculator.cpp.
|
static |
Definition at line 109 of file DbgEntityHistoryCalculator.cpp.
References assert(), and llvm::is_contained().
Referenced by llvm::calculateDbgEntityHistory().
|
static |
Definition at line 119 of file DbgEntityHistoryCalculator.cpp.
References llvm::DbgValueHistoryMap::endInstrRange().
Referenced by llvm::calculateDbgEntityHistory(), and clobberRegisterUses().
|
static |
Definition at line 132 of file DbgEntityHistoryCalculator.cpp.
References clobberRegisterUses(), and I.
|
static |
Definition at line 165 of file DbgEntityHistoryCalculator.cpp.
References llvm::MachineInstr::FrameSetup, getFirstEpilogueInst(), llvm::MCRegAliasIterator::isValid(), llvm::TargetRegisterInfo::isVirtualRegister(), MI, llvm::BitVector::set(), llvm::BitVector::setBitsNotInMask(), and TRI.
Referenced by llvm::calculateDbgEntityHistory().
|
static |
Definition at line 95 of file DbgEntityHistoryCalculator.cpp.
References assert(), llvm::find(), and I.
Referenced by llvm::calculateDbgEntityHistory().
|
static |
Definition at line 143 of file DbgEntityHistoryCalculator.cpp.
References llvm::MachineBasicBlock::begin(), E, llvm::MachineBasicBlock::end(), llvm::MachineBasicBlock::getLastNonDebugInstr(), I, and llvm::MachineBasicBlock::rend().
Referenced by collectChangingRegs().
|
static |
Definition at line 37 of file DbgEntityHistoryCalculator.cpp.
References assert(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineInstr::isDebugValue(), and llvm::MachineOperand::isReg().
Referenced by llvm::calculateDbgEntityHistory(), llvm::DbgValueHistoryMap::getRegisterForVar(), INITIALIZE_PASS(), and isDbgValueDescribedByReg().