18 llvm::Function *LLVMF = LLVMM.getFunction(Name);
23 bool AllowInternal)
const {
25 Ctx.getValue(LLVMM.getGlobalVariable(Name, AllowInternal)));
void dump() const
Dump the module to stderr (for debugging).
GlobalIFunc * getNamedIFunc(StringRef Name) const
Return the global ifunc in the module with the specified name, of arbitrary type.
GlobalVariable * getGlobalVariable(StringRef Name) const
Look up the specified global variable in the module symbol table.
GlobalAlias * getNamedAlias(StringRef Name) const
Return the global alias in the module with the specified name, of arbitrary type.
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.
void dumpOS(raw_ostream &OS) const
LLVM_ABI Function * getFunction(StringRef Name) const
void dumpOS(raw_ostream &OS) const final
auto cast_or_null(const Y &Val)
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.