/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
D | radeon_optimize.c | 56 combine.Negate = outer.Negate; in chain_srcregs() 59 combine.Negate = swizzle_mask(outer.Swizzle, inner.Negate); in chain_srcregs() 60 combine.Negate ^= outer.Negate; in chain_srcregs() 197 *pnegate = GET_BIT(src.Negate, chan); in is_src_uniform_constant() 200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) { in is_src_uniform_constant() 226 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mad() 240 inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW; in constant_folding_mad() 261 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mul() 274 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mul() 371 newsrc.Negate ^= 1 << chan; in constant_folding() [all …]
|
D | r300_fragprog_swizzle.c | 117 if (reg.Abs || reg.Negate) in r300_swizzle_is_native() 137 if ((reg.Negate & relevant) && ((reg.Negate & relevant) != relevant)) in r300_swizzle_is_native() 173 if (matchmask && (!!(src.Negate & matchmask) != !!(src.Negate & (1 << comp)))) in r300_swizzle_split()
|
D | radeon_dataflow_swizzles.c | 71 masked_negate = split.Phase[phase] & mov->U.I.SrcReg[0].Negate; in rewrite_source() 73 mov->U.I.SrcReg[0].Negate = 0; in rewrite_source() 75 mov->U.I.SrcReg[0].Negate = RC_MASK_XYZW; in rewrite_source() 82 inst->U.I.SrcReg[src].Negate = RC_MASK_NONE; in rewrite_source()
|
D | radeon_pair_translate.c | 47 inst->SrcReg[1].Negate = RC_MASK_NONE; in final_rewrite() 245 …pair->RGB.Arg[i].Negate = !!(srcmask & inst->SrcReg[i].Negate & (RC_MASK_X | RC_MASK_Y | RC_MASK_Z… in set_pair_instruction() 273 pair->Alpha.Arg[i].Negate = in set_pair_instruction() 274 !!(inst->SrcReg[i].Negate & in set_pair_instruction() 277 pair->Alpha.Arg[i].Negate = in set_pair_instruction() 278 !!(inst->SrcReg[i].Negate & RC_MASK_W); in set_pair_instruction()
|
D | r500_fragprog.c | 178 inst_if->U.I.SrcReg[0].Negate = 0; in r500_transform_IF() 197 if (opcode == RC_OPCODE_KIL && (reg.Swizzle != RC_SWIZZLE_XYZW || reg.Negate != RC_MASK_NONE)) in r500_swizzle_is_native() 203 reg.Negate &= ~(1 << i); in r500_swizzle_is_native() 210 if (reg.Negate) in r500_swizzle_is_native() 217 if (reg.Swizzle == RC_SWIZZLE_XYZW && !reg.Abs && !reg.Negate) in r500_swizzle_is_native() 231 if ((reg.Negate & relevant) && ((reg.Negate & relevant) != relevant)) in r500_swizzle_is_native() 254 negatebase[GET_BIT(src.Negate, i)] |= 1 << i; in r500_swizzle_split()
|
D | radeon_program_print.c | 235 int trivial_negate = (src.Negate == RC_MASK_NONE || src.Negate == RC_MASK_XYZW); in rc_print_src_register() 237 if (src.Negate == RC_MASK_XYZW) in rc_print_src_register() 252 rc_print_swizzle(f, src.Swizzle, trivial_negate ? 0 : src.Negate); in rc_print_src_register() 406 const char* neg = inst->RGB.Arg[arg].Negate ? "-" : ""; in rc_print_pair_instruction() 441 const char* neg = inst->Alpha.Arg[arg].Negate ? "-" : ""; in rc_print_pair_instruction()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_optimize.c | 56 combine.Negate = outer.Negate; in chain_srcregs() 59 combine.Negate = swizzle_mask(outer.Swizzle, inner.Negate); in chain_srcregs() 60 combine.Negate ^= outer.Negate; in chain_srcregs() 197 *pnegate = GET_BIT(src.Negate, chan); in is_src_uniform_constant() 200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) { in is_src_uniform_constant() 226 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mad() 240 inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW; in constant_folding_mad() 261 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mul() 274 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW; in constant_folding_mul() 371 newsrc.Negate ^= 1 << chan; in constant_folding() [all …]
|
D | r300_fragprog_swizzle.c | 117 if (reg.Abs || reg.Negate) in r300_swizzle_is_native() 137 if ((reg.Negate & relevant) && ((reg.Negate & relevant) != relevant)) in r300_swizzle_is_native() 173 if (matchmask && (!!(src.Negate & matchmask) != !!(src.Negate & (1 << comp)))) in r300_swizzle_split()
|
D | radeon_dataflow_swizzles.c | 71 masked_negate = split.Phase[phase] & mov->U.I.SrcReg[0].Negate; in rewrite_source() 73 mov->U.I.SrcReg[0].Negate = 0; in rewrite_source() 75 mov->U.I.SrcReg[0].Negate = RC_MASK_XYZW; in rewrite_source() 82 inst->U.I.SrcReg[src].Negate = RC_MASK_NONE; in rewrite_source()
|
D | radeon_pair_translate.c | 47 inst->SrcReg[1].Negate = RC_MASK_NONE; in final_rewrite() 245 …pair->RGB.Arg[i].Negate = !!(srcmask & inst->SrcReg[i].Negate & (RC_MASK_X | RC_MASK_Y | RC_MASK_Z… in set_pair_instruction() 273 pair->Alpha.Arg[i].Negate = in set_pair_instruction() 274 !!(inst->SrcReg[i].Negate & in set_pair_instruction() 277 pair->Alpha.Arg[i].Negate = in set_pair_instruction() 278 !!(inst->SrcReg[i].Negate & RC_MASK_W); in set_pair_instruction()
|
D | r500_fragprog.c | 178 inst_if->U.I.SrcReg[0].Negate = 0; in r500_transform_IF() 197 if (opcode == RC_OPCODE_KIL && (reg.Swizzle != RC_SWIZZLE_XYZW || reg.Negate != RC_MASK_NONE)) in r500_swizzle_is_native() 203 reg.Negate &= ~(1 << i); in r500_swizzle_is_native() 210 if (reg.Negate) in r500_swizzle_is_native() 217 if (reg.Swizzle == RC_SWIZZLE_XYZW && !reg.Abs && !reg.Negate) in r500_swizzle_is_native() 231 if ((reg.Negate & relevant) && ((reg.Negate & relevant) != relevant)) in r500_swizzle_is_native() 254 negatebase[GET_BIT(src.Negate, i)] |= 1 << i; in r500_swizzle_split()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_util.c | 116 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode() 124 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode() 143 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode() 149 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode() 153 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode() 158 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
D | tgsi_util.c | 116 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode() 124 if( reg->Register.Negate ) { in tgsi_util_get_full_src_register_sign_mode() 143 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode() 149 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode() 153 reg->Register.Negate = 1; in tgsi_util_set_full_src_register_sign_mode() 158 reg->Register.Negate = 0; in tgsi_util_set_full_src_register_sign_mode()
|
/external/chromium_org/third_party/re2/re2/testing/ |
D | charclass_test.cc | 118 CharClass* Negate(CharClass *cc) { in Negate() function 119 return cc->Negate(); in Negate() 126 CharClassBuilder* Negate(CharClassBuilder* cc) { in Negate() function 128 ncc->Negate(); in Negate() 170 CharClass* ncc = Negate(cc); in CorrectCC()
|
/external/regex-re2/re2/testing/ |
D | charclass_test.cc | 118 CharClass* Negate(CharClass *cc) { in Negate() function 119 return cc->Negate(); in Negate() 126 CharClassBuilder* Negate(CharClassBuilder* cc) { in Negate() function 128 ncc->Negate(); in Negate() 170 CharClass* ncc = Negate(cc); in CorrectCC()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 70 struct match_info Negate; member 106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 107 tokens.Negate.Length = match_length(matches, 1); in init_rc_normal_src() 118 if (tokens.Negate.Length > 0) { in init_rc_normal_src() 119 src_reg->Negate = RC_MASK_XYZW; in init_rc_normal_src() 158 src_reg->Negate |= (1 << i); in init_rc_normal_src() 194 src_reg->Negate, src_reg->Abs); in init_rc_normal_src()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 70 struct match_info Negate; member 106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 107 tokens.Negate.Length = match_length(matches, 1); in init_rc_normal_src() 118 if (tokens.Negate.Length > 0) { in init_rc_normal_src() 119 src_reg->Negate = RC_MASK_XYZW; in init_rc_normal_src() 158 src_reg->Negate |= (1 << i); in init_rc_normal_src() 194 src_reg->Negate, src_reg->Abs); in init_rc_normal_src()
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
D | prog_opt_constant_fold.c | 84 && (a->Negate == b->Negate) in src_regs_are_same() 107 if (r->Negate & 0x01) { in get_value() 111 if (r->Negate & 0x02) { in get_value() 115 if (r->Negate & 0x04) { in get_value() 119 if (r->Negate & 0x08) { in get_value()
|
/external/mesa3d/src/mesa/program/ |
D | prog_opt_constant_fold.c | 84 && (a->Negate == b->Negate) in src_regs_are_same() 107 if (r->Negate & 0x01) { in get_value() 111 if (r->Negate & 0x02) { in get_value() 115 if (r->Negate & 0x04) { in get_value() 119 if (r->Negate & 0x08) { in get_value()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_vertprog.c | 293 src->Negate) | (src->RelAddr << 4); in t_src() 305 src->Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src->RelAddr << 4); in t_src_scalar() 719 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 731 src[0].Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 736 src[1].Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 785 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 789 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 811 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 819 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 834 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | r200_vertprog.c | 293 src->Negate) | (src->RelAddr << 4); in t_src() 305 src->Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src->RelAddr << 4); in t_src_scalar() 719 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 731 src[0].Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 736 src[1].Negate ? VSF_FLAG_ALL : VSF_FLAG_NONE) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 785 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 789 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 811 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() 819 src[1].Negate) | (src[1].RelAddr << 4); in r200_translate_vertex_program() 834 src[0].Negate) | (src[0].RelAddr << 4); in r200_translate_vertex_program() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 62 d1->Register.Negate == d2->Register.Negate); in same_src_reg() 159 o->Negate = i->Negate; in copy_src_reg() 266 current.FullInstruction.Src[0].Register.Negate == 0 && in i915_fpc_useless_mov() 290 next->FullInstruction.Src[0].Register.Negate == 0 && in i915_fpc_optimize_useless_mov_after_inst()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 62 d1->Register.Negate == d2->Register.Negate); in same_src_reg() 159 o->Negate = i->Negate; in copy_src_reg() 266 current.FullInstruction.Src[0].Register.Negate == 0 && in i915_fpc_useless_mov() 290 next->FullInstruction.Src[0].Register.Negate == 0 && in i915_fpc_optimize_useless_mov_after_inst()
|
/external/chromium_org/third_party/webrtc/base/ |
D | bind_unittest.cc | 30 int Negate(int a) { return -a; } in Negate() function 63 EXPECT_EQ(3, Bind(&Negate, -3)()); in TEST()
|
/external/stlport/src/ |
D | num_get_float.cpp | 649 unsigned Negate, decimal_point; in _Stl_string_to_double() local 658 Negate = 0; in _Stl_string_to_double() 662 Negate = 1; in _Stl_string_to_double() 736 if (Negate) { in _Stl_string_to_double() 764 bool Negate = false; in _Stl_string_to_doubleT() local 768 Negate = true; in _Stl_string_to_doubleT() 840 return Negate ? -x : x; in _Stl_string_to_doubleT()
|