diff options
Diffstat (limited to 'lib/Target/ARC/ARC.h')
| -rw-r--r-- | lib/Target/ARC/ARC.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/Target/ARC/ARC.h b/lib/Target/ARC/ARC.h new file mode 100644 index 000000000000..65f6ed67eb5b --- /dev/null +++ b/lib/Target/ARC/ARC.h @@ -0,0 +1,33 @@ +//===- ARC.h - Top-level interface for ARC representation -------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the entry points for global functions defined in the LLVM +// ARC back-end. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIB_TARGET_ARC_ARC_H +#define LLVM_LIB_TARGET_ARC_ARC_H + +#include "MCTargetDesc/ARCMCTargetDesc.h" +#include "llvm/Target/TargetMachine.h" + +namespace llvm { + +class FunctionPass; +class ARCTargetMachine; + +FunctionPass *createARCISelDag(ARCTargetMachine &TM, + CodeGenOpt::Level OptLevel); +FunctionPass *createARCExpandPseudosPass(); +FunctionPass *createARCBranchFinalizePass(); + +} // end namespace llvm + +#endif // LLVM_LIB_TARGET_ARC_ARC_H |
