mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 14:02:50 +01:00
ca16bf3d1b
Use one intrinsic for all sorts of interpolation. Use two separate unexpanded instructions to represent INTERP_XY and _ZW - this will allow to eliminate one part if it's not used. Track liveness of special interpolation regs instead of reserving them - this will allow to reuse those regs, lowering reg pressure. Patch By: Vadim Girlin v2[Vincent Lejeune]: Rebased against current llvm master Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174394
32 lines
834 B
C++
32 lines
834 B
C++
//===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- C++ -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
/// \file
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef R600MACHINEFUNCTIONINFO_H
|
|
#define R600MACHINEFUNCTIONINFO_H
|
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
#include "llvm/CodeGen/SelectionDAG.h"
|
|
#include <vector>
|
|
|
|
namespace llvm {
|
|
|
|
class R600MachineFunctionInfo : public MachineFunctionInfo {
|
|
|
|
public:
|
|
R600MachineFunctionInfo(const MachineFunction &MF);
|
|
SDNode *Outputs[16];
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif //R600MACHINEFUNCTIONINFO_H
|