Path: blob/main/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVMCAsmInfo.cpp
35294 views
//===-- SPIRVMCAsmInfo.h - SPIR-V asm properties --------------*- C++ -*--====//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the declarations of the SPIRVMCAsmInfo properties.9//10//===----------------------------------------------------------------------===//1112#include "SPIRVMCAsmInfo.h"13#include "llvm/TargetParser/Triple.h"1415using namespace llvm;1617SPIRVMCAsmInfo::SPIRVMCAsmInfo(const Triple &TT,18const MCTargetOptions &Options) {19IsLittleEndian = true;2021HasSingleParameterDotFile = false;22HasDotTypeDotSizeDirective = false;2324MinInstAlignment = 4;2526CodePointerSize = 4;27CommentString = ";";28HasFunctionAlignment = false;29}3031bool SPIRVMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const {32return true;33}343536