LLVM API Documentation

Debug.h File Reference

#include "llvm/Support/Streams.h"

Include dependency graph for Debug.h:

Go to the source code of this file.

Namespaces

namespace  llvm

Defines

#define DEBUG_WITH_TYPE(TYPE, X)   do { if (DebugFlag && isCurrentDebugType(TYPE)) { X; } } while (0)
#define DEBUG_TYPE   ""
#define DEBUG(X)   DEBUG_WITH_TYPE(DEBUG_TYPE, X)
#define DOUT   llvm::getErrorOutputStream(DEBUG_TYPE)

Functions

bool llvm::isCurrentDebugType (const char *Type)
OStream & llvm::getNullOutputStream ()
OStream & llvm::getErrorOutputStream (const char *DebugType)

Variables

bool llvm::DebugFlag


Define Documentation

#define DEBUG ( X   )     DEBUG_WITH_TYPE(DEBUG_TYPE, X)

#define DEBUG_TYPE   ""

Definition at line 71 of file Debug.h.

Referenced by LowerSTORE(), and llvm::SPUTargetLowering::PerformDAGCombine().

#define DEBUG_WITH_TYPE ( TYPE,
X   )     do { if (DebugFlag && isCurrentDebugType(TYPE)) { X; } } while (0)

Definition at line 58 of file Debug.h.

#define DOUT   llvm::getErrorOutputStream(DEBUG_TYPE)

Definition at line 90 of file Debug.h.

Referenced by llvm::LiveIntervals::addIntervalsForSpills(), llvm::LiveIntervals::addIntervalsForSpillsFast(), AddReachableCodeToWorklist(), llvm::IVUsers::AddUsersIfInteresting(), llvm::SPUHazardRecognizer::AdvanceCycle(), BreakUpSubtract(), CreateArgv(), llvm::Constant::destroyConstantImpl(), llvm::ValueMap< std::vector< llvm::Constant * >, llvm::StructType, llvm::ConstantStruct, true >::dump(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::MipsRegisterInfo::eliminateFrameIndex(), llvm::AlphaRegisterInfo::eliminateFrameIndex(), EmitBranchToAt(), llvm::AlphaJITInfo::emitFunctionStub(), llvm::Interpreter::executeGEPOperation(), FoldBlockIntoPredecessor(), llvm::FoldBranchToCommonDest(), llvm::PointerType::get(), llvm::StructType::get(), llvm::VectorType::get(), llvm::ArrayType::get(), llvm::FunctionType::get(), llvm::IntegerType::get(), llvm::SPUHazardRecognizer::getHazardType(), llvm::ExecutionEngine::InitializeMemory(), llvm::BasicInlinerImpl::inlineFunctions(), llvm::DerivedType::notifyUsesThatTypeBecameConcrete(), OptimizeAwayTrappingUsesOfLoads(), OptimizeGlobalAddressOfMalloc(), PerformHeapAllocSRoA(), llvm::TypeMap< llvm::ArrayValType, llvm::ArrayType >::print(), llvm::TypeMap< llvm::ArrayValType, llvm::ArrayType >::RefineAbstractType(), llvm::AlphaJITInfo::relocate(), llvm::Type::removeAbstractTypeUser(), ReplaceUsesOfWith(), llvm::ScheduleDAG::Run(), llvm::Interpreter::run(), llvm::SimpleRegisterCoalescing::runOnMachineFunction(), llvm::SimplifyCFG(), SimplifyCondBranchToCondBranch(), SimplifyCondBranchToTwoReturns(), SimplifyEqualityComparisonWithOnlyPredecessor(), SRAGlobal(), TryToShrinkGlobalToBoolean(), TryToSimplifyUncondBranchFromEmptyBlock(), llvm::DerivedType::unlockedRefineAbstractTypeTo(), llvm::UnrollLoop(), and llvm::Interpreter::visitAllocationInst().