Go to the documentation of this file.
26 if (
S.getName() == Name)
27 return S.instantiate();
44 const std::string
error =
45 std::string(
"unsupported GC: ") + Name.str() +
46 " (did you remember to link and initialize the library?)";
This is an optimization pass for GlobalISel generic memory operations.
static iterator_range< iterator > entries()
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
StringRef - Represent a constant reference to a string, i.e.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS)
Instantiate a registry class.
A global registry used in conjunction with static constructors to make pluggable components (like tar...
std::unique_ptr< GCStrategy > getGCStrategy(const StringRef Name)
Lookup the GCStrategy object associated with the given gc name.
void linkAllBuiltinGCs()
FIXME: Collector instances are not useful on their own.