LLVM  6.0.0svn
Macros | Functions
WebAssemblyFrameLowering.cpp File Reference

This file contains the WebAssembly implementation of TargetFrameLowering class. More...

#include "WebAssemblyFrameLowering.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "WebAssemblyInstrInfo.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "WebAssemblySubtarget.h"
#include "WebAssemblyTargetMachine.h"
#include "WebAssemblyUtilities.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/Debug.h"
Include dependency graph for WebAssemblyFrameLowering.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-frame-info"
 

Functions

static void writeSPToMemory (unsigned SrcReg, MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator &InsertAddr, MachineBasicBlock::iterator &InsertStore, const DebugLoc &DL)
 

Detailed Description

This file contains the WebAssembly implementation of TargetFrameLowering class.

On WebAssembly, there aren't a lot of things to do here. There are no callee-saved registers to save, and no spill slots.

The stack grows downward.

Definition in file WebAssemblyFrameLowering.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-frame-info"

Definition at line 36 of file WebAssemblyFrameLowering.cpp.

Function Documentation

◆ writeSPToMemory()

static void writeSPToMemory ( unsigned  SrcReg,
MachineFunction MF,
MachineBasicBlock MBB,
MachineBasicBlock::iterator InsertAddr,
MachineBasicBlock::iterator InsertStore,
const DebugLoc DL 
)
static