LLVM 20.0.0git
|
This class is derived from MachineFunctionInfo and contains private WebAssembly-specific information for each MachineFunction. More...
#include "Target/WebAssembly/WebAssemblyMachineFunctionInfo.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename FuncInfoTy , typename SubtargetTy = TargetSubtargetInfo> | |
static FuncInfoTy * | create (BumpPtrAllocator &Allocator, const Function &F, const SubtargetTy *STI) |
Factory function: default behavior is to call new using the supplied allocator. | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, const Ty &MFI) |
This class is derived from MachineFunctionInfo and contains private WebAssembly-specific information for each MachineFunction.
Definition at line 34 of file WebAssemblyMachineFunctionInfo.h.
|
inlineexplicit |
Definition at line 69 of file WebAssemblyMachineFunctionInfo.h.
|
overridedefault |
|
inline |
Definition at line 94 of file WebAssemblyMachineFunctionInfo.h.
Referenced by llvm::WebAssemblyFrameLowering::getLocalForStackObject().
|
inline |
Definition at line 81 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 84 of file WebAssemblyMachineFunctionInfo.h.
References Results.
|
inline |
Definition at line 112 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 87 of file WebAssemblyMachineFunctionInfo.h.
References Results.
|
overridevirtual |
Make a functionally equivalent copy of this MachineFunctionInfo in MF
.
This requires remapping MachineBasicBlock references from the original parent to values in the new function. Targets may assume that virtual register and frame index values are preserved in the new function.
Reimplemented from llvm::MachineFunctionInfo.
Definition at line 28 of file WebAssemblyMachineFunctionInfo.cpp.
References llvm::MachineFunction::cloneInfo().
|
inline |
Definition at line 103 of file WebAssemblyMachineFunctionInfo.h.
References assert().
|
inline |
Definition at line 116 of file WebAssemblyMachineFunctionInfo.h.
References assert().
Referenced by llvm::WebAssemblyFrameLowering::getDwarfFrameBase().
|
inline |
Definition at line 108 of file WebAssemblyMachineFunctionInfo.h.
References assert().
Referenced by checkFrameBase(), and llvm::WebAssemblyRegisterInfo::getFrameRegister().
Definition at line 95 of file WebAssemblyMachineFunctionInfo.h.
Referenced by llvm::WebAssemblyAsmPrinter::emitFunctionBodyStart(), and llvm::WebAssemblyFrameLowering::getLocalForStackObject().
Definition at line 82 of file WebAssemblyMachineFunctionInfo.h.
Referenced by llvm::WebAssemblyFrameLowering::getLocalForStackObject(), and llvm::yaml::WebAssemblyFunctionInfo::WebAssemblyFunctionInfo().
Definition at line 85 of file WebAssemblyMachineFunctionInfo.h.
References Results.
Referenced by llvm::yaml::WebAssemblyFunctionInfo::WebAssemblyFunctionInfo().
|
inline |
Definition at line 97 of file WebAssemblyMachineFunctionInfo.h.
References assert().
Definition at line 148 of file WebAssemblyMachineFunctionInfo.h.
References assert(), I, and llvm::Register::virtReg2Index().
Referenced by llvm::WebAssemblyMCInstLower::lower(), and llvm::WebAssemblyAsmPrinter::regToString().
void WebAssemblyFunctionInfo::initializeBaseYamlFields | ( | MachineFunction & | MF, |
const yaml::WebAssemblyFunctionInfo & | YamlMFI | ||
) |
Definition at line 156 of file WebAssemblyMachineFunctionInfo.cpp.
References llvm::yaml::WebAssemblyFunctionInfo::CFGStackified, llvm::MachineFunction::getBlockNumbered(), llvm::MachineFunction::getWasmEHFuncInfo(), llvm::yaml::WebAssemblyFunctionInfo::Params, llvm::WebAssembly::parseMVT(), llvm::yaml::WebAssemblyFunctionInfo::Results, and llvm::yaml::WebAssemblyFunctionInfo::SrcToUnwindDest.
void WebAssemblyFunctionInfo::initWARegs | ( | MachineRegisterInfo & | MRI | ) |
Definition at line 37 of file WebAssemblyMachineFunctionInfo.cpp.
References assert(), MRI, and llvm::WebAssembly::UnusedReg.
|
inline |
Definition at line 154 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 114 of file WebAssemblyMachineFunctionInfo.h.
Referenced by checkFrameBase(), and llvm::WebAssemblyFrameLowering::getDwarfFrameBase().
Definition at line 134 of file WebAssemblyMachineFunctionInfo.h.
References I, llvm::BitVector::size(), llvm::BitVector::test(), and llvm::Register::virtReg2Index().
Referenced by llvm::WebAssemblyInstrInfo::commuteInstructionImpl(), findStartOfTree(), llvm::WebAssembly::isChild(), maybeRewriteToFallthrough(), oneUseDominatesOtherUses(), and llvm::WebAssemblyAsmPrinter::regToString().
|
inline |
Definition at line 120 of file WebAssemblyMachineFunctionInfo.h.
References Reg.
Definition at line 155 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 115 of file WebAssemblyMachineFunctionInfo.h.
Referenced by checkFrameBase().
|
inline |
Definition at line 107 of file WebAssemblyMachineFunctionInfo.h.
References Reg.
|
inline |
Definition at line 93 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 92 of file WebAssemblyMachineFunctionInfo.h.
|
inline |
Definition at line 101 of file WebAssemblyMachineFunctionInfo.h.
References Reg.
Definition at line 142 of file WebAssemblyMachineFunctionInfo.h.
References assert(), I, llvm::WebAssembly::UnusedReg, and llvm::Register::virtReg2Index().
|
inline |
Definition at line 122 of file WebAssemblyMachineFunctionInfo.h.
References assert(), I, MRI, llvm::BitVector::resize(), llvm::BitVector::set(), llvm::BitVector::size(), and llvm::Register::virtReg2Index().
Referenced by maybeRewriteToDrop(), maybeRewriteToFallthrough(), moveAndTeeForMultiUse(), moveForSingleUse(), and rematerializeCheapDef().
|
inline |
Definition at line 129 of file WebAssemblyMachineFunctionInfo.h.
References I, llvm::BitVector::reset(), llvm::BitVector::size(), and llvm::Register::virtReg2Index().