• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/

Lines Matching defs:Module

1 //===- llvm/Module.h - C++ class to represent a VM module -------*- C++ -*-===//
10 /// Module.h This file contains the declarations for the Module class.
56 /// A Module instance is used to store all the information related to an
67 class Module {
196 std::string TargetTriple; ///< Platform target triple Module compiled on
207 /// The Module constructor. Note that there is no default constructor. You
209 explicit Module(StringRef ModuleID, LLVMContext& C);
211 ~Module();
214 /// @name Module Level Accessors
278 /// @name Module Level Mutators
407 return static_cast<const Module *>(this)->getGlobalVariable(Name,
419 static_cast<const Module *>(this)->getNamedGlobal(Name));
477 /// @name Module Flags Accessors
513 /// destroying the Module, there is no way to detach or destroy a materializer
517 /// Retrieves the GVMaterializer, if any, for this Module.
524 /// Make sure all GlobalValues in this Module are fully read and clear the
534 /// Get the Module's list of global variables (constant).
536 /// Get the Module's list of global variables.
539 static GlobalListType Module::*getSublistAccess(GlobalVariable*) {
540 return &Module::GlobalList;
543 /// Get the Module's list of functions (constant).
545 /// Get the Module's list of functions.
547 static FunctionListType Module::*getSublistAccess(Function*) {
548 return &Module::FunctionList;
551 /// Get the Module's list of aliases (constant).
553 /// Get the Module's list of aliases.
556 static AliasListType Module::*getSublistAccess(GlobalAlias*) {
557 return &Module::AliasList;
560 /// Get the Module's list of ifuncs (constant).
562 /// Get the Module's list of ifuncs.
565 static IFuncListType Module::*getSublistAccess(GlobalIFunc*) {
566 return &Module::IFuncList;
569 /// Get the Module's list of named metadata (constant).
571 /// Get the Module's list of named metadata.
574 static NamedMDListType Module::*getSublistAccess(NamedMDNode*) {
575 return &Module::NamedMDList;
580 /// Get the Module's symbol table of global variable and function identifiers.
583 /// Get the Module's symbol table for COMDATs (constant).
585 /// Get the Module's symbol table for COMDATs.
759 /// Return an iterator for all DICompileUnits listed in this Module's
779 /// @name Utility functions for printing and dumping Module objects
895 GlobalVariable *collectUsedGlobalVariables(const Module &M,
900 inline raw_ostream &operator<<(raw_ostream &O, const Module &M) {
906 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Module, LLVMModuleRef)
909 * Module.
911 inline Module *unwrap(LLVMModuleProviderRef MP) {
912 return reinterpret_cast<Module*>(MP);