LLVM  7.0.0
Classes | Namespaces | Typedefs | Functions | Variables
Core.h File Reference
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ExecutionEngine/JITSymbol.h"
#include "llvm/ExecutionEngine/Orc/SymbolStringPool.h"
#include "llvm/IR/Module.h"
#include <list>
#include <map>
#include <memory>
#include <set>
#include <vector>
Include dependency graph for Core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::orc::FailedToMaterialize
 Used to notify a VSO that the given set of symbols failed to materialize. More...
 
class  llvm::orc::SymbolsNotFound
 Used to notify clients when symbols can not be found during a lookup. More...
 
class  llvm::orc::MaterializationResponsibility
 Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and VSOs. More...
 
class  llvm::orc::MaterializationUnit
 A MaterializationUnit represents a set of symbol definitions that can be materialized as a group, or individually discarded (when overriding definitions are encountered). More...
 
class  llvm::orc::AbsoluteSymbolsMaterializationUnit
 A MaterializationUnit implementation for pre-existing absolute symbols. More...
 
struct  llvm::orc::SymbolAliasMapEntry
 
class  llvm::orc::ReExportsMaterializationUnit
 A materialization unit for symbol aliases. More...
 
class  llvm::orc::ExecutionSessionBase
 Base utilities for ExecutionSession. More...
 
class  llvm::orc::AsynchronousSymbolQuery
 A symbol query that returns results via a callback when results are ready. More...
 
class  llvm::orc::VSO
 A symbol table that supports asynchoronous symbol queries. More...
 
class  llvm::orc::ExecutionSession
 An ExecutionSession represents a running JIT program. More...
 
class  llvm::orc::MangleAndInterner
 Mangles symbol names then uniques them in the context of an ExecutionSession. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::orc
 

Typedefs

using llvm::orc::VModuleKey = uint64_t
 VModuleKey provides a unique identifier (allocated and managed by ExecutionSessions) for a module added to the JIT. More...
 
using llvm::orc::SymbolNameSet = std::set< SymbolStringPtr >
 A set of symbol names (represented by SymbolStringPtrs for. More...
 
using llvm::orc::SymbolMap = std::map< SymbolStringPtr, JITEvaluatedSymbol >
 A map from symbol names (as SymbolStringPtrs) to JITSymbols (address/flags pairs). More...
 
using llvm::orc::SymbolFlagsMap = std::map< SymbolStringPtr, JITSymbolFlags >
 A map from symbol names (as SymbolStringPtrs) to JITSymbolFlags. More...
 
using llvm::orc::SymbolDependenceMap = std::map< VSO *, SymbolNameSet >
 A base class for materialization failures that allows the failing symbols to be obtained for logging. More...
 
using llvm::orc::VSOList = std::vector< VSO * >
 A list of VSO pointers. More...
 
using llvm::orc::SymbolsResolvedCallback = std::function< void(Expected< SymbolMap >)>
 Callback to notify client that symbols have been resolved. More...
 
using llvm::orc::SymbolsReadyCallback = std::function< void(Error)>
 Callback to notify client that symbols are ready for execution. More...
 
using llvm::orc::RegisterDependenciesFunction = std::function< void(const SymbolDependenceMap &)>
 Callback to register the dependencies for a given query. More...
 
using llvm::orc::MaterializationUnitList = std::vector< std::unique_ptr< MaterializationUnit > >
 
using llvm::orc::SymbolAliasMap = std::map< SymbolStringPtr, SymbolAliasMapEntry >
 A map of Symbols to (Symbol, Flags) pairs. More...
 

Functions

raw_ostream & llvm::orc::operator<< (raw_ostream &OS, const SymbolNameSet &Symbols)
 Render a SymbolNameSet to an ostream. More...
 
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, const SymbolMap &Symbols)
 Render a SymbolMap to an ostream. More...
 
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, const SymbolFlagsMap &Symbols)
 Render a SymbolMap to an ostream. More...
 
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, const SymbolDependenceMap &Deps)
 Render a SymbolDependendeMap. More...
 
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, const VSOList &VSOs)
 Render a VSOList. More...
 
std::unique_ptr< AbsoluteSymbolsMaterializationUnit > llvm::orc::absoluteSymbols (SymbolMap Symbols)
 Create an AbsoluteSymbolsMaterializationUnit with the given symbols. More...
 
std::unique_ptr< ReExportsMaterializationUnit > llvm::orc::symbolAliases (SymbolAliasMap Aliases)
 Create a ReExportsMaterializationUnit with the given aliases. More...
 
std::unique_ptr< ReExportsMaterializationUnit > llvm::orc::reexports (VSO &SourceV, SymbolAliasMap Aliases)
 Create a materialization unit for re-exporting symbols from another VSO with alternative names/flags. More...
 
Expected< SymbolAliasMap > llvm::orc::buildSimpleReexportsAliasMap (VSO &SourceV, const SymbolNameSet &Symbols)
 Build a SymbolAliasMap for the common case where you want to re-export symbols from another VSO with the same linkage/flags. More...
 
Expected< SymbolMap > llvm::orc::lookup (const VSOList &VSOs, SymbolNameSet Names)
 Look up the given names in the given VSOs. More...
 
Expected< JITEvaluatedSymbol > llvm::orc::lookup (const VSOList &VSOs, SymbolStringPtr Name)
 Look up a symbol by searching a list of VSOs. More...
 

Variables

RegisterDependenciesFunction llvm::orc::NoDependenciesToRegister
 This can be used as the value for a RegisterDependenciesFunction if there are no dependants to register with. More...