mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
5b70e6e9c6
Also initialize without using static initialization. llvm-svn: 231822
24 lines
727 B
C++
24 lines
727 B
C++
//===-- 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
|
|
#define LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
|
|
|
|
namespace llvm {
|
|
class FunctionPass;
|
|
|
|
extern FunctionPass *createAllocaHoisting();
|
|
} // end namespace llvm
|
|
|
|
#endif
|