LLVM  8.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::LLVMContextImpl Class Reference

#include "IR/LLVMContextImpl.h"

Collaboration diagram for llvm::LLVMContextImpl:
Collaboration graph
[legend]

Public Types

using IntMapTy = DenseMap< APInt, std::unique_ptr< ConstantInt >, DenseMapAPIntKeyInfo >
 
using FPMapTy = DenseMap< APFloat, std::unique_ptr< ConstantFP >, DenseMapAPFloatKeyInfo >
 
using ArrayConstantsTy = ConstantUniqueMap< ConstantArray >
 
using StructConstantsTy = ConstantUniqueMap< ConstantStruct >
 
using VectorConstantsTy = ConstantUniqueMap< ConstantVector >
 
using FunctionTypeSet = DenseSet< FunctionType *, FunctionTypeKeyInfo >
 
using StructTypeSet = DenseSet< StructType *, AnonStructTypeKeyInfo >
 
using ValueHandlesTy = DenseMap< Value *, ValueHandleBase * >
 ValueHandles - This map keeps track of all of the value handles that are watching a Value*. More...
 

Public Member Functions

int getOrAddScopeRecordIdxEntry (MDNode *N, int ExistingIdx)
 
int getOrAddScopeInlinedAtIdxEntry (MDNode *Scope, MDNode *IA, int ExistingIdx)
 
StringMapEntry< uint32_t > * getOrInsertBundleTag (StringRef Tag)
 
void getOperandBundleTags (SmallVectorImpl< StringRef > &Tags) const
 
uint32_t getOperandBundleTagID (StringRef Tag) const
 
SyncScope::ID getOrInsertSyncScopeID (StringRef SSN)
 getOrInsertSyncScopeID - Maps synchronization scope name to synchronization scope ID. More...
 
void getSyncScopeNames (SmallVectorImpl< StringRef > &SSNs) const
 getSyncScopeNames - Populates client supplied SmallVector with synchronization scope names registered with LLVMContext. More...
 
 LLVMContextImpl (LLVMContext &C)
 
 ~LLVMContextImpl ()
 
void dropTriviallyDeadConstantArrays ()
 Destroy the ConstantArrays if they are not used. More...
 
OptPassGategetOptPassGate () const
 Access the object which can disable optional passes and individual optimizations at compile time. More...
 
void setOptPassGate (OptPassGate &)
 Set the object which can disable optional passes and individual optimizations at compile time. More...
 

Public Attributes

SmallPtrSet< Module *, 4 > OwnedModules
 OwnedModules - The set of modules instantiated in this context, and which will be automatically deleted if this context is deleted. More...
 
LLVMContext::InlineAsmDiagHandlerTy InlineAsmDiagHandler = nullptr
 
void * InlineAsmDiagContext = nullptr
 
std::unique_ptr< DiagnosticHandlerDiagHandler
 
bool RespectDiagnosticFilters = false
 
bool DiagnosticsHotnessRequested = false
 
uint64_t DiagnosticsHotnessThreshold = 0
 
std::unique_ptr< yaml::Output > DiagnosticsOutputFile
 
LLVMContext::YieldCallbackTy YieldCallback = nullptr
 
void * YieldOpaqueHandle = nullptr
 
IntMapTy IntConstants
 
FPMapTy FPConstants
 
FoldingSet< AttributeImplAttrsSet
 
FoldingSet< AttributeListImplAttrsLists
 
FoldingSet< AttributeSetNodeAttrsSetNodes
 
StringMap< MDString, BumpPtrAllocatorMDStringCache
 
DenseMap< Value *, ValueAsMetadata * > ValuesAsMetadata
 
DenseMap< Metadata *, MetadataAsValue * > MetadataAsValues
 
DenseMap< const Value *, ValueName * > ValueNames
 
Optional< DenseMap< const MDString *, DICompositeType * > > DITypeMap
 
std::vector< MDNode * > DistinctMDNodes
 
DenseMap< Type *, std::unique_ptr< ConstantAggregateZero > > CAZConstants
 
ArrayConstantsTy ArrayConstants
 
StructConstantsTy StructConstants
 
VectorConstantsTy VectorConstants
 
DenseMap< PointerType *, std::unique_ptr< ConstantPointerNull > > CPNConstants
 
DenseMap< Type *, std::unique_ptr< UndefValue > > UVConstants
 
StringMap< ConstantDataSequential * > CDSConstants
 
DenseMap< std::pair< const Function *, const BasicBlock * >, BlockAddress * > BlockAddresses
 
ConstantUniqueMap< ConstantExprExprConstants
 
ConstantUniqueMap< InlineAsmInlineAsms
 
ConstantIntTheTrueVal = nullptr
 
ConstantIntTheFalseVal = nullptr
 
std::unique_ptr< ConstantTokenNoneTheNoneToken
 
Type VoidTy
 
Type LabelTy
 
Type HalfTy
 
Type FloatTy
 
Type DoubleTy
 
Type MetadataTy
 
Type TokenTy
 
Type X86_FP80Ty
 
Type FP128Ty
 
Type PPC_FP128Ty
 
Type X86_MMXTy
 
IntegerType Int1Ty
 
IntegerType Int8Ty
 
IntegerType Int16Ty
 
IntegerType Int32Ty
 
IntegerType Int64Ty
 
IntegerType Int128Ty
 
BumpPtrAllocator TypeAllocator
 TypeAllocator - All dynamically allocated types are allocated from this. More...
 
DenseMap< unsigned, IntegerType * > IntegerTypes
 
FunctionTypeSet FunctionTypes
 
StructTypeSet AnonStructTypes
 
StringMap< StructType * > NamedStructTypes
 
unsigned NamedStructTypesUniqueID = 0
 
DenseMap< std::pair< Type *, uint64_t >, ArrayType * > ArrayTypes
 
DenseMap< std::pair< Type *, unsigned >, VectorType * > VectorTypes
 
DenseMap< Type *, PointerType * > PointerTypes
 
DenseMap< std::pair< Type *, unsigned >, PointerType * > ASPointerTypes
 
ValueHandlesTy ValueHandles
 
StringMap< unsignedCustomMDKindNames
 CustomMDKindNames - Map to hold the metadata string to ID mapping. More...
 
DenseMap< const Instruction *, MDAttachmentMapInstructionMetadata
 Collection of per-instruction metadata used in this context. More...
 
DenseMap< const GlobalObject *, MDGlobalAttachmentMapGlobalObjectMetadata
 Collection of per-GlobalObject metadata used in this context. More...
 
DenseMap< const GlobalObject *, StringRefGlobalObjectSections
 Collection of per-GlobalObject sections used in this context. More...
 
StringSet SectionStrings
 Stable collection of section strings. More...
 
DenseMap< std::pair< const char *, unsigned >, unsignedDiscriminatorTable
 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. More...
 
StringMap< uint32_tBundleTagCache
 A set of interned tags for operand bundles. More...
 
StringMap< SyncScope::IDSSC
 A set of interned synchronization scopes. More...
 
DenseMap< const Function *, std::string > GCNames
 Maintain the GC name for each function. More...
 
bool DiscardValueNames = false
 Flag to indicate if Value (other than GlobalValue) retains their name or not. More...
 
OptPassGateOPG = nullptr
 

Detailed Description

Definition at line 1217 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ ArrayConstantsTy

Definition at line 1268 of file LLVMContextImpl.h.

◆ FPMapTy

Definition at line 1240 of file LLVMContextImpl.h.

◆ FunctionTypeSet

Definition at line 1305 of file LLVMContextImpl.h.

◆ IntMapTy

Definition at line 1236 of file LLVMContextImpl.h.

◆ StructConstantsTy

Definition at line 1271 of file LLVMContextImpl.h.

◆ StructTypeSet

Definition at line 1307 of file LLVMContextImpl.h.

◆ ValueHandlesTy

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 1320 of file LLVMContextImpl.h.

◆ VectorConstantsTy

Definition at line 1274 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ LLVMContextImpl()

LLVMContextImpl::LLVMContextImpl ( LLVMContext C)

Definition at line 24 of file LLVMContextImpl.cpp.

◆ ~LLVMContextImpl()

LLVMContextImpl::~LLVMContextImpl ( )

Member Function Documentation

◆ dropTriviallyDeadConstantArrays()

void LLVMContextImpl::dropTriviallyDeadConstantArrays ( )

◆ getOperandBundleTagID()

uint32_t LLVMContextImpl::getOperandBundleTagID ( StringRef  Tag) const

◆ getOperandBundleTags()

void LLVMContextImpl::getOperandBundleTags ( SmallVectorImpl< StringRef > &  Tags) const

◆ getOptPassGate()

OptPassGate & LLVMContextImpl::getOptPassGate ( ) const

Access the object which can disable optional passes and individual optimizations at compile time.

Definition at line 244 of file LLVMContextImpl.cpp.

References OPG.

Referenced by llvm::LLVMContext::getOptPassGate().

◆ getOrAddScopeInlinedAtIdxEntry()

int llvm::LLVMContextImpl::getOrAddScopeInlinedAtIdxEntry ( MDNode Scope,
MDNode IA,
int  ExistingIdx 
)

◆ getOrAddScopeRecordIdxEntry()

int llvm::LLVMContextImpl::getOrAddScopeRecordIdxEntry ( MDNode N,
int  ExistingIdx 
)

◆ getOrInsertBundleTag()

StringMapEntry< uint32_t > * LLVMContextImpl::getOrInsertBundleTag ( StringRef  Tag)

◆ getOrInsertSyncScopeID()

SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID ( StringRef  SSN)

getOrInsertSyncScopeID - Maps synchronization scope name to synchronization scope ID.

Every synchronization scope registered with LLVMContext has unique ID except pre-defined ones.

Definition at line 217 of file LLVMContextImpl.cpp.

References assert(), llvm::StringMap< ValueTy, AllocatorTy >::insert(), llvm::max(), llvm::StringMapImpl::size(), and SSC.

Referenced by llvm::LLVMContext::getOrInsertSyncScopeID(), and llvm::LLVMContext::LLVMContext().

◆ getSyncScopeNames()

void LLVMContextImpl::getSyncScopeNames ( SmallVectorImpl< StringRef > &  SSNs) const

getSyncScopeNames - Populates client supplied SmallVector with synchronization scope names registered with LLVMContext.

Synchronization scope names are ordered by increasing synchronization scope IDs.

Definition at line 224 of file LLVMContextImpl.cpp.

References llvm::SmallVectorImpl< T >::resize(), llvm::StringMapImpl::size(), and SSC.

Referenced by llvm::LLVMContext::getSyncScopeNames().

◆ setOptPassGate()

void LLVMContextImpl::setOptPassGate ( OptPassGate OPG)

Set the object which can disable optional passes and individual optimizations at compile time.

The lifetime of the object must be guaranteed to extend as long as the LLVMContext is used by compilation.

Definition at line 250 of file LLVMContextImpl.cpp.

References OPG.

Referenced by llvm::LLVMContext::setOptPassGate().

Member Data Documentation

◆ AnonStructTypes

StructTypeSet llvm::LLVMContextImpl::AnonStructTypes

Definition at line 1308 of file LLVMContextImpl.h.

Referenced by llvm::StructType::get().

◆ ArrayConstants

ArrayConstantsTy llvm::LLVMContextImpl::ArrayConstants

◆ ArrayTypes

DenseMap<std::pair<Type *, uint64_t>, ArrayType*> llvm::LLVMContextImpl::ArrayTypes

Definition at line 1312 of file LLVMContextImpl.h.

Referenced by llvm::ArrayType::get().

◆ ASPointerTypes

DenseMap<std::pair<Type*, unsigned>, PointerType*> llvm::LLVMContextImpl::ASPointerTypes

Definition at line 1315 of file LLVMContextImpl.h.

Referenced by llvm::PointerType::get().

◆ AttrsLists

FoldingSet<AttributeListImpl> llvm::LLVMContextImpl::AttrsLists

Definition at line 1244 of file LLVMContextImpl.h.

Referenced by ~LLVMContextImpl().

◆ AttrsSet

FoldingSet<AttributeImpl> llvm::LLVMContextImpl::AttrsSet

Definition at line 1243 of file LLVMContextImpl.h.

Referenced by llvm::Attribute::get(), and ~LLVMContextImpl().

◆ AttrsSetNodes

FoldingSet<AttributeSetNode> llvm::LLVMContextImpl::AttrsSetNodes

Definition at line 1245 of file LLVMContextImpl.h.

Referenced by llvm::AttributeSetNode::get(), and ~LLVMContextImpl().

◆ BlockAddresses

DenseMap<std::pair<const Function *, const BasicBlock *>, BlockAddress *> llvm::LLVMContextImpl::BlockAddresses

Definition at line 1284 of file LLVMContextImpl.h.

Referenced by llvm::BlockAddress::get(), and llvm::BlockAddress::lookup().

◆ BundleTagCache

StringMap<uint32_t> llvm::LLVMContextImpl::BundleTagCache

A set of interned tags for operand bundles.

The StringMap maps bundle tags to their IDs.

See also
LLVMContext::getOperandBundleTagID

Definition at line 1350 of file LLVMContextImpl.h.

Referenced by getOperandBundleTagID(), getOperandBundleTags(), and getOrInsertBundleTag().

◆ CAZConstants

DenseMap<Type *, std::unique_ptr<ConstantAggregateZero> > llvm::LLVMContextImpl::CAZConstants

Definition at line 1266 of file LLVMContextImpl.h.

Referenced by llvm::ConstantAggregateZero::get(), and ~LLVMContextImpl().

◆ CDSConstants

StringMap<ConstantDataSequential*> llvm::LLVMContextImpl::CDSConstants

Definition at line 1281 of file LLVMContextImpl.h.

Referenced by llvm::ConstantDataSequential::getImpl(), and ~LLVMContextImpl().

◆ CPNConstants

DenseMap<PointerType *, std::unique_ptr<ConstantPointerNull> > llvm::LLVMContextImpl::CPNConstants

Definition at line 1277 of file LLVMContextImpl.h.

Referenced by llvm::ConstantPointerNull::get(), and ~LLVMContextImpl().

◆ CustomMDKindNames

StringMap<unsigned> llvm::LLVMContextImpl::CustomMDKindNames

CustomMDKindNames - Map to hold the metadata string to ID mapping.

Definition at line 1324 of file LLVMContextImpl.h.

Referenced by llvm::LLVMContext::getMDKindID(), and llvm::LLVMContext::getMDKindNames().

◆ DiagHandler

std::unique_ptr<DiagnosticHandler> llvm::LLVMContextImpl::DiagHandler

◆ DiagnosticsHotnessRequested

bool llvm::LLVMContextImpl::DiagnosticsHotnessRequested = false

◆ DiagnosticsHotnessThreshold

uint64_t llvm::LLVMContextImpl::DiagnosticsHotnessThreshold = 0

◆ DiagnosticsOutputFile

std::unique_ptr<yaml::Output> llvm::LLVMContextImpl::DiagnosticsOutputFile

◆ DiscardValueNames

bool llvm::LLVMContextImpl::DiscardValueNames = false

Flag to indicate if Value (other than GlobalValue) retains their name or not.

Definition at line 1379 of file LLVMContextImpl.h.

Referenced by llvm::LLVMContext::setDiscardValueNames(), and llvm::LLVMContext::shouldDiscardValueNames().

◆ DiscriminatorTable

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 1341 of file LLVMContextImpl.h.

◆ DistinctMDNodes

std::vector<MDNode *> llvm::LLVMContextImpl::DistinctMDNodes

Definition at line 1264 of file LLVMContextImpl.h.

Referenced by llvm::MDNode::storeDistinctInContext(), and ~LLVMContextImpl().

◆ DITypeMap

Optional<DenseMap<const MDString *, DICompositeType *> > llvm::LLVMContextImpl::DITypeMap

◆ DoubleTy

Type llvm::LLVMContextImpl::DoubleTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getDoubleTy().

◆ ExprConstants

ConstantUniqueMap<ConstantExpr> llvm::LLVMContextImpl::ExprConstants

◆ FloatTy

Type llvm::LLVMContextImpl::FloatTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getFloatTy().

◆ FP128Ty

Type llvm::LLVMContextImpl::FP128Ty

Definition at line 1296 of file LLVMContextImpl.h.

Referenced by llvm::Type::getFP128Ty().

◆ FPConstants

FPMapTy llvm::LLVMContextImpl::FPConstants

Definition at line 1241 of file LLVMContextImpl.h.

Referenced by llvm::ConstantFP::get(), and ~LLVMContextImpl().

◆ FunctionTypes

FunctionTypeSet llvm::LLVMContextImpl::FunctionTypes

Definition at line 1306 of file LLVMContextImpl.h.

Referenced by llvm::FunctionType::get().

◆ GCNames

DenseMap<const Function*, std::string> llvm::LLVMContextImpl::GCNames

Maintain the GC name for each function.

This saves allocating an additional word in Function for programs which do not use GC (i.e., most programs) at the cost of increased overhead for clients which do use GC.

Definition at line 1375 of file LLVMContextImpl.h.

Referenced by llvm::LLVMContext::deleteGC(), llvm::LLVMContext::getGC(), and llvm::LLVMContext::setGC().

◆ GlobalObjectMetadata

DenseMap<const GlobalObject *, MDGlobalAttachmentMap> llvm::LLVMContextImpl::GlobalObjectMetadata

◆ GlobalObjectSections

DenseMap<const GlobalObject *, StringRef> llvm::LLVMContextImpl::GlobalObjectSections

Collection of per-GlobalObject sections used in this context.

Definition at line 1333 of file LLVMContextImpl.h.

Referenced by llvm::GlobalValue::getComdat(), and llvm::GlobalObject::setSection().

◆ HalfTy

Type llvm::LLVMContextImpl::HalfTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getHalfTy().

◆ InlineAsmDiagContext

void* llvm::LLVMContextImpl::InlineAsmDiagContext = nullptr

◆ InlineAsmDiagHandler

LLVMContext::InlineAsmDiagHandlerTy llvm::LLVMContextImpl::InlineAsmDiagHandler = nullptr

◆ InlineAsms

ConstantUniqueMap<InlineAsm> llvm::LLVMContextImpl::InlineAsms

Definition at line 1287 of file LLVMContextImpl.h.

Referenced by llvm::InlineAsm::get(), and ~LLVMContextImpl().

◆ InstructionMetadata

DenseMap<const Instruction *, MDAttachmentMap> llvm::LLVMContextImpl::InstructionMetadata

Collection of per-instruction metadata used in this context.

Definition at line 1327 of file LLVMContextImpl.h.

Referenced by llvm::Instruction::dropUnknownNonDebugMetadata(), llvm::Instruction::extractProfTotalWeight(), llvm::Instruction::setAAMetadata(), and ~LLVMContextImpl().

◆ Int128Ty

IntegerType llvm::LLVMContextImpl::Int128Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt128Ty().

◆ Int16Ty

IntegerType llvm::LLVMContextImpl::Int16Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt16Ty().

◆ Int1Ty

IntegerType llvm::LLVMContextImpl::Int1Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt1Ty().

◆ Int32Ty

IntegerType llvm::LLVMContextImpl::Int32Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt32Ty().

◆ Int64Ty

IntegerType llvm::LLVMContextImpl::Int64Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt64Ty().

◆ Int8Ty

IntegerType llvm::LLVMContextImpl::Int8Ty

Definition at line 1297 of file LLVMContextImpl.h.

Referenced by llvm::Type::getInt8Ty().

◆ IntConstants

IntMapTy llvm::LLVMContextImpl::IntConstants

Definition at line 1237 of file LLVMContextImpl.h.

Referenced by llvm::ConstantInt::get(), and ~LLVMContextImpl().

◆ IntegerTypes

DenseMap<unsigned, IntegerType*> llvm::LLVMContextImpl::IntegerTypes

Definition at line 1303 of file LLVMContextImpl.h.

Referenced by llvm::IntegerType::get().

◆ LabelTy

Type llvm::LLVMContextImpl::LabelTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getLabelTy().

◆ MDStringCache

StringMap<MDString, BumpPtrAllocator> llvm::LLVMContextImpl::MDStringCache

Definition at line 1247 of file LLVMContextImpl.h.

Referenced by llvm::MDString::get().

◆ MetadataAsValues

DenseMap<Metadata *, MetadataAsValue *> llvm::LLVMContextImpl::MetadataAsValues

◆ MetadataTy

Type llvm::LLVMContextImpl::MetadataTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getMetadataTy().

◆ NamedStructTypes

StringMap<StructType*> llvm::LLVMContextImpl::NamedStructTypes

Definition at line 1309 of file LLVMContextImpl.h.

Referenced by llvm::Module::getTypeByName(), and llvm::StructType::setName().

◆ NamedStructTypesUniqueID

unsigned llvm::LLVMContextImpl::NamedStructTypesUniqueID = 0

Definition at line 1310 of file LLVMContextImpl.h.

Referenced by llvm::StructType::setName().

◆ OPG

OptPassGate* llvm::LLVMContextImpl::OPG = nullptr
mutable

Definition at line 1387 of file LLVMContextImpl.h.

Referenced by getOptPassGate(), and setOptPassGate().

◆ OwnedModules

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 1221 of file LLVMContextImpl.h.

Referenced by llvm::LLVMContext::~LLVMContext(), and ~LLVMContextImpl().

◆ PointerTypes

DenseMap<Type*, PointerType*> llvm::LLVMContextImpl::PointerTypes

Definition at line 1314 of file LLVMContextImpl.h.

Referenced by llvm::PointerType::get().

◆ PPC_FP128Ty

Type llvm::LLVMContextImpl::PPC_FP128Ty

Definition at line 1296 of file LLVMContextImpl.h.

Referenced by llvm::Type::getPPC_FP128Ty().

◆ RespectDiagnosticFilters

bool llvm::LLVMContextImpl::RespectDiagnosticFilters = false

◆ SectionStrings

StringSet llvm::LLVMContextImpl::SectionStrings

Stable collection of section strings.

Definition at line 1336 of file LLVMContextImpl.h.

Referenced by llvm::GlobalObject::setSection().

◆ SSC

StringMap<SyncScope::ID> llvm::LLVMContextImpl::SSC

A set of interned synchronization scopes.

The StringMap maps synchronization scope names to their respective synchronization scope IDs.

Definition at line 1358 of file LLVMContextImpl.h.

Referenced by getOrInsertSyncScopeID(), and getSyncScopeNames().

◆ StructConstants

StructConstantsTy llvm::LLVMContextImpl::StructConstants

◆ TheFalseVal

ConstantInt* llvm::LLVMContextImpl::TheFalseVal = nullptr

Definition at line 1290 of file LLVMContextImpl.h.

Referenced by llvm::ConstantInt::getFalse().

◆ TheNoneToken

std::unique_ptr<ConstantTokenNone> llvm::LLVMContextImpl::TheNoneToken

Definition at line 1292 of file LLVMContextImpl.h.

Referenced by llvm::ConstantTokenNone::get().

◆ TheTrueVal

ConstantInt* llvm::LLVMContextImpl::TheTrueVal = nullptr

Definition at line 1289 of file LLVMContextImpl.h.

Referenced by llvm::ConstantInt::getTrue().

◆ TokenTy

Type llvm::LLVMContextImpl::TokenTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getTokenTy().

◆ TypeAllocator

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 1301 of file LLVMContextImpl.h.

Referenced by llvm::StructType::create(), llvm::IntegerType::get(), llvm::FunctionType::get(), llvm::StructType::get(), llvm::ArrayType::get(), llvm::VectorType::get(), and llvm::PointerType::get().

◆ UVConstants

DenseMap<Type *, std::unique_ptr<UndefValue> > llvm::LLVMContextImpl::UVConstants

Definition at line 1279 of file LLVMContextImpl.h.

Referenced by llvm::UndefValue::get(), and ~LLVMContextImpl().

◆ ValueHandles

ValueHandlesTy llvm::LLVMContextImpl::ValueHandles

◆ ValueNames

DenseMap<const Value*, ValueName*> llvm::LLVMContextImpl::ValueNames

Definition at line 1251 of file LLVMContextImpl.h.

Referenced by llvm::Value::getValueName(), and llvm::Value::setValueName().

◆ ValuesAsMetadata

DenseMap<Value *, ValueAsMetadata *> llvm::LLVMContextImpl::ValuesAsMetadata

◆ VectorConstants

VectorConstantsTy llvm::LLVMContextImpl::VectorConstants

◆ VectorTypes

DenseMap<std::pair<Type *, unsigned>, VectorType*> llvm::LLVMContextImpl::VectorTypes

Definition at line 1313 of file LLVMContextImpl.h.

Referenced by llvm::VectorType::get().

◆ VoidTy

Type llvm::LLVMContextImpl::VoidTy

Definition at line 1295 of file LLVMContextImpl.h.

Referenced by llvm::Type::getVoidTy().

◆ X86_FP80Ty

Type llvm::LLVMContextImpl::X86_FP80Ty

Definition at line 1296 of file LLVMContextImpl.h.

Referenced by llvm::Type::getX86_FP80Ty().

◆ X86_MMXTy

Type llvm::LLVMContextImpl::X86_MMXTy

Definition at line 1296 of file LLVMContextImpl.h.

Referenced by llvm::Type::getX86_MMXTy().

◆ YieldCallback

LLVMContext::YieldCallbackTy llvm::LLVMContextImpl::YieldCallback = nullptr

◆ YieldOpaqueHandle

void* llvm::LLVMContextImpl::YieldOpaqueHandle = nullptr

The documentation for this class was generated from the following files: