2010-09-18 11:07:10 +02:00
|
|
|
//===-- RegAllocPBQP.h ------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the PBQPBuilder interface, for classes which build PBQP
|
|
|
|
// instances to represent register allocation problems, and the RegAllocPBQP
|
|
|
|
// interface.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_CODEGEN_REGALLOCPBQP_H
|
|
|
|
#define LLVM_CODEGEN_REGALLOCPBQP_H
|
|
|
|
|
|
|
|
#include "llvm/CodeGen/MachineFunctionPass.h"
|
2014-10-09 20:20:51 +02:00
|
|
|
#include "llvm/CodeGen/PBQPRAConstraint.h"
|
2014-03-03 19:50:05 +01:00
|
|
|
#include "llvm/CodeGen/PBQP/RegAllocSolver.h"
|
2010-09-18 11:07:10 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2014-10-09 20:20:51 +02:00
|
|
|
/// @brief Create a PBQP register allocator instance.
|
2014-03-06 06:51:42 +01:00
|
|
|
FunctionPass *
|
2014-10-09 20:20:51 +02:00
|
|
|
createPBQPRegisterAllocator(char *customPassID = nullptr);
|
2010-09-18 11:07:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* LLVM_CODEGEN_REGALLOCPBQP_H */
|