LLVM API Documentation
00001 //===-- SparcTargetAsmInfo.cpp - Sparc asm properties ---------------------===// 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 SparcTargetAsmInfo properties. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "SparcTargetAsmInfo.h" 00015 #include "llvm/ADT/SmallVector.h" 00016 using namespace llvm; 00017 00018 SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const Target &T, 00019 const StringRef &TT) { 00020 Data16bitsDirective = "\t.half\t"; 00021 Data32bitsDirective = "\t.word\t"; 00022 Data64bitsDirective = 0; // .xword is only supported by V9. 00023 ZeroDirective = "\t.skip\t"; 00024 CommentString = "!"; 00025 COMMDirectiveTakesAlignment = true; 00026 00027 SunStyleELFSectionSwitchSyntax = true; 00028 } 00029 00030