LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::RecordsEntry Struct Reference

RecordsEntry - Holds exactly one of a Record, ForeachLoop, or AssertionInfo. More...

#include "TableGen/TGParser.h"

Public Member Functions

void dump () const
 
 RecordsEntry ()=default
 
 RecordsEntry (std::unique_ptr< Record > Rec)
 
 RecordsEntry (std::unique_ptr< ForeachLoop > Loop)
 
 RecordsEntry (std::unique_ptr< Record::AssertionInfo > Assertion)
 
 RecordsEntry (std::unique_ptr< Record::DumpInfo > Dump)
 

Public Attributes

std::unique_ptr< RecordRec
 
std::unique_ptr< ForeachLoopLoop
 
std::unique_ptr< Record::AssertionInfoAssertion
 
std::unique_ptr< Record::DumpInfoDump
 

Detailed Description

RecordsEntry - Holds exactly one of a Record, ForeachLoop, or AssertionInfo.

Definition at line 40 of file TGParser.h.

Constructor & Destructor Documentation

◆ RecordsEntry() [1/5]

llvm::RecordsEntry::RecordsEntry ( )
default

◆ RecordsEntry() [2/5]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< Record Rec)
inline

Definition at line 49 of file TGParser.h.

◆ RecordsEntry() [3/5]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< ForeachLoop Loop)
inline

Definition at line 50 of file TGParser.h.

◆ RecordsEntry() [4/5]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< Record::AssertionInfo Assertion)
inline

Definition at line 51 of file TGParser.h.

◆ RecordsEntry() [5/5]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< Record::DumpInfo Dump)
inline

Definition at line 53 of file TGParser.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void RecordsEntry::dump ( ) const

Definition at line 4455 of file TGParser.cpp.

References llvm::Loop::dump(), and Rec.

Referenced by llvm::ForeachLoop::dump(), and llvm::MultiClass::dump().

Member Data Documentation

◆ Assertion

std::unique_ptr<Record::AssertionInfo> llvm::RecordsEntry::Assertion

Definition at line 43 of file TGParser.h.

◆ Dump

std::unique_ptr<Record::DumpInfo> llvm::RecordsEntry::Dump

Definition at line 44 of file TGParser.h.

◆ Loop

std::unique_ptr<ForeachLoop> llvm::RecordsEntry::Loop

Definition at line 42 of file TGParser.h.

◆ Rec

std::unique_ptr<Record> llvm::RecordsEntry::Rec

Definition at line 41 of file TGParser.h.

Referenced by dump().


The documentation for this struct was generated from the following files: