LLVM 19.0.0git
NVPTXAllocaHoisting.h
Go to the documentation of this file.
1//===-- AllocaHoisting.h - Hosist allocas to the entry block ----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Hoist the alloca instructions in the non-entry blocks to the entry blocks.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
14#define LLVM_LIB_TARGET_NVPTX_NVPTXALLOCAHOISTING_H
15
16namespace llvm {
17class FunctionPass;
18
20} // end namespace llvm
21
22#endif
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:311
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
FunctionPass * createAllocaHoisting()