LLVM  4.0.0
RISCVMCAsmInfo.cpp
Go to the documentation of this file.
1 //===-- RISCVMCAsmInfo.cpp - RISCV Asm properties -------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the RISCVMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "RISCVMCAsmInfo.h"
15 #include "llvm/ADT/Triple.h"
16 using namespace llvm;
17 
18 void RISCVMCAsmInfo::anchor() {}
19 
22  CommentString = "#";
23  AlignmentIsInBytes = false;
25 }
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition: MCAsmInfo.h:68
bool AlignmentIsInBytes
If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...
Definition: MCAsmInfo.h:222
StringRef CommentString
This indicates the comment character used by the assembler.
Definition: MCAsmInfo.h:106
RISCVMCAsmInfo(const Triple &TargetTriple)
bool isArch64Bit() const
Test whether the architecture is 64-bit.
Definition: Triple.cpp:1202
unsigned PointerSize
Pointer size in bytes. Default is 4.
Definition: MCAsmInfo.h:64
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:323
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44