-
Notifications
You must be signed in to change notification settings - Fork 1
/
cbgSubtarget.cpp
35 lines (31 loc) · 1.03 KB
/
cbgSubtarget.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//===- cbgSubtarget.cpp - CBG Subtarget Information -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the CBG specific subclass of TargetSubtarget.
//
//===----------------------------------------------------------------------===//
#include "cbgSubtarget.h"
#include "cbgGenSubtarget.inc"
using namespace llvm;
cbgSubtarget::cbgSubtarget(const std::string &TT, const std::string &FS) :
HasSelCC(false),
HasMovCC(false),
HasPredBlocksCC(false),
HasPredBlocksReg(false),
HasPredInstrCC(false),
HasPredInstrReg(false),
HasHWLoop(false),
HasHWLoops(false),
HasVLIWIfElse(false),
HasHWLoopOpt(false) {
// Determine default and user specified characteristics
const char *CPU = "v8";
// Parse features string.
ParseSubtargetFeatures(FS, CPU);
}