PageRenderTime 282ms CodeModel.GetById 120ms app.highlight 2ms RepoModel.GetById 159ms app.codeStats 0ms

/JIT/SingleFunctionInliner.h

http://unladen-swallow.googlecode.com/
C++ Header | 18 lines | 11 code | 4 blank | 3 comment | 0 complexity | d4887405becd18daead4c490df42184d MD5 | raw file
 1// -*- C++ -*-
 2#ifndef UTIL_SINGLEFUNCTIONINLINER_H
 3#define UTIL_SINGLEFUNCTIONINLINER_H
 4
 5#ifndef __cplusplus
 6#error This header expects to be included only in C++ source
 7#endif
 8
 9namespace llvm {
10class FunctionPass;
11class ModuleProvider;
12}
13
14// Inlines calls into the active function according to Python-specific
15// rules.  For now, this only inlines always-inline functions.
16llvm::FunctionPass *PyCreateSingleFunctionInliningPass();
17
18#endif  // UTIL_SINGLEFUNCTIONINLINER_H