LLVM 22.0.0git
ProgramStack.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI uintptr_t llvm::getStackPointer ()
LLVM_ABI unsigned llvm::getDefaultStackSize ()
LLVM_ABI void llvm::runOnNewStack (unsigned StackSize, function_ref< void()> Fn)
 Runs Fn on a new stack of at least the given size.
template<typename R, typename... Ts>
std::enable_if_t<!std::is_same_v< R, void >, R > llvm::runOnNewStack (unsigned StackSize, function_ref< R(Ts...)> Fn, Ts &&...Args)
template<typename... Ts>
void llvm::runOnNewStack (unsigned StackSize, function_ref< void(Ts...)> Fn, Ts &&...Args)