/external/mesa3d/src/mesa/program/ |
D | programopt.c | 51 struct prog_instruction *newInst; in insert_mvp_dp4_code() local 73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in insert_mvp_dp4_code() 74 if (!newInst) { in insert_mvp_dp4_code() 87 _mesa_init_instructions(newInst, 4); in insert_mvp_dp4_code() 89 newInst[i].Opcode = OPCODE_DP4; in insert_mvp_dp4_code() 90 newInst[i].DstReg.File = PROGRAM_OUTPUT; in insert_mvp_dp4_code() 91 newInst[i].DstReg.Index = VARYING_SLOT_POS; in insert_mvp_dp4_code() 92 newInst[i].DstReg.WriteMask = (WRITEMASK_X << i); in insert_mvp_dp4_code() 93 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR; in insert_mvp_dp4_code() 94 newInst[i].SrcReg[0].Index = mvpRef[i]; in insert_mvp_dp4_code() [all …]
|
D | program.c | 352 struct prog_instruction *newInst; in _mesa_insert_instructions() local 366 newInst = rzalloc_array(prog, struct prog_instruction, newLen); in _mesa_insert_instructions() 367 if (!newInst) { in _mesa_insert_instructions() 372 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_insert_instructions() 375 _mesa_init_instructions(newInst + start, count); in _mesa_insert_instructions() 378 _mesa_copy_instructions(newInst + start + count, in _mesa_insert_instructions() 386 prog->arb.Instructions = newInst; in _mesa_insert_instructions() 402 struct prog_instruction *newInst; in _mesa_delete_instructions() local 416 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen); in _mesa_delete_instructions() 417 if (!newInst) { in _mesa_delete_instructions() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 173 struct tgsi_full_instruction newInst; in aa_transform_prolog() local 257 newInst = tgsi_default_full_instruction(); in aa_transform_prolog() 258 newInst.Instruction.Opcode = TGSI_OPCODE_RCP; in aa_transform_prolog() 259 newInst.Instruction.NumDstRegs = 1; in aa_transform_prolog() 260 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog() 261 newInst.Dst[0].Register.Index = tmp0; in aa_transform_prolog() 262 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_Z; in aa_transform_prolog() 263 newInst.Instruction.NumSrcRegs = 1; in aa_transform_prolog() 264 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog() 265 newInst.Src[0].Register.Index = tmp0; in aa_transform_prolog() [all …]
|
/external/llvm-project/mlir/include/mlir/Pass/ |
D | Pass.h | 175 auto newInst = clonePass(); in clone() local 176 newInst->copyOptionValuesFrom(this); in clone() 177 return newInst; in clone()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 39 std::unique_ptr<Instruction> newInst( in BuildAndAppendInst() local 41 get_def_use_mgr()->AnalyzeInstDefUse(&*newInst); in BuildAndAppendInst() 42 newInsts->emplace_back(std::move(newInst)); in BuildAndAppendInst()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 39 std::unique_ptr<Instruction> newInst( in BuildAndAppendInst() local 41 get_def_use_mgr()->AnalyzeInstDefUse(&*newInst); in BuildAndAppendInst() 42 newInsts->emplace_back(std::move(newInst)); in BuildAndAppendInst()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | def_use_test.cpp | 1412 Instruction newInst(context.get(), SpvOpConstantTrue, 1, 2, {}); in TEST() local 1413 manager.AnalyzeInstDefUse(&newInst); in TEST()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | def_use_test.cpp | 1412 Instruction newInst(context.get(), SpvOpConstantTrue, 1, 2, {}); in TEST() local 1413 manager.AnalyzeInstDefUse(&newInst); in TEST()
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 578 struct prog_instruction *newInst; in emit_op3fn() local 583 newInst = in emit_op3fn() 585 if (!newInst) { in emit_op3fn() 590 _mesa_copy_instructions(newInst, p->program->arb.Instructions, in emit_op3fn() 595 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);
|
/external/llvm-project/llvm/docs/ |
D | ProgrammersManual.rst | 2810 auto *newInst = new Instruction(...); 2812 pb->getInstList().insert(pi, newInst); // Inserts newInst before pi in pb 2822 auto *newInst = new Instruction(...); 2824 pb->getInstList().push_back(newInst); // Appends newInst to pb 2831 auto *newInst = new Instruction(..., pb); 2846 auto *newInst = new Instruction(...); 2848 pi->getParent()->getInstList().insert(pi, newInst); 2862 auto *newInst = new Instruction(..., pi);
|