1 //===- SystemZSubtarget.cpp - SystemZ Subtarget Information -------*- C++ -*-=//
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 implements the SystemZ specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "SystemZSubtarget.h"
16 #include "SystemZGenSubtarget.inc"
17 #include "llvm/Target/TargetMachine.h"
21 SystemZSubtarget::SystemZSubtarget(const TargetMachine &TM, const Module &M,
22 const std::string &FS):
24 std::string CPU = "z9";
26 // Parse features string.
27 ParseSubtargetFeatures(FS, CPU);