LLVM 22.0.0git
VirtualOutputConfig.h File Reference

This file contains the declarations of the OutputConfig class. More...

#include "llvm/Support/VirtualOutputConfig.def"

Go to the source code of this file.

Classes

struct  llvm::vfs::detail::EmptyBaseClass
 Unused and empty base class to allow OutputConfig constructor to be constexpr, with commas before every field's initializer. More...
struct  llvm::vfs::OutputConfig
 Full configuration for an output for use by the OutputBackend. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::sys
namespace  llvm::sys::fs
namespace  llvm::vfs
namespace  llvm::vfs::detail

Macros

#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT)
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT)
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT)
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT)

Functions

raw_ostreamllvm::operator<< (raw_ostream &OS, vfs::OutputConfig Config)

Detailed Description

This file contains the declarations of the OutputConfig class.

Definition in file VirtualOutputConfig.h.

Macro Definition Documentation

◆ HANDLE_OUTPUT_CONFIG_FLAG [1/4]

#define HANDLE_OUTPUT_CONFIG_FLAG ( NAME,
DEFAULT )
Value:
constexpr bool get##NAME() const { return NAME; } \
constexpr bool getNo##NAME() const { return !NAME; } \
constexpr OutputConfig &set##NAME(bool Value) { \
NAME = Value; \
return *this; \
} \
constexpr OutputConfig &set##NAME() { return set##NAME(true); } \
constexpr OutputConfig &setNo##NAME() { return set##NAME(false); }

Definition at line 40 of file VirtualOutputConfig.h.

Referenced by llvm::vfs::OutputConfig::OutputConfig().

◆ HANDLE_OUTPUT_CONFIG_FLAG [2/4]

#define HANDLE_OUTPUT_CONFIG_FLAG ( NAME,
DEFAULT )
Value:
, NAME(DEFAULT)
@ DEFAULT
Default weight is used in cases when there is no dedicated execution weight set.

Definition at line 40 of file VirtualOutputConfig.h.

◆ HANDLE_OUTPUT_CONFIG_FLAG [3/4]

#define HANDLE_OUTPUT_CONFIG_FLAG ( NAME,
DEFAULT )
Value:
if (NAME != RHS.NAME) \
return false;
Value * RHS

Definition at line 40 of file VirtualOutputConfig.h.

◆ HANDLE_OUTPUT_CONFIG_FLAG [4/4]

#define HANDLE_OUTPUT_CONFIG_FLAG ( NAME,
DEFAULT )
Value:
bool NAME : 1;

Definition at line 40 of file VirtualOutputConfig.h.