LLVM 22.0.0git
AArch64MCExpr.cpp
Go to the documentation of this file.
1//===-- AArch64MCExpr.cpp - AArch64 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 "AArch64MCAsmInfo.h"
10#include "llvm/MC/MCContext.h"
11#include "llvm/MC/MCStreamer.h"
12
13using namespace llvm;
14
16 uint16_t Discriminator,
18 bool HasAddressDiversity,
19 MCContext &Ctx, SMLoc Loc) {
20 return new (Ctx)
21 AArch64AuthMCExpr(Expr, Discriminator, Key, HasAddressDiversity, Loc);
22}
static const AArch64AuthMCExpr * create(const MCExpr *Expr, uint16_t Discriminator, AArch64PACKey::ID Key, bool HasAddressDiversity, MCContext &Ctx, SMLoc Loc=SMLoc())
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
Represents a location in source code.
Definition: SMLoc.h:23
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18