blob: 227727b58f980d80b88ba63fe2c468a8a8a4cadd [file] [log] [blame]
Zonr Changfef9a1b2012-04-13 15:58:24 +08001/*
2 * Copyright 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
Stephen Hines2f6a4932012-05-03 12:27:13 -070017#ifndef BCC_EXECUTION_ENGINE_RS_COMPILER_H
18#define BCC_EXECUTION_ENGINE_RS_COMPILER_H
Zonr Changfef9a1b2012-04-13 15:58:24 +080019
Stephen Hines2f6a4932012-05-03 12:27:13 -070020#include "Compiler.h"
Zonr Changfef9a1b2012-04-13 15:58:24 +080021
22namespace bcc {
23
24class RSCompiler : public Compiler {
25private:
26 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM);
27 virtual bool beforeExecuteLTOPasses(Script &pScript, llvm::PassManager &pPM);
28};
29
30} // end namespace bcc
31
Stephen Hines2f6a4932012-05-03 12:27:13 -070032#endif // BCC_EXECUTION_ENGINE_RS_COMPILER_H