llvm/llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp

//===---------- SystemZPhysRegCopy.cpp - Handle phys reg copies -----------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// This pass makes sure that a COPY of a physical register will be
// implementable after register allocation in copyPhysReg() (this could be
// done in EmitInstrWithCustomInserter() instead if COPY instructions would
// be passed to it).
//
//===----------------------------------------------------------------------===//

#include "SystemZMachineFunctionInfo.h"
#include "SystemZTargetMachine.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Target/TargetMachine.h"

usingnamespacellvm;

namespace {

class SystemZCopyPhysRegs : public MachineFunctionPass {};

char SystemZCopyPhysRegs::ID =;

} // end anonymous namespace

INITIALIZE_PASS()

FunctionPass *llvm::createSystemZCopyPhysRegsPass(SystemZTargetMachine &TM) {}

void SystemZCopyPhysRegs::getAnalysisUsage(AnalysisUsage &AU) const {}

bool SystemZCopyPhysRegs::visitMBB(MachineBasicBlock &MBB) {}

bool SystemZCopyPhysRegs::runOnMachineFunction(MachineFunction &F) {}