mini-llvm 0.1.0
Loading...
Searching...
No Matches
AlwaysInline.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include <memory>
6#include <string>
7
9
10namespace mini_llvm::ir {
11
12class AlwaysInline final : public Attribute {
13public:
14 std::string format() const override {
15 return "alwaysinline";
16 }
17
18 std::unique_ptr<Attribute> clone() const override {
19 return std::make_unique<AlwaysInline>();
20 }
21};
22
23} // namespace mini_llvm::ir
Definition AlwaysInline.h:12
std::string format() const override
Definition AlwaysInline.h:14
std::unique_ptr< Attribute > clone() const override
Definition AlwaysInline.h:18
Attribute(const Attribute &)=delete
Definition Argument.h:13