Home
last modified time | relevance | path

Searched refs:const_index (Results 1 – 14 of 14) 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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/v8/src/x64/
Dlithium-codegen-x64.cc3058 int32_t const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3060 if (const_index >= 0 && const_index < const_length) { in DoAccessArgumentsAt()
3063 __ movp(result, args.GetArgumentOperand(const_index)); in DoAccessArgumentsAt()
4581 int32_t const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4582 __ Push(Smi::FromInt(const_index)); in DoDeferredStringCharCodeAt()
/external/chromium_org/v8/src/arm/
Dlithium-codegen-arm.cc3186 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3187 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
3196 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3197 int loc = const_index - 1; in DoAccessArgumentsAt()
4564 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4565 __ mov(scratch, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/chromium_org/v8/src/mips64/
Dlithium-codegen-mips64.cc3066 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3067 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
3079 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3080 int loc = const_index - 1; in DoAccessArgumentsAt()
4584 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4585 __ Daddu(scratch, zero_reg, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/chromium_org/v8/src/mips/
Dlithium-codegen-mips.cc3082 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3083 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
3095 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3096 int loc = const_index - 1; in DoAccessArgumentsAt()
4520 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoDeferredStringCharCodeAt() local
4521 __ Addu(scratch, zero_reg, Operand(Smi::FromInt(const_index))); in DoDeferredStringCharCodeAt()
/external/chromium_org/v8/src/ia32/
Dlithium-codegen-ia32.cc3030 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3032 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()
/external/chromium_org/v8/src/x87/
Dlithium-codegen-x87.cc3320 int const_index = ToInteger32(LConstantOperand::cast(instr->index())); in DoAccessArgumentsAt() local
3322 int index = (const_length - const_index) + 1; in DoAccessArgumentsAt()