Attributes(RK).emit(OS);
}
-} // End llvm namespace.
+} // namespace llvm
//
//===----------------------------------------------------------------------===//
-#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/MemoryBuffer.h"
+#include "llvm/Support/SourceMgr.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include <algorithm>
void EmitCTags(RecordKeeper &RK, raw_ostream &OS) { CTagsEmitter(RK).run(OS); }
-} // End llvm namespace.
+} // namespace llvm
} // End anonymous namespace
void CallingConvEmitter::run(raw_ostream &O) {
- std::vector<Record*> CCs = Records.getAllDerivedDefinitions("CallingConv");
+ std::vector<Record *> CCs = Records.getAllDerivedDefinitions("CallingConv");
// Emit prototypes for all of the non-custom CC's so that they can forward ref
// each other.
CallingConvEmitter(RK).run(OS);
}
-} // End llvm namespace
+} // namespace llvm
DAGISelEmitter(RK).run(OS);
}
-} // End llvm namespace
+} // namespace llvm
F.printFunctionDefinitions(OS);
}
-} // End llvm namespace
+} // namespace llvm
void EmitGlobalISel(RecordKeeper &RK, raw_ostream &OS) {
GlobalISelEmitter(RK).run(OS);
}
-} // End llvm namespace
+} // namespace llvm
} // end anonymous namespace
-static void PrintDefList(const std::vector<Record*> &Uses,
- unsigned Num, raw_ostream &OS) {
+static void PrintDefList(const std::vector<Record *> &Uses, unsigned Num,
+ raw_ostream &OS) {
OS << "static const MCPhysReg ImplicitList" << Num << "[] = { ";
for (auto [Idx, U] : enumerate(Uses))
OS << (Idx ? ", " : "") << getQualifiedName(U);
PseudoLoweringEmitter(RK).run(OS);
}
-} // End llvm namespace
+} // namespace llvm
SearchableTableEmitter(RK).run(OS);
}
-} // End llvm namespace.
+} // namespace llvm
#include "CodeGenSchedule.h"
#include "CodeGenTarget.h"
#include "PredicateExpander.h"
-#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCInstrItineraries.h"
case GenOptRST:
EmitOptRST(Records, OS);
break;
- case PrintEnums:
- {
+ case PrintEnums: {
for (Record *Rec : Records.getAllDerivedDefinitions(Class))
OS << Rec->getName() << ", ";
OS << "\n";
// Print CheckVEXInstPredicate function.
printCheckPredicate(EVEX2VEXPredicates, OS);
}
-}
+} // namespace
namespace llvm {
void EmitX86EVEX2VEXTables(RecordKeeper &RK, raw_ostream &OS) {
X86EVEX2VEXTablesEmitter(RK).run(OS);
}
-}
+} // namespace llvm