LLVM 22.0.0git
AVRMCExpr.cpp
Go to the documentation of this file.
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
11#include "llvm/MC/MCAsmInfo.h"
12#include "llvm/MC/MCAssembler.h"
13#include "llvm/MC/MCContext.h"
14
15namespace llvm {
16
18 bool Negated, MCContext &Ctx) {
19 return new (Ctx) AVRMCExpr(Kind, Expr, Negated);
20}
21
22} // namespace llvm
A expression in AVR machine code.
Definition: AVRMCExpr.h:19
static const AVRMCExpr * create(Specifier S, const MCExpr *Expr, bool isNegated, MCContext &Ctx)
Specifies the type of an expression.
Definition: AVRMCExpr.cpp:17
Context object for machine code objects.
Definition: MCContext.h:83
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:34
const MCExpr * Expr
Definition: MCExpr.h:497
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18