LLVM 17.0.0git
|
#include "TGParser.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <limits>
Go to the source code of this file.
Classes | |
struct | llvm::SubClassReference |
struct | llvm::SubMultiClassReference |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Functions | |
static bool | checkBitsConcrete (Record &R, const RecordVal &RV) |
static void | checkConcrete (Record &R) |
static Init * | QualifyName (Record &CurRec, MultiClass *CurMultiClass, Init *Name, StringRef Scoper) |
Return an Init with a qualifier prefix referring to CurRec's name. | |
static Init * | QualifiedNameOfImplicitName (Record &Rec, MultiClass *MC=nullptr) |
Return the qualified version of the implicit 'NAME' template argument. | |
static Init * | QualifiedNameOfImplicitName (MultiClass *MC) |
static bool | isObjectStart (tgtok::TokKind K) |
isObjectStart - Return true if this is a valid first token for a statement. | |
Definition at line 71 of file TGParser.cpp.
References llvm::BitsInit::getBit(), llvm::BitsInit::getNumBits(), llvm::RecordVal::getValue(), and VI.
Referenced by checkConcrete().
|
static |
Definition at line 90 of file TGParser.cpp.
References checkBitsConcrete(), and llvm::PrintError().
|
static |
isObjectStart - Return true if this is a valid first token for a statement.
Definition at line 613 of file TGParser.cpp.
References llvm::tgtok::Assert, llvm::tgtok::Class, llvm::tgtok::Def, llvm::tgtok::Defm, llvm::tgtok::Defset, llvm::tgtok::Defvar, llvm::tgtok::Foreach, llvm::tgtok::If, llvm::tgtok::Let, and llvm::tgtok::MultiClass.
|
static |
Definition at line 138 of file TGParser.cpp.
References QualifiedNameOfImplicitName(), and llvm::MultiClass::Rec.
|
static |
Return the qualified version of the implicit 'NAME' template argument.
Definition at line 132 of file TGParser.cpp.
References llvm::StringInit::get(), llvm::Record::getRecords(), and QualifyName().
Referenced by QualifiedNameOfImplicitName().
|
static |
Return an Init with a qualifier prefix referring to CurRec's name.
Definition at line 114 of file TGParser.cpp.
References llvm::StringInit::get(), llvm::Record::getNameInit(), llvm::Record::getRecords(), llvm::BinOpInit::getStrConcat(), Name, and llvm::MultiClass::Rec.
Referenced by llvm::TGVarScope::getVar(), and QualifiedNameOfImplicitName().