Global namespace

Namespaces

NameDescription
llvm Top-level LLVM library namespace.

Macros

NameDescription
BEGIN_REGISTER_VP_SDNODE Emit a Vector Predication SDNode enumerator from VPSDID.
CTXPROF_FUNCTION_DATA Declares the fields of FunctionData shared with LLVM.
DEBUG_WITH_TYPE Execute VA_ARGS when -debug is enabled for TYPE.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS Macro for generating in-class operand accessor declarations. It should only be called in the public section of the interface.
DEFINE_TRANSPARENT_OPERAND_ACCESSORS Macro for generating out-of-class operand accessor definitions.
DEF_CONST Expand to a ClassID enumerator for a Constant subclass.
DEF_INSTR Expand to a ClassID enumerator for an Instruction subclass.
DEF_USER Expand to a ClassID enumerator for a User subclass.
DEF_VALUE Expand to a ClassID enumerator for a Value subclass.
GET_R600_GPU_ENUM Not specified processor.
GET_RUNTIME_LIBCALL_ENUM Include RuntimeLibcalls.inc to define RTLIB::Libcall and LibcallImpl enums.
GET_RUNTIME_LIBCALL_FP_SELECTOR_DECLS Declare floating-point libcall selector overloads for each family.
HANDLE_BB_ADDR_MAP_FEATURE Expand a feature name into a bit-index enumerator.
HANDLE_BINARY_INST Declare a Create helper that forwards to Create for one binary opcode.
HANDLE_BINARY_INST Declare a Create helper with an explicit insertion point for one binary opcode.
HANDLE_DIEVALUE Expand to the DIEValue::Type enumerator for payload type T.
HANDLE_DIEVALUE_SMALL Return the stored small DIE value of type DIE##T.
HANDLE_DW_LANG Expand one DWARF source-language enumerator from Dwarf.def.
HANDLE_DW_SECT Expand one DWARF package-file section kind enumerator from Dwarf.def.
HANDLE_OUTPUT_CONFIG_FLAG Expand to a member initializer for one OutputConfig flag.
HANDLE_UNARY_INST Declare a Create helper that forwards to Create for one unary opcode.
HANDLE_UNARY_INST Declare a Create helper with an explicit insertion point for one unary opcode.
LAST_OTHER_INST Capture the maximum opcode number from Instruction.def as MaxOpcodes.
LDBG output. The default level is 1, and is in increasing level of verbosity.
LDBG_GET_DEBUG_TYPE_STR__ Helpers to get DEBUG_TYPE as a StringRef, even when DEBUG_TYPE is not defined (in which case it expands to "DEBUG_TYPE")
LDBG_GET_DEFAULT_TYPE_OR_LEVEL Provide the default level (=1) or type (=DEBUG_TYPE) for a single argument.
LDBG_LEVEL_OR_TYPE Expand LDBG() when a single level-or-type argument is provided.
LDBG_OS Invoke a callback with a prefixed debug raw_ostream, like LDBG().
LDBG_OS_IMPL This macro is the core of the LDBG_OS() macros. It is used to print the debug output with the given stream, level, type, file, and line number.
LDBG_STREAM This macro expands to the stream to use for output, we use a macro to allow unit-testing to override.
LDBG_STREAM_LEVEL_TYPE_AND_FILE These macros are helpers to implement LDBG() with an increasing amount of optional arguments made explicit.
LDBG_STREAM_LEVEL_TYPE_FILE_AND_LINE This macro is the core of the LDBG() implementation. It is used to print the debug output with the given stream, level, type, file, and line number.
LDBG_TYPE_AND_LEVEL Expand LDBG() when both a debug type and a level are provided.
LLVM_DECLARE_ENUM_AS_BITMASK LLVM_DECLARE_ENUM_AS_BITMASK can be used to declare an enum type as a bit set, so that bitwise operation on such enum does not require static_cast.
LLVM_DECLARE_REGISTRY Helper macro to declare registry class.
LLVM_DECLARE_REGISTRY_EX Helper macro to declare a registry class with an explicit export annotation.
LLVM_DEFINE_REGISTRY Helper macro to define registry class.
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE() pulls the operator overloads used by LLVM_MARK_AS_BITMASK_ENUM into the current namespace.
LLVM_MARK_AS_BITMASK_ENUM LLVM_MARK_AS_BITMASK_ENUM lets you opt in an individual enum type so you can perform bitwise operations on it without putting static_cast everywhere.
LLVM_PLUGIN_API_VERSION macro LLVM_PLUGIN_API_VERSION Identifies the API version understood by this plugin.
LLVM_YAML_IS_DOCUMENT_LIST_VECTOR Utility for declaring that a std::vector of a particular type should be considered a YAML document list.
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR Utility for declaring that a std::vector of a particular type should be considered a YAML flow sequence.
LLVM_YAML_IS_SEQUENCE_VECTOR Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
LLVM_YAML_IS_STRING_MAP Utility for declaring that std::map<std::string, _type> should be considered a YAML map.
LLVM_YAML_STRONG_TYPEDEF Define a distinct strong typedef _type over integral base _base.
MAKE_CAS_HANDLE_CONSTRUCTOR Allow ObjectStore implementations to create internal handles.
MIBEntryDef Declare one MemInfoBlock schema field as a Meta enumerator.
NVPTX_GPU Expand one NVPTX GPU enumerator from NVPTXTargetParser.def.
OMP_TYPE Declarations for OpenMP LLVM-IR types from OpenMPKinds.def.
R_TYPE_SHIFT Bit shift for the primary N64 relocation type field.
SUPPORTED_TENSOR_TYPES X-macro listing C element types paired with TensorType enumerator names.

Using Namespace Directives

NameDescription
endian Helpers to read and write values with an explicit byte order.
llvm Top-level LLVM library namespace.