Home
last modified time | relevance | path

Searched refs:ValueRef (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.h654 class ValueRef
657 ValueRef(Value * = NULL);
658 ValueRef(const ValueRef&);
659 ~ValueRef();
664 void set(const ValueRef&);
672 inline const ValueRef *getIndirect(int dim) const;
703 bool mayReplace(const ValueRef &);
704 void replace(const ValueRef &, bool doSet); // replace all uses of the old value
752 unordered_set<ValueRef *> uses;
754 typedef unordered_set<ValueRef *>::iterator UseIterator;
[all …]
Dnv50_ir_emit_gv100.h99 inline void emitNOT(int pos, const ValueRef &ref) { in emitNOT()
227 inline void emitSYS(int pos, const ValueRef &ref) { in emitSYS()
240 inline void emitBTS(int pos, const ValueRef &ref) { in emitBTS()
261 inline void emitGPR(int pos, const ValueRef &ref) { in emitGPR()
265 inline void emitGPR(int pos, const ValueRef *ref) { in emitGPR()
285 inline void emitPRED(int pos, const ValueRef &ref) { in emitPRED()
294 const ValueRef &ref) { in emitCBUF()
306 inline void emitIMMD(int pos, int len, const ValueRef &ref) { in emitIMMD()
319 const ValueRef &ref) { in emitADDR()
Dnv50_ir.cpp60 ValueRef::ValueRef(Value *v) : value(NULL), insn(NULL) in ValueRef() function in nv50_ir::ValueRef
68 ValueRef::ValueRef(const ValueRef& ref) : value(NULL), insn(ref.insn) in ValueRef() function in nv50_ir::ValueRef
74 ValueRef::~ValueRef() in ~ValueRef()
79 bool ValueRef::getImmediate(ImmediateValue &imm) const in getImmediate()
81 const ValueRef *src = this; in getImmediate()
129 ValueRef::set(const ValueRef &ref) in set()
138 ValueRef::set(Value *refVal) in set()
167 ValueDef::mayReplace(const ValueRef &rep) in mayReplace()
200 ValueDef::replace(const ValueRef &repVal, bool doSet) in replace()
208 ValueRef *ref = *value->uses.begin(); in replace()
[all …]
Dnv50_ir_inlines.h160 const ValueRef *ValueRef::getIndirect(int dim) const in getIndirect()
165 DataFile ValueRef::getFile() const in getFile()
170 unsigned int ValueRef::getSize() const in getSize()
175 Value *ValueRef::rep() const in rep()
Dnv50_ir_emit_gm107.cpp65 inline void emitGPR(int pos, const ValueRef &ref) { in emitGPR()
68 inline void emitGPR(int pos, const ValueRef *ref) { in emitGPR()
75 inline void emitSYS(int pos, const ValueRef &ref) { in emitSYS()
82 inline void emitPRED(int pos, const ValueRef &ref) { in emitPRED()
88 inline void emitADDR(int, int, int, int, const ValueRef &);
89 inline void emitCBUF(int, int, int, int, int, const ValueRef &);
90 inline bool longIMMD(const ValueRef &);
91 inline void emitIMMD(int, int, const ValueRef &);
101 inline void emitABS(int, const ValueRef &);
102 inline void emitNEG(int, const ValueRef &);
[all …]
Dnv50_ir_emit_nvc0.cpp52 void setAddress16(const ValueRef&);
53 void setAddress24(const ValueRef&);
54 void setAddressByFile(const ValueRef&);
56 void setImmediateS8(const ValueRef&);
69 void emitShortSrc2(const ValueRef&);
71 inline uint8_t getSRegEncoding(const ValueRef&);
157 inline void srcId(const ValueRef&, const int pos);
158 inline void srcId(const ValueRef *, const int pos);
160 inline void srcAddr32(const ValueRef&, int pos, int shr);
162 inline bool isLIMM(const ValueRef&, DataType ty);
[all …]
Dnv50_ir_emit_gk110.cpp52 void setCAddress14(const ValueRef&);
66 inline uint8_t getSRegEncoding(const ValueRef&);
149 inline void srcId(const ValueRef&, const int pos);
150 inline void srcId(const ValueRef *, const int pos);
153 inline void srcAddr32(const ValueRef&, const int pos); // address / 4
155 inline bool isLIMM(const ValueRef&, DataType ty, bool mod = false);
178 void CodeEmitterGK110::srcId(const ValueRef& src, const int pos) in srcId()
183 void CodeEmitterGK110::srcId(const ValueRef *src, const int pos) in srcId()
194 void CodeEmitterGK110::srcAddr32(const ValueRef& src, const int pos) in srcAddr32()
204 bool CodeEmitterGK110::isLIMM(const ValueRef& ref, DataType ty, bool mod) in isLIMM()
[all …]
Dnv50_ir_emit_nv50.cpp51 inline void srcId(const ValueRef&, const int pos);
52 inline void srcId(const ValueRef *, const int pos);
54 inline void srcAddr16(const ValueRef&, bool adj, const int pos);
55 inline void srcAddr8(const ValueRef&, const int pos);
135 void CodeEmitterNV50::srcId(const ValueRef& src, const int pos) in srcId()
141 void CodeEmitterNV50::srcId(const ValueRef *src, const int pos) in srcId()
147 void CodeEmitterNV50::srcAddr16(const ValueRef& src, bool adj, const int pos) in srcAddr16()
165 void CodeEmitterNV50::srcAddr8(const ValueRef& src, const int pos) in srcAddr8()
810 static inline uint8_t getSRegEncoding(const ValueRef &ref) in getSRegEncoding()
Dnv50_ir_ssa.cpp254 for (std::deque<ValueRef>::iterator it = f->outs.begin(); in buildLiveSetsPreSSA()
531 for (std::deque<ValueRef>::iterator it = func->outs.begin(); in search()
Dnv50_ir_ra.cpp266 void addHazard(Instruction *i, const ValueRef *src);
638 for (std::deque<ValueRef>::iterator it = f->outs.begin(); in buildLiveSets()
1789 value_cmp(ValueRef *a, ValueRef *b) { in value_cmp()
1832 std::vector<ValueRef *> refs(dval->uses.begin(), dval->uses.end()); in run()
1837 for (std::vector<ValueRef*>::const_iterator it = refs.begin(); in run()
1839 ValueRef *u = *it; in run()
2109 RegAlloc::InsertConstraintsPass::addHazard(Instruction *i, const ValueRef *src) in addHazard()
Dnv50_ir_target_nvc0.cpp446 const ValueRef& ref = insn->src(s); in insnCanLoadOffset()
Dnv50_ir_print.cpp804 for (std::deque<ValueRef>::iterator it = fn->outs.begin(); in visit()
Dnv50_ir_lowering_nv50.cpp1414 ValueRef src = i->src(0); in handleLOAD()
1575 ValueRef src = i->src(0); in handleLDST()