3046f33ac040dde7e76e39025aa4ba92360379c7
[oota-llvm.git] / lib / Target / Mips / MipsTargetAsmInfo.cpp
1 //===-- MipsTargetAsmInfo.cpp - Mips asm properties -------------*- C++ -*-===//
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 MipsTargetAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MipsTargetAsmInfo.h"
15 using namespace llvm;
16
17 MipsTargetAsmInfo::MipsTargetAsmInfo(const Target &T, const StringRef &TT) {
18   AlignmentIsInBytes          = false;
19   COMMDirectiveTakesAlignment = true;
20   Data16bitsDirective         = "\t.half\t";
21   Data32bitsDirective         = "\t.word\t";
22   Data64bitsDirective         = NULL;
23   PrivateGlobalPrefix         = "$";
24   CommentString               = "#";
25   ZeroDirective               = "\t.space\t";
26   PICJumpTableDirective       = "\t.gpword\t";
27 }