Path: blob/main/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/ARCInfo.h
35294 views
//===- ARCInfo.h - Additional ARC Info --------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains small standalone helper functions and enum definitions for9// the ARC target useful for the compiler back-end and the MC libraries.10// As such, it deliberately does not include references to LLVM core11// code gen types, passes, etc..12//13//===----------------------------------------------------------------------===//1415#ifndef LLVM_LIB_TARGET_ARC_MCTARGETDESC_ARCINFO_H16#define LLVM_LIB_TARGET_ARC_MCTARGETDESC_ARCINFO_H1718namespace llvm {1920// Enums corresponding to ARC condition codes21namespace ARCCC {2223enum CondCode {24AL = 0x0,25EQ = 0x1,26NE = 0x2,27P = 0x3,28N = 0x4,29LO = 0x5,30HS = 0x6,31VS = 0x7,32VC = 0x8,33GT = 0x9,34GE = 0xa,35LT = 0xb,36LE = 0xc,37HI = 0xd,38LS = 0xe,39PNZ = 0xf,40Z = 0x11, // Low 4-bits = EQ41NZ = 0x12 // Low 4-bits = NE42};4344enum BRCondCode {45BREQ = 0x0,46BRNE = 0x1,47BRLT = 0x2,48BRGE = 0x3,49BRLO = 0x4,50BRHS = 0x551};5253} // end namespace ARCCC5455} // end namespace llvm5657#endif585960