LLVM API Documentation
#include <LLVMContextImpl.h>
Definition at line 236 of file LLVMContextImpl.h.
Definition at line 275 of file LLVMContextImpl.h.
typedef DenseMap<DenseMapAPFloatKeyInfo::KeyTy, ConstantFP*, DenseMapAPFloatKeyInfo> llvm::LLVMContextImpl::FPMapTy |
Definition at line 256 of file LLVMContextImpl.h.
Definition at line 313 of file LLVMContextImpl.h.
typedef DenseMap<DenseMapAPIntKeyInfo::KeyTy, ConstantInt *, DenseMapAPIntKeyInfo> llvm::LLVMContextImpl::IntMapTy |
Definition at line 252 of file LLVMContextImpl.h.
IntrinsicIDCache - Cache of intrinsic name (string) to numeric ID mappings requested in this context
Definition at line 367 of file LLVMContextImpl.h.
typedef SmallVector<MDPairTy, 2> llvm::LLVMContextImpl::MDMapTy |
Definition at line 336 of file LLVMContextImpl.h.
typedef std::pair<unsigned, TrackingVH<MDNode> > llvm::LLVMContextImpl::MDPairTy |
Definition at line 335 of file LLVMContextImpl.h.
typedef DenseMap<const Function *, ReturnInst *> llvm::LLVMContextImpl::PrefixDataMapTy |
Mapping from a function to its prefix data, which is stored as the operand of an unparented ReturnInst so that the prefix data has a Use.
Definition at line 372 of file LLVMContextImpl.h.
Definition at line 278 of file LLVMContextImpl.h.
Definition at line 315 of file LLVMContextImpl.h.
ValueHandles - This map keeps track of all of the value handles that are watching a Value*. The Value::HasValueHandle bit is used to know whether or not a value has an entry in this map.
Definition at line 329 of file LLVMContextImpl.h.
Definition at line 281 of file LLVMContextImpl.h.
Definition at line 22 of file LLVMContextImpl.cpp.
References DiagnosticContext, DiagnosticHandler, InlineAsmDiagContext, InlineAsmDiagHandler, NamedStructTypesUniqueID, YieldCallback, and YieldOpaqueHandle.
Definition at line 68 of file LLVMContextImpl.cpp.
References llvm::SmallVectorImpl< T >::append(), ArrayConstants, AttrsLists, AttrsSet, AttrsSetNodes, llvm::SmallVectorTemplateCommon< T >::begin(), llvm::StringMap< ValueTy, AllocatorTy >::begin(), llvm::SmallPtrSetImpl< PtrType >::begin(), llvm::FoldingSet< T >::begin(), CAZConstants, CDSConstants, llvm::StringMap< ValueTy, AllocatorTy >::clear(), CPNConstants, llvm::DeleteContainerSeconds(), llvm::SmallPtrSetImplBase::empty(), llvm::FoldingSetImpl::empty(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::SmallPtrSetImpl< PtrType >::end(), llvm::FoldingSet< T >::end(), ExprConstants, FPConstants, llvm::ConstantUniqueMap< ConstantClass >::freeConstants(), I, InlineAsms, IntConstants, llvm::ConstantUniqueMap< ConstantClass >::map_begin(), llvm::ConstantUniqueMap< ConstantClass >::map_end(), MDNodeSet, MDStringCache, NonUniquedMDNodes, OwnedModules, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::SmallVectorImpl< T >::reserve(), llvm::SmallPtrSetImplBase::size(), llvm::FoldingSetImpl::size(), StructConstants, UVConstants, and VectorConstants.
int LLVMContextImpl::getOrAddScopeInlinedAtIdxEntry | ( | MDNode * | Scope, |
MDNode * | IA, | ||
int | ExistingIdx | ||
) |
Definition at line 227 of file DebugLoc.cpp.
References ScopeInlinedAtIdx, and ScopeInlinedAtRecords.
Referenced by llvm::DebugRecVH::allUsesReplacedWith(), and llvm::DebugLoc::get().
int LLVMContextImpl::getOrAddScopeRecordIdxEntry | ( | MDNode * | N, |
int | ExistingIdx | ||
) |
Definition at line 204 of file DebugLoc.cpp.
References ScopeRecordIdx, and ScopeRecords.
Referenced by llvm::DebugRecVH::allUsesReplacedWith(), and llvm::DebugLoc::get().
Definition at line 316 of file LLVMContextImpl.h.
Referenced by llvm::StructType::get().
Definition at line 276 of file LLVMContextImpl.h.
Referenced by llvm::ConstantArray::destroyConstant(), llvm::ConstantArray::get(), and ~LLVMContextImpl().
DenseMap<std::pair<Type *, uint64_t>, ArrayType*> llvm::LLVMContextImpl::ArrayTypes |
Definition at line 320 of file LLVMContextImpl.h.
Referenced by llvm::ArrayType::get().
DenseMap<std::pair<Type*, unsigned>, PointerType*> llvm::LLVMContextImpl::ASPointerTypes |
Definition at line 323 of file LLVMContextImpl.h.
Referenced by llvm::PointerType::get().
Definition at line 260 of file LLVMContextImpl.h.
Referenced by ~LLVMContextImpl().
Definition at line 259 of file LLVMContextImpl.h.
Referenced by llvm::Attribute::get(), and ~LLVMContextImpl().
Definition at line 261 of file LLVMContextImpl.h.
Referenced by llvm::AttributeSetNode::get(), and ~LLVMContextImpl().
DenseMap<std::pair<const Function *, const BasicBlock *>, BlockAddress *> llvm::LLVMContextImpl::BlockAddresses |
Definition at line 291 of file LLVMContextImpl.h.
Referenced by llvm::BlockAddress::destroyConstant(), llvm::BlockAddress::get(), llvm::BlockAddress::lookup(), and llvm::BlockAddress::replaceUsesOfWithOnConstant().
Definition at line 273 of file LLVMContextImpl.h.
Referenced by llvm::ConstantAggregateZero::destroyConstant(), llvm::ConstantAggregateZero::get(), and ~LLVMContextImpl().
Definition at line 288 of file LLVMContextImpl.h.
Referenced by llvm::ConstantDataSequential::destroyConstant(), llvm::ConstantDataSequential::getImpl(), and ~LLVMContextImpl().
Definition at line 284 of file LLVMContextImpl.h.
Referenced by llvm::ConstantPointerNull::destroyConstant(), llvm::ConstantPointerNull::get(), and ~LLVMContextImpl().
CustomMDKindNames - Map to hold the metadata string to ID mapping.
Definition at line 333 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getMDKindID(), and llvm::LLVMContext::getMDKindNames().
Definition at line 246 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::diagnose(), llvm::LLVMContext::getDiagnosticContext(), LLVMContextImpl(), and llvm::LLVMContext::setDiagnosticHandler().
Definition at line 245 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::diagnose(), llvm::LLVMContext::getDiagnosticHandler(), LLVMContextImpl(), and llvm::LLVMContext::setDiagnosticHandler().
DenseMap<std::pair<const char *, unsigned>, unsigned> llvm::LLVMContextImpl::DiscriminatorTable |
DiscriminatorTable - This table maps file:line locations to an integer representing the next DWARF path discriminator to assign to instructions in different blocks at the same location.
Definition at line 363 of file LLVMContextImpl.h.
Referenced by llvm::DILocation::computeNewDiscriminator().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getDoubleTy().
Definition at line 292 of file LLVMContextImpl.h.
Referenced by llvm::ConstantExpr::destroyConstant(), llvm::ConstantExpr::get(), llvm::ConstantExpr::getExtractElement(), llvm::ConstantExpr::getExtractValue(), llvm::ConstantExpr::getFCmp(), getFoldedCast(), llvm::ConstantExpr::getGetElementPtr(), llvm::ConstantExpr::getICmp(), llvm::ConstantExpr::getInsertElement(), llvm::ConstantExpr::getInsertValue(), llvm::ConstantExpr::getSelect(), llvm::ConstantExpr::getShuffleVector(), and ~LLVMContextImpl().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getFloatTy().
Definition at line 303 of file LLVMContextImpl.h.
Referenced by llvm::Type::getFP128Ty().
Definition at line 257 of file LLVMContextImpl.h.
Referenced by llvm::ConstantFP::get(), and ~LLVMContextImpl().
Definition at line 314 of file LLVMContextImpl.h.
Referenced by llvm::FunctionType::get().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getHalfTy().
Definition at line 243 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getInlineAsmDiagnosticContext(), LLVMContextImpl(), and llvm::LLVMContext::setInlineAsmDiagnosticHandler().
Definition at line 242 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getInlineAsmDiagnosticHandler(), LLVMContextImpl(), and llvm::LLVMContext::setInlineAsmDiagnosticHandler().
Definition at line 294 of file LLVMContextImpl.h.
Referenced by llvm::InlineAsm::get(), and ~LLVMContextImpl().
Definition at line 304 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt16Ty().
Definition at line 304 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt1Ty().
Definition at line 304 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt32Ty().
Definition at line 304 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt64Ty().
Definition at line 304 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt8Ty().
Definition at line 253 of file LLVMContextImpl.h.
Referenced by ~LLVMContextImpl().
Definition at line 311 of file LLVMContextImpl.h.
Referenced by llvm::IntegerType::get().
Definition at line 368 of file LLVMContextImpl.h.
Referenced by llvm::Function::getIntrinsicID(), llvm::Value::setName(), and llvm::Function::~Function().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getLabelTy().
Definition at line 299 of file LLVMContextImpl.h.
Referenced by clearGarbage().
Definition at line 265 of file LLVMContextImpl.h.
Referenced by llvm::MDNode::deleteTemporary(), and ~LLVMContextImpl().
Definition at line 263 of file LLVMContextImpl.h.
Referenced by llvm::MDString::get(), and ~LLVMContextImpl().
MetadataStore - Collection of per-instruction metadata used in this context.
Definition at line 340 of file LLVMContextImpl.h.
Referenced by llvm::Instruction::dropUnknownMetadata(), and llvm::Instruction::setMetadata().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getMetadataTy().
Definition at line 317 of file LLVMContextImpl.h.
Referenced by llvm::Module::getTypeByName(), and llvm::StructType::setName().
Definition at line 318 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), and llvm::StructType::setName().
Definition at line 271 of file LLVMContextImpl.h.
Referenced by llvm::MDNode::deleteTemporary(), and ~LLVMContextImpl().
OwnedModules - The set of modules instantiated in this context, and which will be automatically deleted if this context is deleted.
Definition at line 240 of file LLVMContextImpl.h.
Referenced by ~LLVMContextImpl().
Definition at line 322 of file LLVMContextImpl.h.
Referenced by llvm::PointerType::get().
Definition at line 303 of file LLVMContextImpl.h.
Referenced by llvm::Type::getPPC_FP128Ty().
Definition at line 373 of file LLVMContextImpl.h.
Referenced by llvm::Function::getPrefixData(), and llvm::Function::setPrefixData().
DenseMap<std::pair<MDNode*, MDNode*>, int> llvm::LLVMContextImpl::ScopeInlinedAtIdx |
ScopeInlinedAtIdx - This is the index in ScopeInlinedAtRecords for an scope/inlined-at pair.
Definition at line 353 of file LLVMContextImpl.h.
Referenced by llvm::DebugRecVH::allUsesReplacedWith(), llvm::DebugRecVH::deleted(), and getOrAddScopeInlinedAtIdxEntry().
std::vector<std::pair<DebugRecVH, DebugRecVH> > llvm::LLVMContextImpl::ScopeInlinedAtRecords |
ScopeInlinedAtRecords - These are the actual mdnodes (in value handles) for an index. The ValueHandle ensures that ScopeINlinedAtIdx stays up to date.
Definition at line 358 of file LLVMContextImpl.h.
Referenced by llvm::DebugRecVH::allUsesReplacedWith(), llvm::DebugRecVH::deleted(), llvm::DebugLoc::getInlinedAt(), getOrAddScopeInlinedAtIdxEntry(), llvm::DebugLoc::getScope(), and llvm::DebugLoc::getScopeAndInlinedAt().
ScopeRecordIdx - This is the index in ScopeRecords for an MDNode scope entry with no "inlined at" element.
Definition at line 344 of file LLVMContextImpl.h.
Referenced by llvm::DebugRecVH::allUsesReplacedWith(), llvm::DebugRecVH::deleted(), and getOrAddScopeRecordIdxEntry().
std::vector<DebugRecVH> llvm::LLVMContextImpl::ScopeRecords |
ScopeRecords - These are the actual mdnodes (in a value handle) for an index. The ValueHandle ensures that ScopeRecordIdx stays up to date if the MDNode is RAUW'd.
Definition at line 349 of file LLVMContextImpl.h.
Referenced by getOrAddScopeRecordIdxEntry(), llvm::DebugLoc::getScope(), and llvm::DebugLoc::getScopeAndInlinedAt().
Definition at line 279 of file LLVMContextImpl.h.
Referenced by llvm::ConstantStruct::destroyConstant(), llvm::ConstantStruct::get(), and ~LLVMContextImpl().
Definition at line 297 of file LLVMContextImpl.h.
Referenced by llvm::ConstantInt::getFalse().
Definition at line 296 of file LLVMContextImpl.h.
Referenced by llvm::ConstantInt::getTrue().
TypeAllocator - All dynamically allocated types are allocated from this. They live forever until the context is torn down.
Definition at line 309 of file LLVMContextImpl.h.
Referenced by llvm::StructType::create(), llvm::IntegerType::get(), llvm::FunctionType::get(), llvm::StructType::get(), llvm::ArrayType::get(), llvm::VectorType::get(), llvm::PointerType::get(), and llvm::StructType::setBody().
Definition at line 286 of file LLVMContextImpl.h.
Referenced by llvm::UndefValue::destroyConstant(), llvm::UndefValue::get(), and ~LLVMContextImpl().
Definition at line 330 of file LLVMContextImpl.h.
Referenced by llvm::ValueHandleBase::ValueIsDeleted(), and llvm::ValueHandleBase::ValueIsRAUWd().
Definition at line 282 of file LLVMContextImpl.h.
Referenced by llvm::ConstantVector::destroyConstant(), llvm::ConstantVector::get(), and ~LLVMContextImpl().
DenseMap<std::pair<Type *, unsigned>, VectorType*> llvm::LLVMContextImpl::VectorTypes |
Definition at line 321 of file LLVMContextImpl.h.
Referenced by llvm::VectorType::get().
Definition at line 302 of file LLVMContextImpl.h.
Referenced by llvm::Type::getVoidTy().
Definition at line 303 of file LLVMContextImpl.h.
Referenced by llvm::Type::getX86_FP80Ty().
Definition at line 303 of file LLVMContextImpl.h.
Referenced by llvm::Type::getX86_MMXTy().
Definition at line 248 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), llvm::LLVMContext::setYieldCallback(), and llvm::LLVMContext::yield().
Definition at line 249 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), llvm::LLVMContext::setYieldCallback(), and llvm::LLVMContext::yield().