[flang][cuda] Adding atomicadd as a cudadevice intrinsic and converting it LLVM diale...
[llvm-project.git] / llvm / lib / Target / Xtensa / MCTargetDesc / XtensaMCAsmInfo.cpp
blob28764d369247a74a8f5f1683dc2e956fa636068a
1 //===-- XtensaMCAsmInfo.cpp - Xtensa Asm Properties -----------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6 // See https://llvm.org/LICENSE.txt for license information.
7 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //
9 //===----------------------------------------------------------------------===//
11 // This file contains the declarations of the XtensaMCAsmInfo properties.
13 //===----------------------------------------------------------------------===//
15 #include "XtensaMCAsmInfo.h"
16 #include "llvm/TargetParser/Triple.h"
18 using namespace llvm;
20 XtensaMCAsmInfo::XtensaMCAsmInfo(const Triple &TT) {
21 CodePointerSize = 4;
22 CalleeSaveStackSlotSize = 4;
23 PrivateGlobalPrefix = ".L";
24 CommentString = "#";
25 ZeroDirective = "\t.space\t";
26 Data64bitsDirective = "\t.quad\t";
27 GlobalDirective = "\t.global\t";
28 UsesELFSectionDirectiveForBSS = true;
29 SupportsDebugInformation = true;
30 ExceptionsType = ExceptionHandling::DwarfCFI;
31 AlignmentIsInBytes = false;