summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/R600MachineFunctionInfo.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-05 17:09:14 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-05 17:09:14 +0000
commit41afe6a6fe10f0642e7dce2be8ba14db5a860ad4 (patch)
tree1fd964c6687683bcae52d76580cd894aec773b44 /llvm/lib/Target/R600/R600MachineFunctionInfo.h
parent7d41161a2daca1c3aea892bcbf9b136c1d03025e (diff)
downloadbcm5719-llvm-41afe6a6fe10f0642e7dce2be8ba14db5a860ad4.tar.gz
bcm5719-llvm-41afe6a6fe10f0642e7dce2be8ba14db5a860ad4.zip
R600: improve inputs/interpolation handling
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
Diffstat (limited to 'llvm/lib/Target/R600/R600MachineFunctionInfo.h')
-rw-r--r--llvm/lib/Target/R600/R600MachineFunctionInfo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/R600/R600MachineFunctionInfo.h b/llvm/lib/Target/R600/R600MachineFunctionInfo.h
index 91f9de28270..0cea2117427 100644
--- a/llvm/lib/Target/R600/R600MachineFunctionInfo.h
+++ b/llvm/lib/Target/R600/R600MachineFunctionInfo.h
@@ -23,14 +23,7 @@ class R600MachineFunctionInfo : public MachineFunctionInfo {
public:
R600MachineFunctionInfo(const MachineFunction &MF);
- std::vector<unsigned> ReservedRegs;
SDNode *Outputs[16];
- bool HasLinearInterpolation;
- bool HasPerspectiveInterpolation;
-
- unsigned GetIJLinearIndex() const;
- unsigned GetIJPerspectiveIndex() const;
-
};
} // End llvm namespace
OpenPOWER on IntegriCloud