LLVM
20.0.0git
lib
Target
ARC
MCTargetDesc
ARCInfo.h
Go to the documentation of this file.
1
//===- ARCInfo.h - Additional ARC Info --------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file contains small standalone helper functions and enum definitions for
10
// the ARC target useful for the compiler back-end and the MC libraries.
11
// As such, it deliberately does not include references to LLVM core
12
// code gen types, passes, etc..
13
//
14
//===----------------------------------------------------------------------===//
15
16
#ifndef LLVM_LIB_TARGET_ARC_MCTARGETDESC_ARCINFO_H
17
#define LLVM_LIB_TARGET_ARC_MCTARGETDESC_ARCINFO_H
18
19
namespace
llvm
{
20
21
// Enums corresponding to ARC condition codes
22
namespace
ARCCC {
23
24
enum
CondCode
{
25
AL
= 0x0,
26
EQ
= 0x1,
27
NE
= 0x2,
28
P
= 0x3,
29
N
= 0x4,
30
LO
= 0x5,
31
HS
= 0x6,
32
VS
= 0x7,
33
VC
= 0x8,
34
GT
= 0x9,
35
GE
= 0xa,
36
LT
= 0xb,
37
LE
= 0xc,
38
HI
= 0xd,
39
LS
= 0xe,
40
PNZ
= 0xf,
41
Z
= 0x11,
// Low 4-bits = EQ
42
NZ
= 0x12
// Low 4-bits = NE
43
};
44
45
enum
BRCondCode
{
46
BREQ
= 0x0,
47
BRNE
= 0x1,
48
BRLT
= 0x2,
49
BRGE
= 0x3,
50
BRLO
= 0x4,
51
BRHS
= 0x5
52
};
53
54
}
// end namespace ARCCC
55
56
}
// end namespace llvm
57
58
#endif
llvm::ARCCC::CondCode
CondCode
Definition:
ARCInfo.h:24
llvm::ARCCC::LO
@ LO
Definition:
ARCInfo.h:30
llvm::ARCCC::EQ
@ EQ
Definition:
ARCInfo.h:26
llvm::ARCCC::LT
@ LT
Definition:
ARCInfo.h:36
llvm::ARCCC::N
@ N
Definition:
ARCInfo.h:29
llvm::ARCCC::HS
@ HS
Definition:
ARCInfo.h:31
llvm::ARCCC::VC
@ VC
Definition:
ARCInfo.h:33
llvm::ARCCC::PNZ
@ PNZ
Definition:
ARCInfo.h:40
llvm::ARCCC::NZ
@ NZ
Definition:
ARCInfo.h:42
llvm::ARCCC::GE
@ GE
Definition:
ARCInfo.h:35
llvm::ARCCC::VS
@ VS
Definition:
ARCInfo.h:32
llvm::ARCCC::AL
@ AL
Definition:
ARCInfo.h:25
llvm::ARCCC::NE
@ NE
Definition:
ARCInfo.h:27
llvm::ARCCC::P
@ P
Definition:
ARCInfo.h:28
llvm::ARCCC::LE
@ LE
Definition:
ARCInfo.h:37
llvm::ARCCC::Z
@ Z
Definition:
ARCInfo.h:41
llvm::ARCCC::HI
@ HI
Definition:
ARCInfo.h:38
llvm::ARCCC::GT
@ GT
Definition:
ARCInfo.h:34
llvm::ARCCC::LS
@ LS
Definition:
ARCInfo.h:39
llvm::ARCCC::BRCondCode
BRCondCode
Definition:
ARCInfo.h:45
llvm::ARCCC::BREQ
@ BREQ
Definition:
ARCInfo.h:46
llvm::ARCCC::BRHS
@ BRHS
Definition:
ARCInfo.h:51
llvm::ARCCC::BRGE
@ BRGE
Definition:
ARCInfo.h:49
llvm::ARCCC::BRNE
@ BRNE
Definition:
ARCInfo.h:47
llvm::ARCCC::BRLT
@ BRLT
Definition:
ARCInfo.h:48
llvm::ARCCC::BRLO
@ BRLO
Definition:
ARCInfo.h:50
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Thu Nov 21 2024 03:35:08 for LLVM by
1.9.6