Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/
Dllvm.grm340 ValueRef ::= SymbolicValueRef | ConstValueRef;
342 ResolvedVal ::= Types ValueRef ;
357 | br label ValueRef
358 | br INTTYPE ValueRef ^ "," label ValueRef ^ "," label ValueRef
359 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
360 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
361 | invoke OptCallingConv ResultTypes ValueRef ^ "(" ^ ParamList ^ ")"
363 to label ValueRef unwind label ValueRef
367 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
368 | IntType ConstValueRef ^ "," label ValueRef ;
[all …]
/external/llvm/utils/
Dllvm.grm341 ValueRef ::= SymbolicValueRef | ConstValueRef;
343 ResolvedVal ::= Types ValueRef ;
358 | br label ValueRef
359 | br INTTYPE ValueRef ^ "," label ValueRef ^ "," label ValueRef
360 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
361 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
362 | invoke OptCallingConv ResultTypes ValueRef ^ "(" ^ ParamList ^ ")"
364 to label ValueRef unwind label ValueRef
368 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
369 | IntType ConstValueRef ^ "," label ValueRef ;
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.h565 class ValueRef
568 ValueRef(Value * = NULL);
569 ValueRef(const ValueRef&);
570 ~ValueRef();
575 void set(const ValueRef&);
583 inline const ValueRef *getIndirect(int dim) const;
615 bool mayReplace(const ValueRef &);
616 void replace(const ValueRef &, bool doSet); // replace all uses of the old value
664 unordered_set<ValueRef *> uses;
666 typedef unordered_set<ValueRef *>::iterator UseIterator;
[all …]
Dnv50_ir.cpp61 ValueRef::ValueRef(Value *v) : value(NULL), insn(NULL) in ValueRef() function in nv50_ir::ValueRef
69 ValueRef::ValueRef(const ValueRef& ref) : value(NULL), insn(ref.insn) in ValueRef() function in nv50_ir::ValueRef
75 ValueRef::~ValueRef() in ~ValueRef()
80 bool ValueRef::getImmediate(ImmediateValue &imm) const in getImmediate()
82 const ValueRef *src = this; in getImmediate()
130 ValueRef::set(const ValueRef &ref) in set()
139 ValueRef::set(Value *refVal) in set()
168 ValueDef::mayReplace(const ValueRef &rep) in mayReplace()
201 ValueDef::replace(const ValueRef &repVal, bool doSet) in replace()
209 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.cpp64 inline void emitGPR(int pos, const ValueRef &ref) { in emitGPR()
67 inline void emitGPR(int pos, const ValueRef *ref) { in emitGPR()
74 inline void emitSYS(int pos, const ValueRef &ref) { in emitSYS()
81 inline void emitPRED(int pos, const ValueRef &ref) { in emitPRED()
87 inline void emitADDR(int, int, int, int, const ValueRef &);
88 inline void emitCBUF(int, int, int, int, int, const ValueRef &);
89 inline bool longIMMD(const ValueRef &);
90 inline void emitIMMD(int, int, const ValueRef &);
100 inline void emitABS(int, const ValueRef &);
101 inline void emitNEG(int, const ValueRef &);
[all …]
Dnv50_ir_emit_nvc0.cpp54 void setAddress16(const ValueRef&);
55 void setAddress24(const ValueRef&);
56 void setAddressByFile(const ValueRef&);
58 void setImmediateS8(const ValueRef&);
70 void emitShortSrc2(const ValueRef&);
72 inline uint8_t getSRegEncoding(const ValueRef&);
156 inline void srcId(const ValueRef&, const int pos);
157 inline void srcId(const ValueRef *, const int pos);
159 inline void srcAddr32(const ValueRef&, int pos, int shr);
161 inline bool isLIMM(const ValueRef&, DataType ty);
[all …]
Dnv50_ir_emit_gk110.cpp54 void setCAddress14(const ValueRef&);
68 inline uint8_t getSRegEncoding(const ValueRef&);
148 inline void srcId(const ValueRef&, const int pos);
149 inline void srcId(const ValueRef *, const int pos);
152 inline void srcAddr32(const ValueRef&, const int pos); // address / 4
154 inline bool isLIMM(const ValueRef&, DataType ty, bool mod = false);
177 void CodeEmitterGK110::srcId(const ValueRef& src, const int pos) in srcId()
182 void CodeEmitterGK110::srcId(const ValueRef *src, const int pos) in srcId()
193 void CodeEmitterGK110::srcAddr32(const ValueRef& src, const int pos) in srcAddr32()
203 bool CodeEmitterGK110::isLIMM(const ValueRef& ref, DataType ty, bool mod) in isLIMM()
[all …]
Dnv50_ir_emit_nv50.cpp53 inline void srcId(const ValueRef&, const int pos);
54 inline void srcId(const ValueRef *, const int pos);
56 inline void srcAddr16(const ValueRef&, bool adj, const int pos);
57 inline void srcAddr8(const ValueRef&, const int pos);
137 void CodeEmitterNV50::srcId(const ValueRef& src, const int pos) in srcId()
143 void CodeEmitterNV50::srcId(const ValueRef *src, const int pos) in srcId()
149 void CodeEmitterNV50::srcAddr16(const ValueRef& src, bool adj, const int pos) in srcAddr16()
167 void CodeEmitterNV50::srcAddr8(const ValueRef& src, const int pos) in srcAddr8()
803 static inline uint8_t getSRegEncoding(const ValueRef &ref) in getSRegEncoding()
Dnv50_ir_ra.cpp267 void addHazard(Instruction *i, const ValueRef *src);
592 for (std::deque<ValueRef>::iterator it = f->outs.begin(); in buildLiveSets()
1705 value_cmp(ValueRef *a, ValueRef *b) { in value_cmp()
1747 std::vector<ValueRef *> refs(dval->uses.begin(), dval->uses.end()); in run()
1752 for (std::vector<ValueRef*>::const_iterator it = refs.begin(); in run()
1754 ValueRef *u = *it; in run()
2021 RegAlloc::InsertConstraintsPass::addHazard(Instruction *i, const ValueRef *src) in addHazard()
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_print.cpp707 for (std::deque<ValueRef>::iterator it = fn->outs.begin(); in visit()
Dnv50_ir_target_nvc0.cpp398 const ValueRef& ref = insn->src(s); in insnCanLoadOffset()
Dnv50_ir_lowering_nv50.cpp1294 ValueRef src = i->src(0); in handleLOAD()