#include "llvm/SandboxIR/Module.h"
#include "llvm/SandboxIR/Constant.h"
#include "llvm/SandboxIR/Context.h"
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Value.h"
usingnamespacellvm::sandboxir;
Function *Module::getFunction(StringRef Name) const { … }
GlobalVariable *Module::getGlobalVariable(StringRef Name,
bool AllowInternal) const { … }
GlobalAlias *Module::getNamedAlias(StringRef Name) const { … }
GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { … }
#ifndef NDEBUG
void Module::dumpOS(raw_ostream &OS) const { OS << LLVMM; }
void Module::dump() const {
dumpOS(dbgs());
dbgs() << "\n";
}
#endif