forked from capstone-engine/capstone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SubtargetFeature.h
36 lines (32 loc) · 1.38 KB
/
SubtargetFeature.h
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
36
//===-- llvm/MC/SubtargetFeature.h - CPU characteristics --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines and manages user or tool specified CPU characteristics.
// The intent is to be able to package specific features that should or should
// not be used on a specific target processor. A tool, such as llc, could, as
// as example, gather chip info from the command line, a long with features
// that should be used on that chip.
//
//===----------------------------------------------------------------------===//
/* Second-Best Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */
#ifndef CS_LLVM_MC_SUBTARGETFEATURE_H
#define CS_LLVM_MC_SUBTARGETFEATURE_H
//===----------------------------------------------------------------------===//
///
/// SubtargetFeatureKV - Used to provide key value pairs for feature and
/// CPU bit flags.
//
typedef struct SubtargetFeatureKV {
char *Key; // K-V key string
char *Desc; // Help descriptor
const uint64_t Value; // K-V integer value
const uint64_t Implies; // K-V bit mask
} SubtargetFeatureKV;
#endif