LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/StackProtector.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/Pass.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetFrameLowering.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "localstackalloc" |
Functions | |
| STATISTIC (NumAllocations,"Number of frame indices allocated into local block") | |
| STATISTIC (NumBaseRegisters,"Number of virtual frame base registers allocated") | |
| STATISTIC (NumReplacements,"Number of frame indices references replaced") | |
| INITIALIZE_PASS_BEGIN (LocalStackSlotPass,"localstackalloc","Local Stack Slot Allocation", false, false) INITIALIZE_PASS_END(LocalStackSlotPass | |
| static bool | lookupCandidateBaseReg (int64_t BaseOffset, int64_t FrameSizeAdjust, int64_t LocalFrameOffset, const MachineInstr *MI, const TargetRegisterInfo *TRI) |
Variables | |
| localstackalloc | |
| Local Stack Slot | Allocation |
| Local Stack Slot | false |
| #define DEBUG_TYPE "localstackalloc" |
Definition at line 43 of file LocalStackSlotAllocation.cpp.
| INITIALIZE_PASS_BEGIN | ( | LocalStackSlotPass | , |
| "localstackalloc" | , | ||
| "Local Stack Slot Allocation" | , | ||
| false | , | ||
| false | |||
| ) |
| static bool lookupCandidateBaseReg | ( | int64_t | BaseOffset, |
| int64_t | FrameSizeAdjust, | ||
| int64_t | LocalFrameOffset, | ||
| const MachineInstr * | MI, | ||
| const TargetRegisterInfo * | TRI | ||
| ) | [inline, static] |
Definition at line 255 of file LocalStackSlotAllocation.cpp.
References llvm::TargetRegisterInfo::isFrameOffsetLegal().
| STATISTIC | ( | NumAllocations | , |
| "Number of frame indices allocated into local block" | |||
| ) |
| STATISTIC | ( | NumBaseRegisters | , |
| "Number of virtual frame base registers allocated" | |||
| ) |
| STATISTIC | ( | NumReplacements | , |
| "Number of frame indices references replaced" | |||
| ) |
| Local Stack Slot Allocation |
Definition at line 100 of file LocalStackSlotAllocation.cpp.
Referenced by llvm::AllocaHolder::~AllocaHolder().
| Local Stack Slot false |
Definition at line 100 of file LocalStackSlotAllocation.cpp.
Definition at line 100 of file LocalStackSlotAllocation.cpp.