9#ifndef LLVM_SANDBOXIR_MODULE_H
10#define LLVM_SANDBOXIR_MODULE_H
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
Module.h This file contains the declarations for the Module class.
A parsed version of the target data layout string in and methods for querying it.
A Module instance is used to store all the information related to an LLVM module.
const std::string & getSourceFileName() const
Get the module's original source file name.
const DataLayout & getDataLayout() const
Get the data layout for the module's target platform.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
In SandboxIR the Module is mainly used to access the list of global objects.
GlobalAlias * getNamedAlias(StringRef Name) const
Return the global alias in the module with the specified name, of arbitrary type.
const DataLayout & getDataLayout() const
void dumpOS(raw_ostream &OS) const
GlobalVariable * getNamedGlobal(StringRef Name) const
Return the global variable in the module with the specified name, of arbitrary type.
GlobalVariable * getGlobalVariable(StringRef Name) const
GlobalVariable * getGlobalVariable(StringRef Name, bool AllowInternal) const
Look up the specified global variable in the module symbol table.
Context & getContext() const
GlobalIFunc * getNamedIFunc(StringRef Name) const
Return the global ifunc in the module with the specified name, of arbitrary type.
LLVM_DUMP_METHOD void dump() const
Function * getFunction(StringRef Name) const
const std::string & getSourceFileName() const
This is an optimization pass for GlobalISel generic memory operations.