2012-05-05 04:18:50 +08:00
|
|
|
//===-- AllocaHoisting.h - Hosist allocas to the entry block ----*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Hoist the alloca instructions in the non-entry blocks to the entry blocks.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
|
|
|
|
#define LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
|
2012-05-05 04:18:50 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class FunctionPass;
|
|
|
|
|
|
|
|
extern FunctionPass *createAllocaHoisting();
|
|
|
|
} // end namespace llvm
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#endif
|