Home
last modified time | relevance | path

Searched refs:Instructions (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.c41 c->Program.Instructions.Prev = &c->Program.Instructions; in rc_init()
42 c->Program.Instructions.Next = &c->Program.Instructions; in rc_init()
43 c->Program.Instructions.U.I.Opcode = RC_OPCODE_ILLEGAL_OPCODE; in rc_init()
119 for(inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) in rc_calculate_inputs_outputs()
146 for(inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) { in rc_move_input()
178 for(inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) { in rc_move_output()
201 for(inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) { in rc_copy_output()
212 inst = rc_insert_new_instruction(c, c->Program.Instructions.Prev); in rc_copy_output()
221 inst = rc_insert_new_instruction(c, c->Program.Instructions.Prev); in rc_copy_output()
250 inst_rcp = rc_insert_new_instruction(c, &c->Program.Instructions); in rc_transform_fragment_wpos()
[all …]
Dradeon_program.c57 struct rc_instruction * inst = c->Program.Instructions.Next; in rc_local_transform()
59 while(inst != &c->Program.Instructions) { in rc_local_transform()
114 for(inst = c->Program.Instructions.Next; in rc_get_used_temporaries()
115 inst != &c->Program.Instructions; inst = inst->Next) { in rc_get_used_temporaries()
216 for(inst = c->Program.Instructions.Next; in rc_recompute_ips()
217 inst != &c->Program.Instructions; in rc_recompute_ips()
222 c->Program.Instructions.IP = 0xcafedead; in rc_recompute_ips()
Dradeon_dataflow_deadcode.c61 struct instruction_state * Instructions; member
155 struct instruction_state * insts = &s->Instructions[inst->IP]; in update_instruction()
225 s.Instructions = memory_pool_malloc(&c->Pool, sizeof(struct instruction_state)*nr_instructions); in rc_dataflow_deadcode()
226 memset(s.Instructions, 0, sizeof(struct instruction_state)*nr_instructions); in rc_dataflow_deadcode()
230 for(struct rc_instruction * inst = c->Program.Instructions.Prev; in rc_dataflow_deadcode()
231 inst != &c->Program.Instructions; in rc_dataflow_deadcode()
313 for(struct rc_instruction * inst = c->Program.Instructions.Next; in rc_dataflow_deadcode()
314 inst != &c->Program.Instructions; in rc_dataflow_deadcode()
324 inst->U.I.DstReg.WriteMask = s.Instructions[ip].WriteMask; in rc_dataflow_deadcode()
325 if (s.Instructions[ip].WriteMask) in rc_dataflow_deadcode()
[all …]
Dradeon_remove_constants.c86 for (struct rc_instruction *inst = c->Program.Instructions.Next; in rc_remove_unused_constants()
87 inst != &c->Program.Instructions; inst = inst->Next) { in rc_remove_unused_constants()
128 for (struct rc_instruction *inst = c->Program.Instructions.Next; in rc_remove_unused_constants()
129 inst != &c->Program.Instructions; inst = inst->Next) { in rc_remove_unused_constants()
Dradeon_emulate_loops.c220 for(inst = c->Program.Instructions.Next; inst != loop->BeginLoop; in try_unroll_loop()
343 if (ptr == &c->Program.Instructions) { in build_loop_info()
354 for(ptr = ptr->Next; ptr != &c->Program.Instructions; in build_loop_info()
364 if (ptr == &c->Program.Instructions) { in build_loop_info()
492 for(ptr = s->C->Program.Instructions.Next; in rc_transform_loops()
493 ptr != &s->C->Program.Instructions; ptr = ptr->Next) { in rc_transform_loops()
507 for(inst = c->Program.Instructions.Next; in rc_unroll_loops()
508 inst != &c->Program.Instructions; inst = inst->Next) { in rc_unroll_loops()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMCFunction.cpp35 std::vector<MCDecodedInst> Instructions; in createFunctionFromMC() local
57 Instructions.push_back(MCDecodedInst(Index, Size, Inst)); in createFunctionFromMC()
92 std::sort(Instructions.begin(), Instructions.end()); in createFunctionFromMC()
95 unsigned ii = 0, ie = Instructions.size(); in createFunctionFromMC()
102 if (Instructions[ii].Address < *spi || in createFunctionFromMC()
103 Instructions[ii].Address >= BlockEnd) in createFunctionFromMC()
105 BB.addInst(Instructions[ii]); in createFunctionFromMC()
/external/llvm/lib/MC/
DMCStreamer.cpp79 (MAB ? MAB->generateCompactUnwindEncoding(FI.Instructions) : 0); in generateCompactUnwindEncodings()
307 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfa()
316 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaOffset()
324 CurFrame->Instructions.push_back(Instruction); in EmitCFIAdjustCfaOffset()
332 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaRegister()
341 CurFrame->Instructions.push_back(Instruction); in EmitCFIOffset()
349 CurFrame->Instructions.push_back(Instruction); in EmitCFIRelOffset()
371 CurFrame->Instructions.push_back(Instruction); in EmitCFIRememberState()
379 CurFrame->Instructions.push_back(Instruction); in EmitCFIRestoreState()
387 CurFrame->Instructions.push_back(Instruction); in EmitCFISameValue()
[all …]
DMCWin64EH.cpp179 uint8_t numCodes = CountOfUnwindCodes(info->Instructions); in EmitUnwindInfo()
184 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst]; in EmitUnwindInfo()
191 uint8_t numInst = info->Instructions.size(); in EmitUnwindInfo()
193 WinEH::Instruction inst = info->Instructions.back(); in EmitUnwindInfo()
194 info->Instructions.pop_back(); in EmitUnwindInfo()
/external/llvm/lib/Target/PowerPC/
Dp9-instrs.txt3 . Remaining Instructions (Total 56 Instructions, include 2 unknow instructions)
4 . Done (Total 155 Instructions: 101 VSX, 54 Altivec)
7 //. Remaining Instructions
15 // 6.17.2 Decimal Integer Format Conversion Instructions
35 // 6.17.3 Decimal Integer Sign Manipulation Instructions
52 // 6.17.5 Decimal Integer Truncate Instructions
60 // 3.3.10.1 Character-Type Compare Instructions
68 // 3.3.13 Fixed-Point Logical Instructions
73 // 3.3.13.1 64-bit Fixed-Point Logical Instructions
90 // 3.3.9 Fixed-Point Arithmetic Instructions
[all …]
/external/mesa3d/src/mesa/program/
Dprogramopt.c102 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen); in _mesa_insert_mvp_dp4_code()
105 ralloc_free(vprog->arb.Instructions); in _mesa_insert_mvp_dp4_code()
108 vprog->arb.Instructions = newInst; in _mesa_insert_mvp_dp4_code()
203 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen); in _mesa_insert_mvp_mad_code()
206 ralloc_free(vprog->arb.Instructions); in _mesa_insert_mvp_mad_code()
209 vprog->arb.Instructions = newInst; in _mesa_insert_mvp_mad_code()
281 _mesa_copy_instructions(newInst, fprog->arb.Instructions, origLen); in _mesa_append_fog_code()
406 ralloc_free(fprog->arb.Instructions); in _mesa_append_fog_code()
409 fprog->arb.Instructions = newInst; in _mesa_append_fog_code()
449 const struct prog_instruction *inst = prog->arb.Instructions + i; in _mesa_count_texture_indirections()
[all …]
Dprogram.c363 struct prog_instruction *inst = prog->arb.Instructions + i; in _mesa_insert_instructions()
378 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_insert_instructions()
385 prog->arb.Instructions + start, in _mesa_insert_instructions()
389 ralloc_free(prog->arb.Instructions); in _mesa_insert_instructions()
392 prog->arb.Instructions = newInst; in _mesa_insert_instructions()
413 struct prog_instruction *inst = prog->arb.Instructions + i; in _mesa_delete_instructions()
428 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_delete_instructions()
432 prog->arb.Instructions + start + count, in _mesa_delete_instructions()
436 ralloc_free(prog->arb.Instructions); in _mesa_delete_instructions()
439 prog->arb.Instructions = newInst; in _mesa_delete_instructions()
[all …]
Darbprogparse.c124 ralloc_free(program->arb.Instructions); in _mesa_parse_arb_fragment_program()
125 program->arb.Instructions = prog.arb.Instructions; in _mesa_parse_arb_fragment_program()
177 ralloc_free(prog.arb.Instructions); in _mesa_parse_arb_vertex_program()
208 ralloc_free(program->arb.Instructions); in _mesa_parse_arb_vertex_program()
209 program->arb.Instructions = prog.arb.Instructions; in _mesa_parse_arb_vertex_program()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCStreamer.cpp311 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfa()
322 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaOffset()
333 CurFrame->Instructions.push_back(Instruction); in EmitCFIAdjustCfaOffset()
344 CurFrame->Instructions.push_back(Instruction); in EmitCFIDefCfaRegister()
355 CurFrame->Instructions.push_back(Instruction); in EmitCFIOffset()
366 CurFrame->Instructions.push_back(Instruction); in EmitCFIRelOffset()
390 CurFrame->Instructions.push_back(Instruction); in EmitCFIRememberState()
400 CurFrame->Instructions.push_back(Instruction); in EmitCFIRestoreState()
409 CurFrame->Instructions.push_back(Instruction); in EmitCFISameValue()
492 CurFrame->Instructions.push_back(Inst); in EmitWin64EHPushReg()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenTarget.h67 mutable DenseMap<const Record*, CodeGenInstruction*> Instructions; variable
134 if (Instructions.empty()) ReadInstructions(); in getInstructions()
135 return Instructions; in getInstructions()
140 if (Instructions.empty()) ReadInstructions(); in getInstruction()
142 Instructions.find(InstRec); in getInstruction()
143 assert(I != Instructions.end() && "Not an instruction"); in getInstruction()
DAsmWriterEmitter.cpp258 std::vector<AsmWriterInst> Instructions; in EmitPrintInstruction() local
264 Instructions.push_back( in EmitPrintInstruction()
276 for (unsigned i = 0, e = Instructions.size(); i != e; ++i) in EmitPrintInstruction()
277 CGIAWIMap.insert(std::make_pair(Instructions[i].CGI, &Instructions[i])); in EmitPrintInstruction()
430 for (unsigned i = 0, e = Instructions.size(); i != e; ++i) { in EmitPrintInstruction()
432 AsmWriterInst &Inst = Instructions[i]; in EmitPrintInstruction()
434 Instructions.erase(Instructions.begin()+i); in EmitPrintInstruction()
442 std::reverse(Instructions.begin(), Instructions.end()); in EmitPrintInstruction()
449 if (!Instructions.empty()) { in EmitPrintInstruction()
452 while (!Instructions.empty()) in EmitPrintInstruction()
[all …]
/external/llvm/utils/TableGen/
DCodeGenTarget.h69 std::unique_ptr<CodeGenInstruction>> Instructions; variable
150 if (Instructions.empty()) ReadInstructions(); in getInstructions()
151 return Instructions; in getInstructions()
156 if (Instructions.empty()) ReadInstructions(); in getInstruction()
157 auto I = Instructions.find(InstRec); in getInstruction()
158 assert(I != Instructions.end() && "Not an instruction"); in getInstruction()
DAsmWriterEmitter.cpp41 std::vector<AsmWriterInst> Instructions; member in __anon0347a7d20111::AsmWriterEmitter
151 for (size_t i = 0, e = Instructions.size(); i != e; ++i) { in FindUniqueOperandCommands()
152 const AsmWriterInst &Inst = Instructions[i]; in FindUniqueOperandCommands()
188 const AsmWriterInst &FirstInst = Instructions[Idxs.front()]; in FindUniqueOperandCommands()
198 const AsmWriterInst &OtherInst = Instructions[Idx]; in FindUniqueOperandCommands()
278 for (AsmWriterInst &AWI : Instructions) { in EmitPrintInstruction()
291 for (AsmWriterInst &AWI : Instructions) { in EmitPrintInstruction()
345 OpcodeInfo[Instructions[Idx].CGIIndex] |= in EmitPrintInstruction()
348 AsmWriterInst &Inst = Instructions[Idx]; in EmitPrintInstruction()
454 auto I = std::remove_if(Instructions.begin(), Instructions.end(), in EmitPrintInstruction()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp103 typedef SmallVector<Instruction *, 16> Instructions; typedef in __anond0d9b0150111::AArch64AddressTypePromotion
104 typedef DenseMap<Value *, Instructions> ValueToInsts;
122 bool propagateSignExtension(Instructions &SExtInsts);
136 void analyzeSExtension(Instructions &SExtInsts);
251 AArch64AddressTypePromotion::propagateSignExtension(Instructions &SExtInsts) { in propagateSignExtension()
381 Instructions &Insts = Entry.second; in mergeSExts()
382 Instructions CurPts; in mergeSExts()
415 void AArch64AddressTypePromotion::analyzeSExtension(Instructions &SExtInsts) { in analyzeSExtension()
491 Instructions SExtInsts; in runOnFunction()
/external/llvm/test/MC/Disassembler/AArch64/
Dbasic-a64-undefined.txt6 # Instructions notionally in the add/sub (extended register) sheet, but with
15 # Instructions notionally in the add/sub (immediate) sheet, but with
26 # Instructions notionally in the load/store (unsigned immediate) sheet.
33 # Instructions notionally in the floating-point <-> fixed-point conversion
40 # Instructions notionally in the logical (shifted register) sheet, but with out
45 # Instructions notionally in the move wide (immediate) sheet, but with out
/external/llvm/docs/
DAMDGPUUsage.rst46 DS Instructions
50 FLAT Instructions
55 MUBUF Instructions
59 SMRD Instructions
63 SOP1 Instructions
67 SOP2 Instructions
71 SOPC Instructions
75 SOPP Instructions
101 VOP1, VOP2, VOP3, VOPC Instructions
/external/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp98 DenseMap<const MachineInstr *, InstrInfo> Instructions; member in __anon7e8ae13d0111::SIWholeQuadMode
195 Instructions[&MI].Needs = Flags; in scanInstructions()
214 InstrInfo II = Instructions[&MI]; // take a copy to prevent dangling references in propagateInstruction()
220 Instructions[&MI].Needs = StateWQM; in propagateInstruction()
235 InstrInfo &PrevII = Instructions[PrevMI]; in propagateInstruction()
264 InstrInfo &DefII = Instructions[&DefMI]; in propagateInstruction()
288 InstrInfo &LastII = Instructions[LastMI]; in propagateBlock()
407 auto InstrInfoIt = Instructions.find(&MI); in processBlock()
408 if (InstrInfoIt != Instructions.end()) { in processBlock()
461 Instructions.clear(); in runOnMachineFunction()
DVIInstructions.td17 // VOP1 Instructions
44 // VOP2 Instructions
79 // VOP3 Instructions
105 // SMEM Instructions
148 // DS_PERMUTE/DS_BPERMUTE Instructions.
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMips64InstrInfo.td37 // Instructions specific format
96 /// Arithmetic Instructions (ALU Immediate)
105 /// Arithmetic Instructions (3-Operand, R-Type)
115 /// Shift Instructions
126 // Rotate Instructions
134 /// Load and Store Instructions
157 /// Jump and Branch Instructions
165 /// Multiply and Divide Instructions.
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcInstrInfo.td204 // Instructions
296 // Section A.3 - Synthetic Instructions, p. 85
308 // Section B.1 - Load Integer Instructions, p. 90
350 // Section B.2 - Load Floating-point Instructions, p. 92
368 // Section B.4 - Store Integer Instructions, p. 95
394 // Section B.5 - Store Floating-point Instructions, p. 97
423 // Section B.11 - Logical Instructions, p. 106
453 // Section B.12 - Shift Instructions, p. 107
458 // Section B.13 - Add Instructions, p. 108
473 // Section B.15 - Subtract Instructions, p. 110
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp175 : Valid(false), Instructions(1, P) { in SimpleLoopReduction()
186 return Instructions.front(); in getPHI()
191 return Instructions.back(); in getReducedValue()
196 return Instructions[i+1]; in get()
204 return Instructions.size()-1; in size()
212 return std::next(Instructions.begin()); in begin()
217 return std::next(Instructions.begin()); in begin()
220 iterator end() { return Instructions.end(); } in end()
221 const_iterator end() const { return Instructions.end(); } in end()
225 SmallInstructionVector Instructions; member
[all …]

12345678910>>...20