1 //===-- ARM.h - Top-level interface for ARM representation---- --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the "Instituto Nokia de Tecnologia" and
6 // is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 // This file contains the entry points for global functions defined in the LLVM
14 //===----------------------------------------------------------------------===//
23 // Enums corresponding to ARM condition codes
31 static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
33 default: assert(0 && "Unknown condition code");
34 case ARMCC::NE: return "ne";
35 case ARMCC::EQ: return "eq";
42 FunctionPass *createARMISelDag(TargetMachine &TM);
43 FunctionPass *createARMCodePrinterPass(std::ostream &OS, TargetMachine &TM);
44 } // end namespace llvm;
46 // Defines symbolic names for ARM registers. This defines a mapping from
47 // register name to register number.
49 #include "ARMGenRegisterNames.inc"
51 // Defines symbolic names for the ARM instructions.
53 #include "ARMGenInstrNames.inc"