LLVM: lib/IR/DIBuilder.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static DIScope * getNonCompileUnitScope (DIScope *N)
If N is compile unit return NULL otherwise return N.
static DIImportedEntity * createImportedModule (LLVMContext &C, dwarf::Tag Tag, DIScope *Context, Metadata *NS, DIFile *File, unsigned Line, StringRef Name, DINodeArray Elements, SmallVectorImpl< TrackingMDNodeRef > &ImportedModules)
static ConstantAsMetadata * getConstantOrNull (Constant *C)
static DITemplateValueParameter * createTemplateValueParameterHelper (LLVMContext &VMContext, unsigned Tag, DIScope *Context, StringRef Name, DIType *Ty, bool IsDefault, Metadata *MD)
static DIType * createTypeWithFlags (const DIType *Ty, DINode::DIFlags FlagsToSet)
static void checkGlobalVariableScope (DIScope *Context)
static DILocalVariable * createLocalVariable (LLVMContext &VMContext, SmallVectorImpl< TrackingMDNodeRef > &PreservedNodes, DIScope *Context, StringRef Name, unsigned ArgNo, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags, uint32_t AlignInBits, DINodeArray Annotations=nullptr)
template<class... Ts>
static DISubprogram * getSubprogram (bool IsDistinct, Ts &&...Args)
static void initIRBuilder (IRBuilder<> &Builder, const DILocation *DL, BasicBlock *InsertBB, Instruction *InsertBefore)
Initialize IRBuilder for inserting dbg.declare and dbg.value intrinsics.
static Value * getDbgIntrinsicValueImpl (LLVMContext &VMContext, Value *V)
static Function * getDeclareIntrin (Module &M)

checkGlobalVariableScope()

static void checkGlobalVariableScope ( DIScope * Context) static

createImportedModule()

createLocalVariable()

static DILocalVariable * createLocalVariable ( LLVMContext & VMContext, SmallVectorImpl< TrackingMDNodeRef > & PreservedNodes, DIScope * Context, StringRef Name, unsigned ArgNo, DIFile * File, unsigned LineNo, DIType * Ty, bool AlwaysPreserve, DINode::DIFlags Flags, uint32_t AlignInBits, DINodeArray Annotations = nullptr ) static

createTemplateValueParameterHelper()

createTypeWithFlags()

getConstantOrNull()

getDbgIntrinsicValueImpl()

getDeclareIntrin()

getNonCompileUnitScope()

If N is compile unit return NULL otherwise return N.

Definition at line 128 of file DIBuilder.cpp.

References N.

Referenced by checkGlobalVariableScope(), llvm::DIBuilder::createBitFieldMemberType(), llvm::DIBuilder::createClassType(), llvm::DIBuilder::createEnumerationType(), llvm::DIBuilder::createForwardDecl(), llvm::DIBuilder::createFunction(), llvm::DIBuilder::createLexicalBlock(), llvm::DIBuilder::createMemberType(), llvm::DIBuilder::createMethod(), llvm::DIBuilder::createModule(), llvm::DIBuilder::createNameSpace(), llvm::DIBuilder::createObjCIVar(), llvm::DIBuilder::createReplaceableCompositeType(), llvm::DIBuilder::createSetType(), llvm::DIBuilder::createStaticMemberType(), llvm::DIBuilder::createStructType(), llvm::DIBuilder::createTempFunctionFwdDecl(), llvm::DIBuilder::createTemplateAlias(), llvm::DIBuilder::createTypedef(), llvm::DIBuilder::createUnionType(), llvm::DIBuilder::createVariantMemberType(), and llvm::DIBuilder::createVariantPart().

getSubprogram()

initIRBuilder()