Home
last modified time | relevance | path

Searched refs:ImmediateValue (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir.h310 class ImmediateValue; variable
381 void applyTo(ImmediateValue &imm) const;
413 bool getImmediate(ImmediateValue&) const;
480 inline ImmediateValue *asImm();
482 inline const ImmediateValue *asImm() const;
557 class ImmediateValue : public Value
560 ImmediateValue() { } in ImmediateValue() function
561 ImmediateValue(Program *, uint32_t);
562 ImmediateValue(Program *, float);
563 ImmediateValue(Program *, double);
[all …]
Dnv50_ir.cpp80 bool ValueRef::getImmediate(ImmediateValue &imm) const in getImmediate()
319 ImmediateValue::ImmediateValue(Program *prog, uint32_t uval) in ImmediateValue() function in nv50_ir::ImmediateValue
332 ImmediateValue::ImmediateValue(Program *prog, float fval) in ImmediateValue() function in nv50_ir::ImmediateValue
345 ImmediateValue::ImmediateValue(Program *prog, double dval) in ImmediateValue() function in nv50_ir::ImmediateValue
358 ImmediateValue::ImmediateValue(const ImmediateValue *proto, DataType ty) in ImmediateValue() function in nv50_ir::ImmediateValue
366 ImmediateValue *
367 ImmediateValue::clone(ClonePolicy<Function>& pol) const in clone()
370 ImmediateValue *that = new_ImmediateValue(prog, 0u); in clone()
382 ImmediateValue::isInteger(const int i) const in isInteger()
406 ImmediateValue::isNegative() const in isNegative()
[all …]
Dnv50_ir_build_util.h88 ImmediateValue *mkImm(float);
89 ImmediateValue *mkImm(uint32_t);
90 ImmediateValue *mkImm(uint64_t);
92 ImmediateValue *mkImm(int i) { return mkImm((uint32_t)i); } in mkImm()
170 void addImmediate(ImmediateValue *);
182 ImmediateValue *imms[NV50_IR_BUILD_IMM_HT_SIZE];
Dnv50_ir_inlines.h343 ImmediateValue *Value::asImm() in asImm()
346 return static_cast<ImmediateValue *>(this); in asImm()
350 const ImmediateValue *Value::asImm() const in asImm()
353 return static_cast<const ImmediateValue *>(this); in asImm()
Dnv50_ir_build_util.cpp52 BuildUtil::addImmediate(ImmediateValue *imm) in addImmediate()
353 ImmediateValue *
361 ImmediateValue *imm = imms[pos]; in mkImm()
369 ImmediateValue *
372 ImmediateValue *imm = new_ImmediateValue(prog, (uint32_t)0); in mkImm()
381 ImmediateValue *
Dnv50_ir_peephole.cpp236 void expr(Instruction *, ImmediateValue&, ImmediateValue&);
237 void opnd(Instruction *, ImmediateValue&, int s);
239 void unary(Instruction *, const ImmediateValue&);
241 void tryCollapseChainedMULs(Instruction *, const int s, ImmediateValue&);
274 ImmediateValue src0, src1; in visit()
318 Modifier::applyTo(ImmediateValue& imm) const in applyTo()
390 ImmediateValue &imm0, ImmediateValue &imm1) in expr()
512 ImmediateValue src0; in expr()
521 ConstantFolding::unary(Instruction *i, const ImmediateValue &imm) in unary()
552 const int s, ImmediateValue& imm2) in tryCollapseChainedMULs()
[all …]
Dnv50_ir_print.cpp376 int ImmediateValue::print(char *buf, size_t size, DataType ty) const in print()
Dnv50_ir_lowering_nv50.cpp157 ImmediateValue *imm = i->getSrc(s)->asImm(); in replaceZero()
304 ImmediateValue imm; in isARL()
Dnv50_ir_util.h78 NV50_IR_PROG_ALLOC_OBJ_DEF(ImmediateValue, p, args)
Dnv50_ir_emit_nv50.cpp298 const ImmediateValue *imm = i->src(s).get()->asImm(); in setImmediate()
/external/v8/src/arm64/
Dmacro-assembler-arm64-inl.h130 if (operand.IsImmediate() && (operand.ImmediateValue() < 0)) { in Ccmp()
131 ConditionalCompareMacro(rn, -operand.ImmediateValue(), nzcv, cond, CCMN); in Ccmp()
143 if (operand.IsImmediate() && (operand.ImmediateValue() < 0)) { in Ccmn()
144 ConditionalCompareMacro(rn, -operand.ImmediateValue(), nzcv, cond, CCMP); in Ccmn()
155 if (operand.IsImmediate() && (operand.ImmediateValue() < 0) && in Add()
156 IsImmAddSub(-operand.ImmediateValue())) { in Add()
157 AddSubMacro(rd, rn, -operand.ImmediateValue(), LeaveFlags, SUB); in Add()
167 if (operand.IsImmediate() && (operand.ImmediateValue() < 0) && in Adds()
168 IsImmAddSub(-operand.ImmediateValue())) { in Adds()
169 AddSubMacro(rd, rn, -operand.ImmediateValue(), SetFlags, SUB); in Adds()
[all …]
Dassembler-arm64-inl.h382 return ImmediateValue() == 0;
402 int64_t Operand::ImmediateValue() const {
499 offset_ = offset.ImmediateValue();
Dmacro-assembler-arm64.cc67 int64_t immediate = operand.ImmediateValue(); in LogicalMacro()
256 Mov(dst, operand.ImmediateValue()); in Mov()
305 Mov(rd, ~operand.ImmediateValue()); in Mvn()
362 IsImmConditionalCompare(operand.ImmediateValue()))) { in ConditionalCompareMacro()
388 int64_t imm = operand.ImmediateValue(); in Csel()
492 !IsImmAddSub(operand.ImmediateValue())) || in AddSubMacro()
499 MoveImmediateForShiftedOp(temp, operand.ImmediateValue()); in AddSubMacro()
1183 DCHECK((total_size.ImmediateValue() % 16) == 0); in PushPreamble()
1203 DCHECK((total_size.ImmediateValue() % 16) == 0); in PopPostamble()
1219 DCHECK(offset.ImmediateValue() >= 0); in Poke()
[all …]
Dassembler-arm64.cc2157 int64_t immediate = operand.ImmediateValue(); in AddSub()
2264 int64_t immediate = operand.ImmediateValue(); in Logical()
2316 int64_t immediate = operand.ImmediateValue(); in ConditionalCompare()
Dassembler-arm64.h675 inline int64_t ImmediateValue() const;
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp163 const ImmediateValue *imm = ref.get()->asImm(); in isLIMM()
254 const ImmediateValue *imm = i->src(s).get()->asImm(); in setImmediate()
283 const ImmediateValue *imm = ref.get()->asImm(); in setImmediateS8()
Dnv50_ir_lowering_nvc0.cpp479 ImmediateValue *imm = i->getSrc(s)->asImm(); in replaceZero()