LLVM 19.0.0git
Macros | Functions
WebAssemblySetP2AlignOperands.cpp File Reference

This file sets the p2align operands on load and store instructions. More...

#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "WebAssembly.h"
#include "WebAssemblyInstrInfo.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-set-p2align-operands"
 

Functions

 INITIALIZE_PASS (WebAssemblySetP2AlignOperands, DEBUG_TYPE, "Set the p2align operands for WebAssembly loads and stores", false, false) FunctionPass *llvm
 
static void rewriteP2Align (MachineInstr &MI, unsigned OperandNo)
 

Detailed Description

This file sets the p2align operands on load and store instructions.

Definition in file WebAssemblySetP2AlignOperands.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-set-p2align-operands"

Definition at line 25 of file WebAssemblySetP2AlignOperands.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WebAssemblySetP2AlignOperands  ,
DEBUG_TYPE  ,
"Set the p2align operands for WebAssembly loads and stores"  ,
false  ,
false   
)

Definition at line 49 of file WebAssemblySetP2AlignOperands.cpp.

◆ rewriteP2Align()

static void rewriteP2Align ( MachineInstr MI,
unsigned  OperandNo 
)
static