LLVM 22.0.0git
TargetExecutionUtils.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::orc

Functions

LLVM_ABI int llvm::orc::runAsMain (int(*Main)(int, char *[]), ArrayRef< std::string > Args, std::optional< StringRef > ProgramName=std::nullopt)
 Run a main function, returning the result.
LLVM_ABI int llvm::orc::runAsVoidFunction (int(*Func)(void))
LLVM_ABI int llvm::orc::runAsIntFunction (int(*Func)(int), int Arg)