LLVM 20.0.0git
|
#include "llvm/CodeGen/RegUsageInfoCollector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachinePassManager.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegisterUsageInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "ip-regalloc" |
Functions | |
STATISTIC (NumCSROpt, "Number of functions optimized for callee saved registers") | |
INITIALIZE_PASS_BEGIN (RegUsageInfoCollectorLegacy, "RegUsageInfoCollector", "Register Usage Information Collector", false, false) INITIALIZE_PASS_END(RegUsageInfoCollectorLegacy | |
static bool | isCallableFunction (const MachineFunction &MF) |
Variables | |
RegUsageInfoCollector | |
Register Usage Information | Collector |
Register Usage Information | false |
#define DEBUG_TYPE "ip-regalloc" |
Definition at line 34 of file RegUsageInfoCollector.cpp.
INITIALIZE_PASS_BEGIN | ( | RegUsageInfoCollectorLegacy | , |
"RegUsageInfoCollector" | , | ||
"Register Usage Information Collector" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 91 of file RegUsageInfoCollector.cpp.
References llvm::CallingConv::AMDGPU_CS, llvm::CallingConv::AMDGPU_ES, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_KERNEL, llvm::CallingConv::AMDGPU_LS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, llvm::Function::getCallingConv(), and llvm::MachineFunction::getFunction().
References RegUsageInfoCollector.
Register Usage Information Collector |
Definition at line 80 of file RegUsageInfoCollector.cpp.
Referenced by llvm::RegisterOperands::collect(), llvm::FileCollector::createCollectorVFS(), llvm::FileCollectorFileSystem::dir_begin(), llvm::FileCollectorFileSystem::getRealPath(), llvm::FileCollectorFileSystem::openFileForRead(), and llvm::FileCollectorFileSystem::status().
Register Usage Information false |
Definition at line 80 of file RegUsageInfoCollector.cpp.
RegUsageInfoCollector |
Definition at line 79 of file RegUsageInfoCollector.cpp.
Referenced by llvm::RegUsageInfoCollectorPass::run(), and STATISTIC().