LLVM 23.0.0git
GOFFAsmParser.cpp
Go to the documentation of this file.
1//===- GOFFAsmParser.cpp - GOFF Assembly Parser ---------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10
11using namespace llvm;
12
13namespace {
14
15class GOFFAsmParser : public MCAsmParserExtension {
16public:
17 GOFFAsmParser() = default;
18
19 void Initialize(MCAsmParser &Parser) override {
20 // Call the base implementation.
22 }
23};
24
25} // namespace
26
27MCAsmParserExtension *llvm::createGOFFAsmParser() { return new GOFFAsmParser; }
Generic interface for extending the MCAsmParser, which is implemented by target and object file assem...
virtual void Initialize(MCAsmParser &Parser)
Initialize the extension for parsing using the given Parser.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI MCAsmParserExtension * createGOFFAsmParser()