Searched refs:newInst (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/program/ |
D | programopt.c | 51 struct prog_instruction *newInst; in _mesa_insert_mvp_dp4_code() local 73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in _mesa_insert_mvp_dp4_code() 74 if (!newInst) { in _mesa_insert_mvp_dp4_code() 87 _mesa_init_instructions(newInst, 4); in _mesa_insert_mvp_dp4_code() 89 newInst[i].Opcode = OPCODE_DP4; in _mesa_insert_mvp_dp4_code() 90 newInst[i].DstReg.File = PROGRAM_OUTPUT; in _mesa_insert_mvp_dp4_code() 91 newInst[i].DstReg.Index = VARYING_SLOT_POS; in _mesa_insert_mvp_dp4_code() 92 newInst[i].DstReg.WriteMask = (WRITEMASK_X << i); in _mesa_insert_mvp_dp4_code() 93 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR; in _mesa_insert_mvp_dp4_code() 94 newInst[i].SrcReg[0].Index = mvpRef[i]; in _mesa_insert_mvp_dp4_code() [all …]
|
D | program.c | 358 struct prog_instruction *newInst; in _mesa_insert_instructions() local 372 newInst = rzalloc_array(prog, struct prog_instruction, newLen); in _mesa_insert_instructions() 373 if (!newInst) { in _mesa_insert_instructions() 378 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_insert_instructions() 381 _mesa_init_instructions(newInst + start, count); in _mesa_insert_instructions() 384 _mesa_copy_instructions(newInst + start + count, in _mesa_insert_instructions() 392 prog->arb.Instructions = newInst; in _mesa_insert_instructions() 408 struct prog_instruction *newInst; in _mesa_delete_instructions() local 422 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen); in _mesa_delete_instructions() 423 if (!newInst) { in _mesa_delete_instructions() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 171 struct tgsi_full_instruction newInst; in aa_transform_prolog() local 255 newInst = tgsi_default_full_instruction(); in aa_transform_prolog() 256 newInst.Instruction.Opcode = TGSI_OPCODE_RCP; in aa_transform_prolog() 257 newInst.Instruction.NumDstRegs = 1; in aa_transform_prolog() 258 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog() 259 newInst.Dst[0].Register.Index = tmp0; in aa_transform_prolog() 260 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_Z; in aa_transform_prolog() 261 newInst.Instruction.NumSrcRegs = 1; in aa_transform_prolog() 262 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog() 263 newInst.Src[0].Register.Index = tmp0; in aa_transform_prolog() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 584 struct prog_instruction *newInst; in emit_op3fn() local 589 newInst = in emit_op3fn() 591 if (!newInst) { in emit_op3fn() 596 _mesa_copy_instructions(newInst, p->program->arb.Instructions, in emit_op3fn() 601 p->program->arb.Instructions = newInst; in emit_op3fn()
|
/external/llvm/docs/ |
D | ProgrammersManual.rst | 2135 Instruction *newInst = new Instruction(...); 2137 pb->getInstList().insert(pi, newInst); // Inserts newInst before pi in pb 2147 Instruction *newInst = new Instruction(...); 2149 pb->getInstList().push_back(newInst); // Appends newInst to pb 2156 Instruction *newInst = new Instruction(..., pb); 2171 Instruction *newInst = new Instruction(...); 2173 pi->getParent()->getInstList().insert(pi, newInst); 2187 Instruction* newInst = new Instruction(..., pi);
|