• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "codegen/nv50_ir_target_nvc0.h"
2 
3 namespace nv50_ir {
4 
5 class TargetGM107 : public TargetNVC0
6 {
7 public:
TargetGM107(unsigned int chipset)8    TargetGM107(unsigned int chipset) : TargetNVC0(chipset) {}
9 
10    virtual CodeEmitter *getCodeEmitter(Program::Type);
11    CodeEmitter *createCodeEmitterGM107(Program::Type);
12 
13    virtual bool runLegalizePass(Program *, CGStage) const;
14 
15    virtual void getBuiltinCode(const uint32_t **, uint32_t *) const;
16    virtual uint32_t getBuiltinOffset(int) const;
17 
18    virtual bool isOpSupported(operation, DataType) const;
19    virtual bool isReuseSupported(const Instruction *) const;
20 
21    virtual bool isBarrierRequired(const Instruction *) const;
22 
23    virtual bool canDualIssue(const Instruction *, const Instruction *) const;
24    virtual int getLatency(const Instruction *) const;
25    virtual int getReadLatency(const Instruction *) const;
26 };
27 
28 } // namespace nv50_ir
29