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_TYPE   ""
#define DEBUG(X)   do { if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { X; } } while (0)
#define DOUT   llvm::getErrorOutputStream(DEBUG_TYPE)

Functions

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

Variables

bool llvm::DebugFlag


Define Documentation

#define DEBUG ( X   )     do { if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { X; } } while (0)

#define DEBUG_TYPE   ""

Definition at line 54 of file Debug.h.

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

#define DOUT   llvm::getErrorOutputStream(DEBUG_TYPE)

Definition at line 73 of file Debug.h.

Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::LiveIntervals::addIntervalsForSpills(), llvm::LiveIntervals::addIntervalsForSpillsFast(), AddReachableCodeToWorklist(), llvm::SPUHazardRecognizer::AdvanceCycle(), BreakUpSubtract(), CanPropagatePredecessorsForPHIs(), CreateArgv(), llvm::Constant::destroyConstantImpl(), llvm::ValueMap< ValType, TypeClass, ConstantClass, HasLargeKey >::dump(), dumpToDOUT(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::MipsRegisterInfo::eliminateFrameIndex(), llvm::AlphaRegisterInfo::eliminateFrameIndex(), EmitBranchToAt(), llvm::ARMJITInfo::emitFunctionStub(), llvm::AlphaJITInfo::emitFunctionStub(), EvaluateStaticConstructor(), llvm::Interpreter::executeGEPOperation(), fold(), FoldBlockIntoPredecessor(), FoldBranchToCommonDest(), FoldTwoEntryPHINode(), llvm::PointerType::get(), llvm::StructType::get(), llvm::VectorType::get(), llvm::ArrayType::get(), llvm::FunctionType::get(), llvm::IntegerType::get(), getBackEdges(), llvm::SPUHazardRecognizer::getHazardType(), getSCEVStartAndStride(), llvm::ExecutionEngine::InitializeMemory(), InlineCallIfPossible(), llvm::BasicInlinerImpl::inlineFunctions(), llvm::DerivedType::notifyUsesThatTypeBecameConcrete(), OptimizeAwayTrappingUsesOfLoads(), OptimizeGlobalAddressOfMalloc(), PerformHeapAllocSRoA(), llvm::TypeMap< ValType, TypeClass >::print(), llvm::TypeMap< ValType, TypeClass >::RefineAbstractType(), llvm::DerivedType::refineAbstractTypeTo(), llvm::AlphaJITInfo::relocate(), llvm::Type::removeAbstractTypeUser(), ReplaceUsesOfWith(), llvm::ScheduleDAG::Run(), llvm::Interpreter::run(), llvm::SelectionDAGISel::runOnFunction(), llvm::SimpleRegisterCoalescing::runOnMachineFunction(), llvm::Inliner::runOnSCC(), llvm::SimplifyCFG(), SimplifyCondBranchToCondBranch(), SimplifyCondBranchToTwoReturns(), SimplifyEqualityComparisonWithOnlyPredecessor(), llvm::SparseSolver::Solve(), SRAGlobal(), TryToShrinkGlobalToBoolean(), TryToSimplifyUncondBranchFromEmptyBlock(), llvm::UnrollLoop(), llvm::Interpreter::visitAllocationInst(), X86CompilationCallback2(), and llvm::X86Subtarget::X86Subtarget().