LLVM  3.7.0
Functions
DIBuilder.cpp File Reference
#include "llvm/IR/DIBuilder.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Dwarf.h"
Include dependency graph for DIBuilder.cpp:

Go to the source code of this file.

Functions

static DIScopegetNonCompileUnitScope (DIScope *N)
 If N is compile unit return NULL otherwise return N. More...
 
static DIImportedEntitycreateImportedModule (LLVMContext &C, dwarf::Tag Tag, DIScope *Context, Metadata *NS, unsigned Line, StringRef Name, SmallVectorImpl< TrackingMDNodeRef > &AllImportedModules)
 
static ConstantAsMetadatagetConstantOrNull (Constant *C)
 
static DITemplateValueParametercreateTemplateValueParameterHelper (LLVMContext &VMContext, unsigned Tag, DIScope *Context, StringRef Name, DIType *Ty, Metadata *MD)
 
static DITypecreateTypeWithFlags (LLVMContext &Context, DIType *Ty, unsigned FlagsToSet)
 
static void checkGlobalVariableScope (DIScope *Context)
 
static ValuegetDbgIntrinsicValueImpl (LLVMContext &VMContext, Value *V)
 
static InstructionwithDebugLoc (Instruction *I, const DILocation *DL)
 

Function Documentation

static void checkGlobalVariableScope ( DIScope Context)
static
static DIImportedEntity* createImportedModule ( LLVMContext C,
dwarf::Tag  Tag,
DIScope Context,
Metadata NS,
unsigned  Line,
StringRef  Name,
SmallVectorImpl< TrackingMDNodeRef > &  AllImportedModules 
)
static
static DITemplateValueParameter* createTemplateValueParameterHelper ( LLVMContext VMContext,
unsigned  Tag,
DIScope Context,
StringRef  Name,
DIType Ty,
Metadata MD 
)
static
static DIType* createTypeWithFlags ( LLVMContext Context,
DIType Ty,
unsigned  FlagsToSet 
)
static
static ConstantAsMetadata* getConstantOrNull ( Constant C)
static
static Value* getDbgIntrinsicValueImpl ( LLVMContext VMContext,
Value V 
)
static
static DIScope* getNonCompileUnitScope ( DIScope N)
static
static Instruction* withDebugLoc ( Instruction I,
const DILocation DL 
)
static