|
LLVM
3.7.0
|
#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"Go to the source code of this file.
Functions | |
| static DIScope * | getNonCompileUnitScope (DIScope *N) |
| If N is compile unit return NULL otherwise return N. More... | |
| static DIImportedEntity * | createImportedModule (LLVMContext &C, dwarf::Tag Tag, DIScope *Context, Metadata *NS, unsigned Line, StringRef Name, SmallVectorImpl< TrackingMDNodeRef > &AllImportedModules) |
| static ConstantAsMetadata * | getConstantOrNull (Constant *C) |
| static DITemplateValueParameter * | createTemplateValueParameterHelper (LLVMContext &VMContext, unsigned Tag, DIScope *Context, StringRef Name, DIType *Ty, Metadata *MD) |
| static DIType * | createTypeWithFlags (LLVMContext &Context, DIType *Ty, unsigned FlagsToSet) |
| static void | checkGlobalVariableScope (DIScope *Context) |
| static Value * | getDbgIntrinsicValueImpl (LLVMContext &VMContext, Value *V) |
| static Instruction * | withDebugLoc (Instruction *I, const DILocation *DL) |
|
static |
Definition at line 557 of file DIBuilder.cpp.
References getNonCompileUnitScope().
Referenced by llvm::DIBuilder::createGlobalVariable(), and llvm::DIBuilder::createTempGlobalVariableFwdDecl().
|
static |
Definition at line 168 of file DIBuilder.cpp.
References llvm::SmallVectorImpl< T >::emplace_back(), and llvm::MDNode::get().
Referenced by llvm::DIBuilder::createImportedDeclaration(), and llvm::DIBuilder::createImportedModule().
|
static |
Definition at line 349 of file DIBuilder.cpp.
References llvm::TypedDINodeRef< T >::get(), and llvm::MDNode::get().
Referenced by llvm::DIBuilder::createTemplateParameterPack(), llvm::DIBuilder::createTemplateTemplateParameter(), and llvm::DIBuilder::createTemplateValueParameter().
|
static |
Definition at line 475 of file DIBuilder.cpp.
References llvm::DIType::clone(), and llvm::MDNode::replaceWithUniqued().
Referenced by llvm::DIBuilder::createArtificialType(), and llvm::DIBuilder::createObjectPointerType().
|
static |
Definition at line 302 of file DIBuilder.cpp.
References llvm::ConstantAsMetadata::get().
Referenced by llvm::DIBuilder::createStaticMemberType(), and llvm::DIBuilder::createTemplateValueParameter().
|
static |
Definition at line 735 of file DIBuilder.cpp.
References llvm::MetadataAsValue::get(), and llvm::ValueAsMetadata::get().
Referenced by llvm::DIBuilder::insertDbgValueIntrinsic(), and llvm::DIBuilder::insertDeclare().
If N is compile unit return NULL otherwise return N.
Definition at line 130 of file DIBuilder.cpp.
References N.
Referenced by checkGlobalVariableScope(), llvm::DIBuilder::createClassType(), llvm::DIBuilder::createEnumerationType(), llvm::DIBuilder::createForwardDecl(), llvm::DIBuilder::createFunction(), llvm::DIBuilder::createLexicalBlock(), llvm::DIBuilder::createLocalVariable(), llvm::DIBuilder::createMemberType(), llvm::DIBuilder::createMethod(), llvm::DIBuilder::createModule(), llvm::DIBuilder::createNameSpace(), llvm::DIBuilder::createObjCIVar(), llvm::DIBuilder::createReplaceableCompositeType(), llvm::DIBuilder::createStaticMemberType(), llvm::DIBuilder::createStructType(), llvm::DIBuilder::createTempFunctionFwdDecl(), llvm::DIBuilder::createTypedef(), and llvm::DIBuilder::createUnionType().
|
static |
Definition at line 740 of file DIBuilder.cpp.
References I, and llvm::Instruction::setDebugLoc().
Referenced by llvm::DIBuilder::insertDbgValueIntrinsic(), and llvm::DIBuilder::insertDeclare().
1.8.6