[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / lib / Target / SPIRV / MCTargetDesc / SPIRVMCAsmInfo.cpp
blob800bf2297fa7bc28c67e9d1bd5064f0d509cfaee
1 //===-- SPIRVMCAsmInfo.h - SPIR-V asm properties --------------*- C++ -*--====//
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 // This file contains the declarations of the SPIRVMCAsmInfo properties.
11 //===----------------------------------------------------------------------===//
13 #include "SPIRVMCAsmInfo.h"
14 #include "llvm/TargetParser/Triple.h"
16 using namespace llvm;
18 SPIRVMCAsmInfo::SPIRVMCAsmInfo(const Triple &TT,
19 const MCTargetOptions &Options) {
20 IsLittleEndian = true;
22 HasSingleParameterDotFile = false;
23 HasDotTypeDotSizeDirective = false;
25 MinInstAlignment = 4;
27 CodePointerSize = 4;
28 CommentString = ";";
29 HasFunctionAlignment = false;
32 bool SPIRVMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const {
33 return true;