LLVM API Documentation
#include "llvm/IR/LLVMContext.h"
#include "LLVMContextImpl.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/SourceMgr.h"
#include <cctype>
Go to the source code of this file.
Functions | |
static bool | isValidName (StringRef MDName) |
isValidName - Return true if Name is a valid custom metadata handler name. | |
Variables | |
static ManagedStatic< LLVMContext > | GlobalContext |
static bool isValidName | ( | StringRef | MDName | ) | [static] |
isValidName - Return true if Name is a valid custom metadata handler name.
Definition at line 208 of file LLVMContext.cpp.
References llvm::StringRef::begin(), llvm::StringRef::empty(), llvm::StringRef::end(), and I.
Referenced by llvm::LLVMContext::getMDKindID().
ManagedStatic<LLVMContext> GlobalContext [static] |
Definition at line 28 of file LLVMContext.cpp.
Referenced by llvm::getGlobalContext().