Lines Matching defs:sources
53 const fs_reg *src, unsigned sources)
57 this->src = new fs_reg[MAX2(sources, 3)];
58 for (unsigned i = 0; i < sources; i++)
63 this->sources = sources;
130 const fs_reg src[], unsigned sources)
132 init(opcode, exec_width, dst, src, sources);
139 this->src = new fs_reg[MAX2(that.sources, 3)];
141 for (unsigned i = 0; i < that.sources; i++)
153 if (this->sources != num_sources) {
156 for (unsigned i = 0; i < MIN2(this->sources, num_sources); ++i)
161 this->sources = num_sources;
322 * Returns true if this instruction's sources and destinations cannot
327 * sources are dereferenced before writing of the destination starts
340 * GRF sources and the destination.
406 for (int i = 0; i < sources; i++) {
464 for (unsigned i = 0; i < sources; i++) {
957 unreachable("MRF registers are not allowed as sources");
1030 for (int i = 0; i < sources; i++) {
1259 * sources without negation.
1439 /* gl_SampleMaskIn[] comes from two sources: the input coverage mask,
1662 for (unsigned int i = 0; i < inst->sources; i++) {
1979 for (int i = 0; i < inst->sources; i++) {
2015 for (int i = 0; i < inst->sources; i++) {
2163 for (int i = 0; i < inst->sources; i++) {
2189 for (int i = 0; i < inst->sources; i++) {
2283 for (int i = 0; i < inst->sources; i++) {
2334 for (int i = 0; i < inst->sources; i++) {
2363 for (int i = 0; i < inst->sources; i++) {
2486 for (int i = 0; i < inst->sources; i++) {
2767 inst->sources = 1;
2783 inst->sources = 1;
2792 inst->sources = 1;
2798 inst->sources = 1;
2885 * We try and split a LOAD_PAYLOAD between sources which change registers.
2889 * sources will be different offsets of the same VGRF, then a later source
2927 * sources switch from one VGRF to a different one.
2931 for (i = 1; i < lp->sources; i++) {
2941 if (i != lp->sources) {
2944 ibld.LOAD_PAYLOAD(lp->dst, &lp->src[i], lp->sources - i, 0);
2986 /* Rewrite instruction sources. */
2987 for (int i = 0; i < inst->sources; i++) {
3192 for (int i = 0; i < scan_inst->sources; i++) {
3319 inst->sources = 1;
3461 /* Clear out any MRF move records whose sources got overwritten. */
3538 for (int i = 0; i < inst->sources; i++) {
3855 * non-header sources are unpacked as:
3869 assert(inst->header_size + 4 <= inst->sources);
3895 /* The COMPR4 code took care of the first 4 sources. We'll let
3896 * the regular path handle any remaining sources. Yes, we are
3903 for (uint8_t i = inst->header_size; i < inst->sources; i++) {
4309 * 3. For unsigned sources, it is sufficient to replace the
4315 * allowing UD sources.
4502 for (int i = 0; i < inst->sources; i++) {
4525 for (int i = 0; i < inst->sources; i++) {
4567 for (unsigned i = 0; i < inst->sources; i++)
4591 for (unsigned i = 0; i < inst->sources; i++) {
4625 for (unsigned i = 0; i < inst->sources; i++) {
5081 * "2.When the destination requires two registers and the sources are
5082 * indirect, the sources must use 1x1 regioning mode.
5105 for (unsigned i = 0; i < inst->sources; i++)
5198 for (unsigned i = 0; i < inst->sources; i++) {
5365 * transform the sources and destination and emit the lowered
5370 for (unsigned j = 0; j < inst->sources; j++)
5742 for (int i = 0; i < inst->sources; i++) {
5854 if (i < inst->sources - 1 && inst->src[i + 1].file != BAD_FILE)
6207 * having, for instance, both sources be the constant 0. This little pass