summaryrefslogtreecommitdiff
path: root/tools/lto/LTOPostIPODriver.h
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2013-08-12 21:07:31 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2013-08-12 21:07:31 +0000
commitcfaa636a1d31f2db71df627e4882e9d5c066c419 (patch)
tree7ce70ace4c7c6fe692b4eb1155d0509181db4ede /tools/lto/LTOPostIPODriver.h
parentb0a50ade8b59816324783733e9ac8eb2aa7e73d6 (diff)
downloadllvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.gz
llvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.bz2
llvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.xz
Revert r188188 and r188200.
In order to appease people (in Apple) who accuse me for committing "huge change" (?) without proper review. Thank Eric for fixing a compile-warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOPostIPODriver.h')
-rw-r--r--tools/lto/LTOPostIPODriver.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/tools/lto/LTOPostIPODriver.h b/tools/lto/LTOPostIPODriver.h
deleted file mode 100644
index 548e732157..0000000000
--- a/tools/lto/LTOPostIPODriver.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//===---------- LTOPostIPODriver.h - PostIPO Driver -----------------------===//
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file declare the PostIPODriver class which is the driver for
-// Post-IPO compilation phase.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LTO_POSTIPO_DRIVER_H
-#define LTO_POSTIPO_DRIVER_H
-
-#include "llvm/Target/TargetMachine.h"
-
-namespace lto {
- class IPOPartMgr;
- class IPOFileMgr;
- class IPOFile;
-
- class PostIPODriver {
- public:
- typedef enum {
- PIDV_Invalid,
- PIDV_SERIAL, // No partition
- PIDV_MultiThread, // Each partition is compiled by a thread
- PIDV_MultiProc, // Each partition is compiled by a process
- PIDV_MakeUtil // Partitions compilation is driven by a make-utility
- } VariantTy;
-
- PostIPODriver(VariantTy Var, TargetMachine *TM, IPOPartMgr &IPM,
- IPOFileMgr &IFM, bool ToMergeObjs = false);
-
- // Return the single resulting object file. If there is no prior
- // compilation failure, this function may return NULL iff:
- // 1) Partition is enabled, and
- // 2) Multiple partitions are generated, and
- // 3) It is not asked to merge together the objects corresponding to the
- // the partions.
- IPOFile *getSingleObjFile() const;
-
- bool Compile(std::string &ErrMsg);
-
- private:
- void *DrvImpl;
- };
-}
-
-#endif // LTO_POSTIPO_DRIVER_H