llvm/llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp

//=- WebAssemblySetP2AlignOperands.cpp - Set alignments on loads and stores -=//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file sets the p2align operands on load and store instructions.
///
//===----------------------------------------------------------------------===//

#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 {};
} // end anonymous namespace

char WebAssemblySetP2AlignOperands::ID =;
INITIALIZE_PASS()

FunctionPass *llvm::createWebAssemblySetP2AlignOperands() {}

static void rewriteP2Align(MachineInstr &MI, unsigned OperandNo) {}

bool WebAssemblySetP2AlignOperands::runOnMachineFunction(MachineFunction &MF) {}