mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-30 20:34:21 +00:00
remove a bunch of unneeded functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
099b779a02
commit
bf0ca2b477
@ -688,26 +688,6 @@ namespace llvm {
|
||||
std::string &Type, unsigned &LineNo, std::string &File,
|
||||
std::string &Dir);
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if SPI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool isValidDebugInfoIntrinsic(DbgStopPointInst &SPI, unsigned OptLev);
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if FSI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool isValidDebugInfoIntrinsic(DbgFuncStartInst &FSI, unsigned OptLev);
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if RSI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool isValidDebugInfoIntrinsic(DbgRegionStartInst &RSI, unsigned OptLev);
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if REI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool isValidDebugInfoIntrinsic(DbgRegionEndInst &REI, unsigned OptLev);
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if DI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool isValidDebugInfoIntrinsic(DbgDeclareInst &DI, unsigned OptLev);
|
||||
|
||||
/// ExtractDebugLocation - Extract debug location information
|
||||
/// from llvm.dbg.stoppoint intrinsic.
|
||||
DebugLoc ExtractDebugLocation(DbgStopPointInst &SPI,
|
||||
@ -730,7 +710,6 @@ namespace llvm {
|
||||
DICompositeType getDICompositeType(DIType T);
|
||||
|
||||
class DebugInfoFinder {
|
||||
|
||||
public:
|
||||
/// processModule - Process entire module and collect debug info
|
||||
/// anchors.
|
||||
|
@ -1366,36 +1366,6 @@ bool llvm::getLocationInfo(const Value *V, std::string &DisplayName,
|
||||
return true;
|
||||
}
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if SPI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool llvm::isValidDebugInfoIntrinsic(DbgStopPointInst &SPI, unsigned OptLev) {
|
||||
return DIDescriptor::ValidDebugInfo(SPI.getContext(), OptLev);
|
||||
}
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if FSI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool llvm::isValidDebugInfoIntrinsic(DbgFuncStartInst &FSI, unsigned OptLev) {
|
||||
return DIDescriptor::ValidDebugInfo(FSI.getSubprogram(), OptLev);
|
||||
}
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if RSI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool llvm::isValidDebugInfoIntrinsic(DbgRegionStartInst &RSI, unsigned OptLev) {
|
||||
return DIDescriptor::ValidDebugInfo(RSI.getContext(), OptLev);
|
||||
}
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if REI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool llvm::isValidDebugInfoIntrinsic(DbgRegionEndInst &REI, unsigned OptLev) {
|
||||
return DIDescriptor::ValidDebugInfo(REI.getContext(), OptLev);
|
||||
}
|
||||
|
||||
/// isValidDebugInfoIntrinsic - Return true if DI is a valid debug
|
||||
/// info intrinsic.
|
||||
bool llvm::isValidDebugInfoIntrinsic(DbgDeclareInst &DI, unsigned OptLev) {
|
||||
return DIDescriptor::ValidDebugInfo(DI.getVariable(), OptLev);
|
||||
}
|
||||
|
||||
/// ExtractDebugLocation - Extract debug location information
|
||||
/// from llvm.dbg.stoppoint intrinsic.
|
||||
DebugLoc llvm::ExtractDebugLocation(DbgStopPointInst &SPI,
|
||||
|
@ -333,7 +333,7 @@ bool FastISel::SelectCall(User *I) {
|
||||
return true;
|
||||
case Intrinsic::dbg_declare: {
|
||||
DbgDeclareInst *DI = cast<DbgDeclareInst>(I);
|
||||
if (!isValidDebugInfoIntrinsic(*DI, CodeGenOpt::None) || !DW
|
||||
if (!DIDescriptor::ValidDebugInfo(DI->getVariable(), CodeGenOpt::None)||!DW
|
||||
|| !DW->ShouldEmitDwarfDebug())
|
||||
return true;
|
||||
|
||||
|
@ -4361,7 +4361,7 @@ SelectionDAGBuilder::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
||||
if (!DW)
|
||||
return 0;
|
||||
DbgDeclareInst &DI = cast<DbgDeclareInst>(I);
|
||||
if (!isValidDebugInfoIntrinsic(DI, CodeGenOpt::None))
|
||||
if (!DIDescriptor::ValidDebugInfo(DI.getVariable(), CodeGenOpt::None))
|
||||
return 0;
|
||||
|
||||
MDNode *Variable = DI.getVariable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user