|
LLVM 24.0.0git
|
#include "NVPTX.h"#include "llvm/CodeGen/StackProtector.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instructions.h"Go to the source code of this file.
Functions | |
| static bool | hoistAllocas (Function &function) |
| INITIALIZE_PASS (NVPTXAllocaHoistingLegacyPass, "alloca-hoisting", "Hoisting alloca instructions in non-entry blocks to the entry block", false, false) FunctionPass *llvm | |
Definition at line 20 of file NVPTXAllocaHoisting.cpp.
References llvm::dyn_cast(), E(), function(), llvm::AllocaInst::getArraySize(), llvm::ilist_node_impl< OptionsT >::getIterator(), I, llvm::isa(), and llvm::Instruction::moveBefore().
Referenced by llvm::NVPTXAllocaHoistingPass::run().
| INITIALIZE_PASS | ( | NVPTXAllocaHoistingLegacyPass | , |
| "alloca-hoisting" | , | ||
| "Hoisting alloca instructions in non-entry blocks to the entry block" | , | ||
| false | , | ||
| false | ) |
Definition at line 63 of file NVPTXAllocaHoisting.cpp.
References llvm::createNVPTXAllocaHoistingLegacyPass().