9#ifndef LLVM_SANDBOXIR_MODULE_H
10#define LLVM_SANDBOXIR_MODULE_H
47 return LLVMM.getSourceFileName();
55 bool AllowInternal)
const;
#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.
Machine Check Debug Module
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.
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.
LLVM_ABI GlobalIFunc * getNamedIFunc(StringRef Name) const
Return the global ifunc in the module with the specified name, of arbitrary type.
LLVM_ABI GlobalAlias * getNamedAlias(StringRef Name) const
Return the global alias in the module with the specified name, of arbitrary type.
const DataLayout & getDataLayout() const
LLVM_ABI GlobalVariable * getGlobalVariable(StringRef Name, bool AllowInternal) const
Look up the specified global variable in the module symbol table.
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
Context & getContext() const
LLVM_DUMP_METHOD void dump() const
const std::string & getSourceFileName() const
LLVM_ABI Function * getFunction(StringRef Name) const
Just like llvm::Type these are immutable, unique, never get freed and can only be created via static ...
This is an optimization pass for GlobalISel generic memory operations.