LLVM
22.0.0git
lib
Target
AVR
MCTargetDesc
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
15
namespace
llvm
{
16
17
const
AVRMCExpr *
AVRMCExpr::create
(
Specifier
Kind,
const
MCExpr
*
Expr
,
18
bool
Negated,
MCContext
&Ctx) {
19
return
new
(Ctx) AVRMCExpr(Kind,
Expr
, Negated);
20
}
21
22
}
// namespace llvm
AVRMCExpr.h
MCAsmInfo.h
MCAssembler.h
MCContext.h
llvm::AVRMCExpr::create
static const AVRMCExpr * create(Specifier S, const MCExpr *Expr, bool isNegated, MCContext &Ctx)
Specifies the type of an expression.
Definition
AVRMCExpr.cpp:17
llvm::AVRMCExpr::Specifier
Spec Specifier
Definition
AVRMCExpr.h:22
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:83
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition
MCExpr.h:34
llvm::MCSpecifierExpr::Expr
const MCExpr * Expr
Definition
MCExpr.h:497
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
Generated on
for LLVM by
1.14.0