LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
CodeGen
PHIEliminationUtils.h
Go to the documentation of this file.
1
//=- PHIEliminationUtils.h - Helper functions for PHI elimination -*- C++ -*-=//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLVM_LIB_CODEGEN_PHIELIMINATIONUTILS_H
11
#define LLVM_LIB_CODEGEN_PHIELIMINATIONUTILS_H
12
13
#include "
llvm/CodeGen/MachineBasicBlock.h
"
14
15
namespace
llvm {
16
/// findPHICopyInsertPoint - Find a safe place in MBB to insert a copy from
17
/// SrcReg when following the CFG edge to SuccMBB. This needs to be after
18
/// any def of SrcReg, but before any subsequent point where control flow
19
/// might jump out of the basic block.
20
MachineBasicBlock::iterator
21
findPHICopyInsertPoint
(MachineBasicBlock*
MBB
, MachineBasicBlock* SuccMBB,
22
unsigned
SrcReg);
23
}
24
25
#endif
llvm::findPHICopyInsertPoint
MachineBasicBlock::iterator findPHICopyInsertPoint(MachineBasicBlock *MBB, MachineBasicBlock *SuccMBB, unsigned SrcReg)
findPHICopyInsertPoint - Find a safe place in MBB to insert a copy from SrcReg when following the CFG...
Definition:
PHIEliminationUtils.cpp:22
llvm::MachineBasicBlock::iterator
MachineInstrBundleIterator< MachineInstr > iterator
Definition:
MachineBasicBlock.h:153
MachineBasicBlock.h
MBB
MachineBasicBlock * MBB
Definition:
AArch64RedundantCopyElimination.cpp:69
Generated on Wed Mar 8 2017 17:18:54 for LLVM by
1.8.6