/JIT/SingleFunctionInliner.h
http://unladen-swallow.googlecode.com/ · C Header · 18 lines · 11 code · 4 blank · 3 comment · 0 complexity · d4887405becd18daead4c490df42184d MD5 · raw file
- // -*- C++ -*-
- #ifndef UTIL_SINGLEFUNCTIONINLINER_H
- #define UTIL_SINGLEFUNCTIONINLINER_H
- #ifndef __cplusplus
- #error This header expects to be included only in C++ source
- #endif
- namespace llvm {
- class FunctionPass;
- class ModuleProvider;
- }
- // Inlines calls into the active function according to Python-specific
- // rules. For now, this only inlines always-inline functions.
- llvm::FunctionPass *PyCreateSingleFunctionInliningPass();
- #endif // UTIL_SINGLEFUNCTIONINLINER_H