#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"
usingnamespacellvm;
#define DEBUG_TYPE …
namespace {
class WebAssemblySetP2AlignOperands final : public MachineFunctionPass { … };
}
char WebAssemblySetP2AlignOperands::ID = …;
INITIALIZE_PASS(…)
FunctionPass *llvm::createWebAssemblySetP2AlignOperands() { … }
static void rewriteP2Align(MachineInstr &MI, unsigned OperandNo) { … }
bool WebAssemblySetP2AlignOperands::runOnMachineFunction(MachineFunction &MF) { … }