23 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9#include "AArch64MCAsmInfo.h"10#include "llvm/MC/MCContext.h"11#include "llvm/MC/MCStreamer.h"12 13using namespace llvm;14 15const AArch64AuthMCExpr *AArch64AuthMCExpr::create(const MCExpr *Expr,16 uint16_t Discriminator,17 AArch64PACKey::ID Key,18 bool HasAddressDiversity,19 MCContext &Ctx, SMLoc Loc) {20 return new (Ctx)21 AArch64AuthMCExpr(Expr, Discriminator, Key, HasAddressDiversity, Loc);22}23