1 | //===-- AVRMCExpr.cpp - AVR specific MC expression classes ----------------===// |
---|---|
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 | |
9 | #include "AVRMCExpr.h" |
10 | #include "MCTargetDesc/AVRMCAsmInfo.h" |
11 | |
12 | #include "llvm/MC/MCAsmInfo.h" |
13 | #include "llvm/MC/MCAssembler.h" |
14 | #include "llvm/MC/MCContext.h" |
15 | #include "llvm/MC/MCValue.h" |
16 | |
17 | namespace llvm { |
18 | |
19 | const AVRMCExpr *AVRMCExpr::create(Specifier Kind, const MCExpr *Expr, |
20 | bool Negated, MCContext &Ctx) { |
21 | return new (Ctx) AVRMCExpr(Kind, Expr, Negated); |
22 | } |
23 | |
24 | } // namespace llvm |
25 |