/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. #ifndef __cplusplus
  5. #error This header expects to be included only in C++ source
  6. #endif
  7. namespace llvm {
  8. class FunctionPass;
  9. class ModuleProvider;
  10. }
  11. // Inlines calls into the active function according to Python-specific
  12. // rules. For now, this only inlines always-inline functions.
  13. llvm::FunctionPass *PyCreateSingleFunctionInliningPass();
  14. #endif // UTIL_SINGLEFUNCTIONINLINER_H