• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "codegen/nv50_ir_lowering_nvc0.h"
2 
3 namespace nv50_ir {
4 
5 class GM107LoweringPass : public NVC0LoweringPass
6 {
7 public:
GM107LoweringPass(Program * p)8    GM107LoweringPass(Program *p) : NVC0LoweringPass(p) {}
9 private:
10    virtual bool visit(Instruction *);
11 
12    virtual bool handleManualTXD(TexInstruction *);
13    bool handleDFDX(Instruction *);
14    bool handlePFETCH(Instruction *);
15    bool handlePOPCNT(Instruction *);
16 };
17 
18 class GM107LegalizeSSA : public NVC0LegalizeSSA
19 {
20 private:
21    virtual bool visit(Instruction *);
22 
23    void handlePFETCH(Instruction *);
24    void handleLOAD(Instruction *);
25 };
26 
27 } // namespace nv50_ir
28