Change indentation of a whole bunch of code, no real changes here.
[oota-llvm.git] / lib / Target / PowerPC / PowerPCTargetMachine.h
1 //===-- PowerPCTargetMachine.h - Define TargetMachine for PowerPC -*- C++ -*-=//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 // 
10 // This file declares the PowerPC-specific subclass of TargetMachine.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef POWERPC_TARGETMACHINE_H
15 #define POWERPC_TARGETMACHINE_H
16
17 #include "PowerPCFrameInfo.h"
18 #include "llvm/Target/TargetMachine.h"
19 #include "llvm/PassManager.h"
20
21 namespace llvm {
22
23 class GlobalValue;
24 class IntrinsicLowering;
25
26 class PowerPCTargetMachine : public TargetMachine {
27   PowerPCFrameInfo FrameInfo;
28
29 protected:
30   PowerPCTargetMachine(const std::string &name, IntrinsicLowering *IL,
31                        const TargetData &TD, const PowerPCFrameInfo &TFI);
32 public:
33   virtual const TargetFrameInfo  *getFrameInfo() const { return &FrameInfo; }
34
35   virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
36 };
37
38 } // end namespace llvm
39
40 #endif