Home
last modified time | relevance | path

Searched refs:const_index (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/glsl/
Dopt_algebraic.cpp58 int const_index,
127 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index, in reassociate_constant() argument
149 reassociate_operands(ir1, const_index, ir2, 1); in reassociate_constant()
152 reassociate_operands(ir1, const_index, ir2, 0); in reassociate_constant()
156 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()
162 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()
Dlower_ubo_reference.cpp119 ir_constant *const_index = deref_array->array_index->as_constant(); in handle_rvalue() local
120 if (const_index) { in handle_rvalue()
121 const_offset += array_stride * const_index->value.i[0]; in handle_rvalue()
Dast_to_hir.cpp1567 ir_constant *const const_index = op[1]->constant_expression_value(); in hir() local
1568 if (const_index != NULL) { in hir()
1569 const int idx = const_index->value.i[0]; in hir()
1661 const_index == NULL) { in hir()
/external/v8/test/unittests/compiler/
Dmove-optimizer-unittest.cc213 int const_index = 1; in TEST_F() local
214 DefineConstant(const_index); in TEST_F()
219 AddMove(last, Const(const_index), Reg(0)); in TEST_F()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_optimize.c704 int const_index = -1; in peephole_mul_omod() local
748 if (const_index != -1) { in peephole_mul_omod()
752 const_index = i; in peephole_mul_omod()
756 if (!rc_src_reg_is_immediate(c, inst_mul->U.I.SrcReg[const_index].File, in peephole_mul_omod()
757 inst_mul->U.I.SrcReg[const_index].Index)) { in peephole_mul_omod()
761 inst_mul->U.I.SrcReg[const_index].Index, in peephole_mul_omod()
762 inst_mul->U.I.SrcReg[const_index].Swizzle, in peephole_mul_omod()
763 inst_mul->U.I.SrcReg[const_index].Negate, in peephole_mul_omod()
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc2823 int32_t const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2825 if (const_index >= 0 && const_index < const_length) { in DoAccessArgumentsAt()
2828 __ movp(result, args.GetArgumentOperand(const_index)); in DoAccessArgumentsAt()
4444 int32_t const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4445 __ Push(Smi::FromInt(const_index)); in DoDeferredStringCharCodeAt()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc2856 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2857 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
2866 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2867 int loc = const_index - 1; in DoAccessArgumentsAt()
4337 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4338 __ mov(scratch, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc2776 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2777 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
2789 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2790 int loc = const_index - 1; in DoAccessArgumentsAt()
4314 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4315 __ Addu(scratch, zero_reg, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc2916 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2917 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
2929 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2930 int loc = const_index - 1; in DoAccessArgumentsAt()
4548 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4549 __ Daddu(scratch, zero_reg, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc2966 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoShiftI() local
2967 int index = (const_length - const_index) + 1; in DoShiftI()
2977 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoShiftI() local
2978 int loc = const_index - 1; in DoShiftI()
4603 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoShiftI() local
4604 __ LoadSmiLiteral(scratch, Smi::FromInt(const_index)); in DoShiftI()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc2808 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
2810 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc3083 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3085 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()