1 //===-- PTXMCAsmInfo.cpp - PTX asm properties -----------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declarations of the PTXMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "PTXMCAsmInfo.h"
15 #include "llvm/ADT/Triple.h"
19 PTXMCAsmInfo::PTXMCAsmInfo(const Target &T, const StringRef &TT) {
21 if (TheTriple.getArch() == Triple::ptx64)
26 PrivateGlobalPrefix = "$L__";
28 AllowPeriodsInName = false;
30 HasSetDirective = false;
32 HasDotTypeDotSizeDirective = false;
34 HasSingleParameterDotFile = false;