Shih-wei Liao | e94d9b2 | 2012-05-22 09:01:24 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #ifndef ART_SRC_GREENLAND_ARM_CODEGEN_MACHINE_H_ |
| 18 | #define ART_SRC_GREENLAND_ARM_CODEGEN_MACHINE_H_ |
| 19 | |
| 20 | #include "greenland/target_codegen_machine.h" |
| 21 | |
| 22 | namespace art { |
| 23 | namespace greenland { |
| 24 | |
| 25 | class ARMCodeGenMachine : public TargetCodeGenMachine { |
| 26 | private: |
| 27 | |
| 28 | public: |
| 29 | ARMCodeGenMachine(); |
| 30 | virtual ~ARMCodeGenMachine(); |
| 31 | |
Shih-wei Liao | 21d28f5 | 2012-06-12 05:55:00 -0700 | [diff] [blame^] | 32 | virtual TargetLIREmitter* CreateLIREmitter() { |
| 33 | return NULL; |
| 34 | } |
| 35 | |
| 36 | virtual const TargetDataLayout* GetDataLayout() const { |
| 37 | return NULL; |
| 38 | } |
| 39 | |
| 40 | virtual const TargetLIRInfo* GetLIRInfo() const { |
| 41 | return NULL; |
| 42 | } |
| 43 | |
| 44 | virtual const TargetRegisterInfo* GetRegisterInfo() const { |
| 45 | return NULL; |
| 46 | } |
| 47 | |
| 48 | virtual const char* GetConditionCodeName(unsigned cond) const { |
| 49 | return NULL; |
| 50 | } |
| 51 | |
| 52 | virtual TargetLIRBuilder* CreateLIRBuilder() { |
Shih-wei Liao | e94d9b2 | 2012-05-22 09:01:24 -0700 | [diff] [blame] | 53 | return NULL; |
| 54 | } |
| 55 | |
| 56 | virtual RegisterAllocator* GetRegisterAllocator() { |
| 57 | return NULL; |
| 58 | } |
| 59 | |
| 60 | virtual TargetAssembler* GetAssembler() { |
| 61 | return NULL; |
| 62 | } |
Shih-wei Liao | 21d28f5 | 2012-06-12 05:55:00 -0700 | [diff] [blame^] | 63 | |
| 64 | virtual std::string PrettyTargeteLIR(const LIR& lir) const { |
| 65 | return ""; |
| 66 | } |
Shih-wei Liao | e94d9b2 | 2012-05-22 09:01:24 -0700 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | } // namespace greenland |
| 70 | } // namespace art |
| 71 | |
| 72 | #endif // ART_SRC_GREENLAND_ARM_CODEGEN_MACHINE_H_ |