|
LLVM
3.7.0
|
#include <LLVMContextImpl.h>
Public Types | |
| typedef DenseMap< APInt, ConstantInt *, DenseMapAPIntKeyInfo > | IntMapTy |
| typedef DenseMap< APFloat, ConstantFP *, DenseMapAPFloatKeyInfo > | FPMapTy |
| typedef ConstantUniqueMap < ConstantArray > | ArrayConstantsTy |
| typedef ConstantUniqueMap < ConstantStruct > | StructConstantsTy |
| typedef ConstantUniqueMap < ConstantVector > | VectorConstantsTy |
| typedef DenseSet< FunctionType *, FunctionTypeKeyInfo > | FunctionTypeSet |
| typedef DenseSet< StructType *, AnonStructTypeKeyInfo > | StructTypeSet |
| typedef DenseMap< Value *, ValueHandleBase * > | ValueHandlesTy |
| ValueHandles - This map keeps track of all of the value handles that are watching a Value*. More... | |
| typedef DenseMap< const Function *, ReturnInst * > | 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. More... | |
| typedef DenseMap< const Function *, ReturnInst * > | PrologueDataMapTy |
| Mapping from a function to its prologue data, which is stored as the operand of an unparented ReturnInst so that the prologue data has a Use. More... | |
Public Member Functions | |
| int | getOrAddScopeRecordIdxEntry (MDNode *N, int ExistingIdx) |
| int | getOrAddScopeInlinedAtIdxEntry (MDNode *Scope, MDNode *IA, int ExistingIdx) |
| LLVMContextImpl (LLVMContext &C) | |
| ~LLVMContextImpl () | |
| void | dropTriviallyDeadConstantArrays () |
| Destroy the ConstantArrays if they are not used. More... | |
Definition at line 924 of file LLVMContextImpl.h.
Definition at line 967 of file LLVMContextImpl.h.
Definition at line 943 of file LLVMContextImpl.h.
Definition at line 1003 of file LLVMContextImpl.h.
Definition at line 940 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 1038 of file LLVMContextImpl.h.
| typedef DenseMap<const Function *, ReturnInst *> llvm::LLVMContextImpl::PrologueDataMapTy |
Mapping from a function to its prologue data, which is stored as the operand of an unparented ReturnInst so that the prologue data has a Use.
Definition at line 1044 of file LLVMContextImpl.h.
Definition at line 970 of file LLVMContextImpl.h.
Definition at line 1005 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 1019 of file LLVMContextImpl.h.
Definition at line 973 of file LLVMContextImpl.h.
| LLVMContextImpl::LLVMContextImpl | ( | LLVMContext & | C | ) |
Definition at line 22 of file LLVMContextImpl.cpp.
References DiagnosticContext, DiagnosticHandler, InlineAsmDiagContext, InlineAsmDiagHandler, NamedStructTypesUniqueID, RespectDiagnosticFilters, YieldCallback, and YieldOpaqueHandle.
| LLVMContextImpl::~LLVMContextImpl | ( | ) |
Definition at line 70 of file LLVMContextImpl.cpp.
References ArrayConstants, AttrsLists, AttrsSet, AttrsSetNodes, llvm::SmallPtrSetImpl< PtrType >::begin(), CAZConstants, CDSConstants, CPNConstants, llvm::DeleteContainerSeconds(), DistinctMDNodes, llvm::SmallPtrSetImplBase::empty(), ExprConstants, FPConstants, llvm::ConstantUniqueMap< ConstantClass >::freeConstants(), I, InlineAsms, IntConstants, llvm::ConstantUniqueMap< ConstantClass >::map_begin(), llvm::ConstantUniqueMap< ConstantClass >::map_end(), MDStringCache, MetadataAsValues, OwnedModules, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::SmallVectorImpl< T >::reserve(), StructConstants, UVConstants, ValuesAsMetadata, and VectorConstants.
| void LLVMContextImpl::dropTriviallyDeadConstantArrays | ( | ) |
Destroy the ConstantArrays if they are not used.
Definition at line 165 of file LLVMContextImpl.cpp.
References ArrayConstants, llvm::C, I, llvm::ConstantUniqueMap< ConstantClass >::map_begin(), and llvm::ConstantUniqueMap< ConstantClass >::map_end().
Referenced by llvm::Module::dropTriviallyDeadConstantArrays().
| int llvm::LLVMContextImpl::getOrAddScopeInlinedAtIdxEntry | ( | MDNode * | Scope, |
| MDNode * | IA, | ||
| int | ExistingIdx | ||
| ) |
| StructTypeSet llvm::LLVMContextImpl::AnonStructTypes |
Definition at line 1006 of file LLVMContextImpl.h.
Referenced by llvm::StructType::get().
| ArrayConstantsTy llvm::LLVMContextImpl::ArrayConstants |
Definition at line 968 of file LLVMContextImpl.h.
Referenced by dropTriviallyDeadConstantArrays(), llvm::ConstantArray::get(), and ~LLVMContextImpl().
Definition at line 1010 of file LLVMContextImpl.h.
Referenced by llvm::ArrayType::get().
| DenseMap<std::pair<Type*, unsigned>, PointerType*> llvm::LLVMContextImpl::ASPointerTypes |
Definition at line 1013 of file LLVMContextImpl.h.
Referenced by llvm::PointerType::get().
| FoldingSet<AttributeSetImpl> llvm::LLVMContextImpl::AttrsLists |
Definition at line 947 of file LLVMContextImpl.h.
Referenced by ~LLVMContextImpl().
| FoldingSet<AttributeImpl> llvm::LLVMContextImpl::AttrsSet |
Definition at line 946 of file LLVMContextImpl.h.
Referenced by llvm::Attribute::get(), and ~LLVMContextImpl().
| FoldingSet<AttributeSetNode> llvm::LLVMContextImpl::AttrsSetNodes |
Definition at line 948 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 983 of file LLVMContextImpl.h.
Referenced by llvm::BlockAddress::get(), and llvm::BlockAddress::lookup().
| DenseMap<Type*, ConstantAggregateZero*> llvm::LLVMContextImpl::CAZConstants |
Definition at line 965 of file LLVMContextImpl.h.
Referenced by llvm::ConstantAggregateZero::get(), and ~LLVMContextImpl().
| StringMap<ConstantDataSequential*> llvm::LLVMContextImpl::CDSConstants |
Definition at line 980 of file LLVMContextImpl.h.
Referenced by llvm::ConstantDataSequential::getImpl(), and ~LLVMContextImpl().
| DenseMap<PointerType*, ConstantPointerNull*> llvm::LLVMContextImpl::CPNConstants |
Definition at line 976 of file LLVMContextImpl.h.
Referenced by llvm::ConstantPointerNull::get(), and ~LLVMContextImpl().
CustomMDKindNames - Map to hold the metadata string to ID mapping.
Definition at line 1023 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getMDKindID(), and llvm::LLVMContext::getMDKindNames().
| void* llvm::LLVMContextImpl::DiagnosticContext |
Definition at line 934 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::diagnose(), llvm::LLVMContext::getDiagnosticContext(), LLVMContextImpl(), and llvm::LLVMContext::setDiagnosticHandler().
| LLVMContext::DiagnosticHandlerTy llvm::LLVMContextImpl::DiagnosticHandler |
Definition at line 933 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::diagnose(), llvm::LLVMContext::getDiagnosticHandler(), LLVMContextImpl(), and llvm::LLVMContext::setDiagnosticHandler().
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 1034 of file LLVMContextImpl.h.
Referenced by llvm::DILocation::computeNewDiscriminator().
| SmallPtrSet<MDNode *, 1> llvm::LLVMContextImpl::DistinctMDNodes |
Definition at line 963 of file LLVMContextImpl.h.
Referenced by llvm::MDNode::storeDistinctInContext(), and ~LLVMContextImpl().
| Type llvm::LLVMContextImpl::DoubleTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getDoubleTy().
| ConstantUniqueMap<ConstantExpr> llvm::LLVMContextImpl::ExprConstants |
Definition at line 984 of file LLVMContextImpl.h.
Referenced by 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().
| Type llvm::LLVMContextImpl::FloatTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getFloatTy().
| Type llvm::LLVMContextImpl::FP128Ty |
Definition at line 993 of file LLVMContextImpl.h.
Referenced by llvm::Type::getFP128Ty().
| FPMapTy llvm::LLVMContextImpl::FPConstants |
Definition at line 944 of file LLVMContextImpl.h.
Referenced by llvm::ConstantFP::get(), and ~LLVMContextImpl().
| DenseMap<const Function *, MDAttachmentMap> llvm::LLVMContextImpl::FunctionMetadata |
Collection of per-function metadata used in this context.
Definition at line 1029 of file LLVMContextImpl.h.
Referenced by llvm::Function::dropUnknownMetadata(), llvm::Function::getAllMetadata(), llvm::Function::getMetadata(), and llvm::Function::setMetadata().
| FunctionTypeSet llvm::LLVMContextImpl::FunctionTypes |
Definition at line 1004 of file LLVMContextImpl.h.
Referenced by llvm::FunctionType::get().
| Type llvm::LLVMContextImpl::HalfTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getHalfTy().
| void* llvm::LLVMContextImpl::InlineAsmDiagContext |
Definition at line 931 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getInlineAsmDiagnosticContext(), LLVMContextImpl(), and llvm::LLVMContext::setInlineAsmDiagnosticHandler().
| LLVMContext::InlineAsmDiagHandlerTy llvm::LLVMContextImpl::InlineAsmDiagHandler |
Definition at line 930 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::getInlineAsmDiagnosticHandler(), LLVMContextImpl(), and llvm::LLVMContext::setInlineAsmDiagnosticHandler().
| ConstantUniqueMap<InlineAsm> llvm::LLVMContextImpl::InlineAsms |
Definition at line 986 of file LLVMContextImpl.h.
Referenced by llvm::InlineAsm::get(), and ~LLVMContextImpl().
| DenseMap<const Instruction *, MDAttachmentMap> llvm::LLVMContextImpl::InstructionMetadata |
Collection of per-instruction metadata used in this context.
Definition at line 1026 of file LLVMContextImpl.h.
Referenced by llvm::Instruction::dropUnknownMetadata(), and llvm::Instruction::setMetadata().
| IntegerType llvm::LLVMContextImpl::Int128Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt128Ty().
| IntegerType llvm::LLVMContextImpl::Int16Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt16Ty().
| IntegerType llvm::LLVMContextImpl::Int1Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt1Ty().
| IntegerType llvm::LLVMContextImpl::Int32Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt32Ty().
| IntegerType llvm::LLVMContextImpl::Int64Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt64Ty().
| IntegerType llvm::LLVMContextImpl::Int8Ty |
Definition at line 994 of file LLVMContextImpl.h.
Referenced by llvm::Type::getInt8Ty().
| IntMapTy llvm::LLVMContextImpl::IntConstants |
Definition at line 941 of file LLVMContextImpl.h.
Referenced by llvm::ConstantInt::get(), and ~LLVMContextImpl().
| DenseMap<unsigned, IntegerType*> llvm::LLVMContextImpl::IntegerTypes |
Definition at line 1001 of file LLVMContextImpl.h.
Referenced by llvm::IntegerType::get().
| Type llvm::LLVMContextImpl::LabelTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getLabelTy().
Definition at line 950 of file LLVMContextImpl.h.
Referenced by llvm::MDString::get(), and ~LLVMContextImpl().
| DenseMap<Metadata *, MetadataAsValue *> llvm::LLVMContextImpl::MetadataAsValues |
Definition at line 952 of file LLVMContextImpl.h.
Referenced by llvm::MetadataAsValue::get(), llvm::MetadataAsValue::getIfExists(), and ~LLVMContextImpl().
| Type llvm::LLVMContextImpl::MetadataTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getMetadataTy().
| StringMap<StructType*> llvm::LLVMContextImpl::NamedStructTypes |
Definition at line 1007 of file LLVMContextImpl.h.
Referenced by llvm::Module::getTypeByName(), and llvm::StructType::setName().
| unsigned llvm::LLVMContextImpl::NamedStructTypesUniqueID |
Definition at line 1008 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), and llvm::StructType::setName().
| SmallPtrSet<Module*, 4> llvm::LLVMContextImpl::OwnedModules |
OwnedModules - The set of modules instantiated in this context, and which will be automatically deleted if this context is deleted.
Definition at line 928 of file LLVMContextImpl.h.
Referenced by ~LLVMContextImpl().
| DenseMap<Type*, PointerType*> llvm::LLVMContextImpl::PointerTypes |
Definition at line 1012 of file LLVMContextImpl.h.
Referenced by llvm::PointerType::get().
| Type llvm::LLVMContextImpl::PPC_FP128Ty |
Definition at line 993 of file LLVMContextImpl.h.
Referenced by llvm::Type::getPPC_FP128Ty().
| PrefixDataMapTy llvm::LLVMContextImpl::PrefixDataMap |
Definition at line 1039 of file LLVMContextImpl.h.
Referenced by llvm::Function::getPrefixData(), and llvm::Function::setPrefixData().
| PrologueDataMapTy llvm::LLVMContextImpl::PrologueDataMap |
Definition at line 1045 of file LLVMContextImpl.h.
Referenced by llvm::Function::getPrologueData(), and llvm::Function::setPrologueData().
| bool llvm::LLVMContextImpl::RespectDiagnosticFilters |
Definition at line 935 of file LLVMContextImpl.h.
Referenced by llvm::LLVMContext::diagnose(), LLVMContextImpl(), and llvm::LLVMContext::setDiagnosticHandler().
| StructConstantsTy llvm::LLVMContextImpl::StructConstants |
Definition at line 971 of file LLVMContextImpl.h.
Referenced by llvm::ConstantStruct::get(), and ~LLVMContextImpl().
| ConstantInt* llvm::LLVMContextImpl::TheFalseVal |
Definition at line 989 of file LLVMContextImpl.h.
Referenced by llvm::ConstantInt::getFalse().
| ConstantInt* llvm::LLVMContextImpl::TheTrueVal |
Definition at line 988 of file LLVMContextImpl.h.
Referenced by llvm::ConstantInt::getTrue().
| BumpPtrAllocator llvm::LLVMContextImpl::TypeAllocator |
TypeAllocator - All dynamically allocated types are allocated from this.
They live forever until the context is torn down.
Definition at line 999 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().
| DenseMap<Type*, UndefValue*> llvm::LLVMContextImpl::UVConstants |
Definition at line 978 of file LLVMContextImpl.h.
Referenced by llvm::UndefValue::get(), and ~LLVMContextImpl().
| ValueHandlesTy llvm::LLVMContextImpl::ValueHandles |
Definition at line 1020 of file LLVMContextImpl.h.
Referenced by llvm::ValueHandleBase::ValueIsDeleted().
Definition at line 954 of file LLVMContextImpl.h.
Referenced by llvm::Value::getValueName(), and llvm::Value::setValueName().
| DenseMap<Value *, ValueAsMetadata *> llvm::LLVMContextImpl::ValuesAsMetadata |
Definition at line 951 of file LLVMContextImpl.h.
Referenced by llvm::ValueAsMetadata::get(), llvm::ValueAsMetadata::getIfExists(), llvm::ValueAsMetadata::handleDeletion(), and ~LLVMContextImpl().
| VectorConstantsTy llvm::LLVMContextImpl::VectorConstants |
Definition at line 974 of file LLVMContextImpl.h.
Referenced by llvm::ConstantVector::get(), and ~LLVMContextImpl().
| DenseMap<std::pair<Type *, unsigned>, VectorType*> llvm::LLVMContextImpl::VectorTypes |
Definition at line 1011 of file LLVMContextImpl.h.
Referenced by llvm::VectorType::get().
| Type llvm::LLVMContextImpl::VoidTy |
Definition at line 992 of file LLVMContextImpl.h.
Referenced by llvm::Type::getVoidTy().
| Type llvm::LLVMContextImpl::X86_FP80Ty |
Definition at line 993 of file LLVMContextImpl.h.
Referenced by llvm::Type::getX86_FP80Ty().
| Type llvm::LLVMContextImpl::X86_MMXTy |
Definition at line 993 of file LLVMContextImpl.h.
Referenced by llvm::Type::getX86_MMXTy().
| LLVMContext::YieldCallbackTy llvm::LLVMContextImpl::YieldCallback |
Definition at line 937 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), llvm::LLVMContext::setYieldCallback(), and llvm::LLVMContext::yield().
| void* llvm::LLVMContextImpl::YieldOpaqueHandle |
Definition at line 938 of file LLVMContextImpl.h.
Referenced by LLVMContextImpl(), llvm::LLVMContext::setYieldCallback(), and llvm::LLVMContext::yield().
1.8.6