Module

Modules are the top level container of all other LLVM Intermediate Representation (IR) objects.

// Look up the specified function in the module symbol table.
FunctionCallee getOrInsertFunction (StringRef Name, FunctionType *T);
Function *getFunction (StringRef Name) const;

// Get the global data context.
LLVMContext & getContext () const;

// Set the target triple.
void setTargetTriple (StringRef T);