[llvm] r270800 - [PM/PartiallyInlineLibCalls] Commit missing header.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 16:44:02 PDT 2016


Author: davide
Date: Wed May 25 18:44:01 2016
New Revision: 270800

URL: http://llvm.org/viewvc/llvm-project?rev=270800&view=rev
Log:
[PM/PartiallyInlineLibCalls] Commit missing header.

This should have been committed with the previous commit, but
I forgot to `git add`. Sorry.

Added:
    llvm/trunk/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h

Added: llvm/trunk/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h?rev=270800&view=auto
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h (added)
+++ llvm/trunk/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h Wed May 25 18:44:01 2016
@@ -0,0 +1,30 @@
+//===--- PartiallyInlineLibCalls.h - Partially inline libcalls --*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This pass tries to partially inline the fast path of well-known library
+// functions, such as using square-root instructions for cases where sqrt()
+// does not need to set errno.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_SCALAR_PARTIALLYINLINELIBCALLS_H
+#define LLVM_TRANSFORMS_SCALAR_PARTIALLYINLINELIBCALLS_H
+
+#include "llvm/IR/Module.h"
+#include "llvm/IR/PassManager.h"
+
+namespace llvm {
+class PartiallyInlineLibCallsPass
+    : public PassInfoMixin<PartiallyInlineLibCallsPass> {
+public:
+  PreservedAnalyses run(Function &F, AnalysisManager<Function> &AM);
+};
+}
+
+#endif // LLVM_TRANSFORMS_SCALAR_PARTIALLYINLINELIBCALLS_H




More information about the llvm-commits mailing list