1 //===-- SPIRVMCAsmInfo.h - SPIR-V asm properties --------------*- C++ -*--====//
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
7 //===----------------------------------------------------------------------===//
9 // This file contains the declarations of the SPIRVMCAsmInfo properties.
11 //===----------------------------------------------------------------------===//
13 #include "SPIRVMCAsmInfo.h"
14 #include "llvm/TargetParser/Triple.h"
18 SPIRVMCAsmInfo::SPIRVMCAsmInfo(const Triple
&TT
,
19 const MCTargetOptions
&Options
) {
20 IsLittleEndian
= true;
22 HasSingleParameterDotFile
= false;
23 HasDotTypeDotSizeDirective
= false;
29 HasFunctionAlignment
= false;
32 bool SPIRVMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName
) const {