blob: c0e76addc618348d408a2b42d93cfe3498bb89b1 [file] [log] [blame]
Logan Chien42e0e152012-01-13 15:42:36 +08001/*
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
Brian Carlstromfc0e3212013-07-17 14:40:12 -070017#ifndef ART_COMPILER_LLVM_RUNTIME_SUPPORT_LLVM_FUNC_H_
18#define ART_COMPILER_LLVM_RUNTIME_SUPPORT_LLVM_FUNC_H_
Logan Chien42e0e152012-01-13 15:42:36 +080019
20namespace art {
Ian Rogers4c1c2832013-03-04 18:30:13 -080021namespace llvm {
Logan Chien42e0e152012-01-13 15:42:36 +080022namespace runtime_support {
TDYa127d668a062012-04-13 12:36:57 -070023
Logan Chien42e0e152012-01-13 15:42:36 +080024 enum RuntimeId {
25#define DEFINE_RUNTIME_SUPPORT_FUNC_ID(ID, NAME) ID,
Brian Carlstrom51c24672013-07-11 16:00:56 -070026#include "runtime_support_llvm_func_list.h"
Logan Chien42e0e152012-01-13 15:42:36 +080027 RUNTIME_SUPPORT_FUNC_LIST(DEFINE_RUNTIME_SUPPORT_FUNC_ID)
28#undef RUNTIME_SUPPORT_FUNC_LIST
29#undef DEFINE_RUNTIME_SUPPORT_FUNC_ID
30
31 MAX_ID
32 };
Logan Chien42e0e152012-01-13 15:42:36 +080033
TDYa127d668a062012-04-13 12:36:57 -070034} // namespace runtime_support
Ian Rogers4c1c2832013-03-04 18:30:13 -080035} // namespace llvm
Logan Chien42e0e152012-01-13 15:42:36 +080036} // namespace art
37
Brian Carlstromfc0e3212013-07-17 14:40:12 -070038#endif // ART_COMPILER_LLVM_RUNTIME_SUPPORT_LLVM_FUNC_H_