Searched refs:negate (Results 1 - 25 of 250) sorted by relevance

12345678910

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_fs_saturate_propagation.cpp87 if (inst->src[0].negate) {
89 scan_inst->src[0].negate = !scan_inst->src[0].negate;
90 inst->src[0].negate = false;
97 scan_inst->src[i].negate = !scan_inst->src[i].negate;
100 inst->src[0].negate = false;
108 scan_inst->src[1].negate = !scan_inst->src[1].negate;
110 scan_inst->src[0].negate
[all...]
H A Dbrw_fs_cse.cpp116 operands_match(const fs_inst *a, const fs_inst *b, bool *negate) argument
126 bool xs0_negate = xs[0].negate;
128 : xs[1].negate;
129 bool ys0_negate = ys[0].negate;
131 : ys[1].negate;
135 xs[0].negate = false;
136 xs[1].negate = false;
137 ys[0].negate = false;
138 ys[1].negate = false;
145 xs[0].negate
172 instructions_match(fs_inst * a,fs_inst * b,bool * negate) argument
203 create_copy_instr(const fs_builder & bld,fs_inst * inst,fs_reg src,bool negate) argument
260 bool negate = false; local in function:fs_visitor::opt_cse_local
326 bool negate; /* dummy */ local in function:fs_visitor::opt_cse_local
[all...]
H A Dbrw_nir_opt_peephole_ffma.c72 uint8_t swizzle[4], bool *negate, bool *abs)
75 assert(src->src.is_ssa && !src->abs && !src->negate);
97 swizzle, negate, abs);
102 swizzle, negate, abs);
103 *negate = !*negate;
108 swizzle, negate, abs);
109 *negate = false;
196 bool negate, abs; local in function:brw_nir_opt_peephole_ffma_block
201 negate
71 get_mul_for_src(nir_alu_src * src,unsigned num_components,uint8_t swizzle[4],bool * negate,bool * abs) argument
[all...]
H A Dbrw_fs_cmod_propagation.cpp61 bool negate; local in function:cmod_propagate_cmp_to_add
72 negate = false;
77 negate = true;
91 negate ? brw_swap_cmod(inst->conditional_mod)
204 !inst->src[0].negate))
297 !inst->src[0].negate &&
343 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod)
H A Dbrw_vec4_cmod_propagation.cpp77 !inst->src[0].negate))
91 bool negate; local in function:brw::opt_cmod_propagation_local
108 negate = false;
113 negate = true;
132 negate ? brw_swap_cmod(inst->conditional_mod)
280 !inst->src[0].negate &&
326 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod)
H A Dtest_fs_saturate_propagation.cpp216 dst0.negate = true;
251 dst0.negate = true;
275 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
276 EXPECT_TRUE(instruction(block0, 0)->src[1].negate);
289 dst0.negate = true;
313 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
327 dst0.negate = true;
351 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
354 EXPECT_FALSE(instruction(block0, 1)->src[0].negate);
366 dst0.negate
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_fs_saturate_propagation.cpp89 if (inst->src[0].negate) {
91 scan_inst->src[0].negate = !scan_inst->src[0].negate;
92 inst->src[0].negate = false;
99 scan_inst->src[i].negate = !scan_inst->src[i].negate;
102 inst->src[0].negate = false;
110 scan_inst->src[1].negate = !scan_inst->src[1].negate;
112 scan_inst->src[0].negate
[all...]
H A Dbrw_fs_cse.cpp117 operands_match(const fs_inst *a, const fs_inst *b, bool *negate) argument
127 bool xs0_negate = xs[0].negate;
129 : xs[1].negate;
130 bool ys0_negate = ys[0].negate;
132 : ys[1].negate;
136 xs[0].negate = false;
137 xs[1].negate = false;
138 ys[0].negate = false;
139 ys[1].negate = false;
146 xs[0].negate
173 instructions_match(fs_inst * a,fs_inst * b,bool * negate) argument
204 create_copy_instr(const fs_builder & bld,fs_inst * inst,fs_reg src,bool negate) argument
260 bool negate = false; local in function:fs_visitor::opt_cse_local
336 bool negate; /* dummy */ local in function:fs_visitor::opt_cse_local
[all...]
H A Dbrw_nir_opt_peephole_ffma.c71 uint8_t swizzle[4], bool *negate, bool *abs)
74 assert(src->src.is_ssa && !src->abs && !src->negate);
95 swizzle, negate, abs);
100 swizzle, negate, abs);
101 *negate = !*negate;
106 swizzle, negate, abs);
107 *negate = false;
193 bool negate, abs; local in function:brw_nir_opt_peephole_ffma_instr
198 negate
70 get_mul_for_src(nir_alu_src * src,unsigned num_components,uint8_t swizzle[4],bool * negate,bool * abs) argument
[all...]
H A Dbrw_vec4_cmod_propagation.cpp77 !inst->src[0].negate))
91 bool negate; local in function:brw::opt_cmod_propagation_local
108 negate = false;
113 negate = true;
132 negate ? brw_swap_cmod(inst->conditional_mod)
280 !inst->src[0].negate &&
326 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod)
H A Dtest_fs_saturate_propagation.cpp228 dst0.negate = true;
263 dst0.negate = true;
287 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
288 EXPECT_TRUE(instruction(block0, 0)->src[1].negate);
301 dst0.negate = true;
325 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
339 dst0.negate = true;
363 EXPECT_TRUE(instruction(block0, 0)->src[0].negate);
366 EXPECT_FALSE(instruction(block0, 1)->src[0].negate);
378 dst0.negate
[all...]
H A Dbrw_fs_cmod_propagation.cpp64 bool negate; local in function:cmod_propagate_cmp_to_add
75 negate = false;
80 negate = true;
123 negate ? brw_swap_cmod(inst->conditional_mod)
260 !inst->src[0].negate))
437 if (!inst->src[0].negate &&
502 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_to_source_mods.c94 alu->src[i].negate = (alu->src[i].negate != parent->src[0].negate);
119 alu->src[0].negate = !alu->src[0].negate;
124 alu->src[0].negate = false;
135 alu->src[0].negate = !alu->src[0].negate;
140 alu->src[0].negate = false;
174 if (child_alu->src[0].negate || child_al
[all...]
H A Dnir_lower_vec_to_movs.c66 mov->src[0].negate = vec->src[start_idx].negate;
74 vec->src[i].negate == vec->src[start_idx].negate &&
88 !mov->src[0].abs && !mov->src[0].negate) {
139 if (alu_src->abs || alu_src->negate)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_emitaluinstruction.cpp348 if (instr.src[0].negate || instr.src[0].abs) {
377 if (instr.src[0].negate ^ flags.test(alu_src0_neg))
396 !instr.src[0].abs && !instr.src[0].negate && !instr.dest.saturate) {
423 if (instr.src[0].negate) ir->set_flag(alu_src0_neg);
436 if (instr.src[0].negate) ir->set_flag(alu_src0_neg);
458 if (instr.src[0].negate) ir->set_flag(alu_src0_neg);
483 if (instr.src[0].negate) ir->set_flag(alu_src0_neg);
503 if (instr.src[0].negate) ir->set_flag(alu_src0_neg);
603 if (src0.negate) ir->set_flag(alu_src0_neg);
605 if (src1.negate) i
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_to_source_mods.c45 /* If abs is set on the source, the negate goes away */
47 src->negate = !src->negate;
119 if (parent->src[0].negate)
169 if (child_alu->src[0].negate || child_alu->src[0].abs) {
H A Dnir_lower_vec_to_movs.c76 mov->src[0].negate = vec->src[start_idx].negate;
84 vec->src[i].negate == vec->src[start_idx].negate &&
98 !mov->src[0].abs && !mov->src[0].negate) {
151 if (alu_src->abs || alu_src->negate)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_vertprog.h126 #define MAKE_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \
132 | ((negate)<<25) | ((class)))
134 #define EASY_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \
140 VSF_IN_CLASS_##class, VSF_FLAG_##negate)
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_vertprog.h126 #define MAKE_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \
132 | ((negate)<<25) | ((class)))
134 #define EASY_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \
140 VSF_IN_CLASS_##class, VSF_FLAG_##negate)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_private.cpp71 this->negate = 0;
91 this->negate = 0;
109 this->negate = 0;
126 this->negate = 0;
153 this->negate = reg.negate;
169 this->negate = 0;
183 reg.negate = 0;
199 lhs.negate != rhs.negate ||
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_private.cpp71 this->negate = 0;
91 this->negate = 0;
109 this->negate = 0;
126 this->negate = 0;
153 this->negate = reg.negate;
169 this->negate = 0;
183 reg.negate = 0;
199 lhs.negate != rhs.negate ||
[all...]
/xsrc/external/mit/fontconfig/dist/test/
H A Dtest-family-matching.c132 TestShouldMatchPattern(const char* test, FcPattern *pat, int negate) argument
136 if (!negate) {
148 if (!negate) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_cp.c40 if (!src->abs) /* if we have abs we don't care about previous negate */
41 src->negate ^= b.negate;
110 if (src->negate || src->abs) /* TODO handle these cases */
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_cp.c42 if (!src->abs) /* if we have abs we don't care about previous negate */
43 src->negate ^= b.negate;
117 if (src->negate || src->abs) /* TODO handle these cases */
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dalgebra.hpp131 adaptor_range<negate, U>
133 return map(negate(), std::forward<U>(u));

Completed in 22 milliseconds

12345678910