LLVM API Documentation

MipsTargetAsmInfo.cpp

Go to the documentation of this file.
00001 //===-- MipsTargetAsmInfo.cpp - Mips asm properties -------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the declarations of the MipsTargetAsmInfo properties.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #include "MipsTargetAsmInfo.h"
00015 using namespace llvm;
00016 
00017 MipsTargetAsmInfo::MipsTargetAsmInfo(const Target &T, const StringRef &TT) {
00018   AlignmentIsInBytes          = false;
00019   COMMDirectiveTakesAlignment = true;
00020   Data16bitsDirective         = "\t.half\t";
00021   Data32bitsDirective         = "\t.word\t";
00022   Data64bitsDirective         = NULL;
00023   PrivateGlobalPrefix         = "$";
00024   CommentString               = "#";
00025   ZeroDirective               = "\t.space\t";
00026   PICJumpTableDirective       = "\t.gpword\t";
00027 }