LLVM API Documentation

llvm::DebugLoc Class Reference

#include <DebugLoc.h>

Collaboration diagram for llvm::DebugLoc:
[legend]

List of all members.

Public Member Functions

 DebugLoc ()
bool isInvalid () const
 isInvalid - Return true if the DebugLoc is invalid.
bool isUnknown () const

Static Public Member Functions

static DebugLoc getUnknownLoc ()
static DebugLoc get (unsigned idx)


Detailed Description

DebugLoc - Debug location id. This is carried by SDNode and MachineInstr to index into a vector of unique debug location tuples.

Definition at line 34 of file DebugLoc.h.


Constructor & Destructor Documentation

llvm::DebugLoc::DebugLoc (  )  [inline]

Definition at line 38 of file DebugLoc.h.


Member Function Documentation

static DebugLoc llvm::DebugLoc::getUnknownLoc (  )  [inline, static]

static DebugLoc llvm::DebugLoc::get ( unsigned  idx  )  [inline, static]

Definition at line 41 of file DebugLoc.h.

References Idx, and L.

Referenced by llvm::FunctionLoweringInfo::set().

bool llvm::DebugLoc::isInvalid (  )  const [inline]

isInvalid - Return true if the DebugLoc is invalid.

Definition at line 44 of file DebugLoc.h.

bool llvm::DebugLoc::isUnknown (  )  const [inline]

isUnknown - Return true if there is no debug info for the SDNode / MachineInstr.

Definition at line 48 of file DebugLoc.h.


The documentation for this class was generated from the following file: