13#define DONT_GET_PLUGIN_LOADER_OPTION 
   25  std::vector<std::string> List;
 
   28Plugins &getPlugins() {
 
   36  auto &
P = getPlugins();
 
   40    errs() << 
"Error opening '" << Filename << 
"': " << 
Error 
   41           << 
"\n  -load request ignored.\n";
 
   43    P.List.push_back(Filename);
 
 
   48  auto &
P = getPlugins();
 
 
   54  auto &
P = getPlugins();
 
   56  assert(num < 
P.List.size() && 
"Asking for an out of bounds plugin");
 
 
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
 
Lightweight error class with error context and mandatory checking.
 
static bool LoadLibraryPermanently(const char *Filename, std::string *ErrMsg=nullptr)
This function permanently loads the dynamic library at the given path.
 
SmartMutex - A mutex with a compile time constant parameter that indicates whether this mutex should ...
 
std::lock_guard< SmartMutex< mt_only > > SmartScopedLock
 
This is an optimization pass for GlobalISel generic memory operations.
 
LLVM_ABI raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
 
static LLVM_ABI std::string & getPlugin(unsigned num)
 
static LLVM_ABI unsigned getNumPlugins()
 
LLVM_ABI void operator=(const std::string &Filename)