Home
last modified time | relevance | path

Searched refs:DstReg (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_tex.c68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in scale_texcoords()
69 inst_mov->U.I.DstReg.Index = temp; in scale_texcoords()
90 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in projective_divide()
91 inst_rcp->U.I.DstReg.Index = temp; in projective_divide()
92 inst_rcp->U.I.DstReg.WriteMask = RC_MASK_W; in projective_divide()
101 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; in projective_divide()
102 inst_mul->U.I.DstReg.Index = temp; in projective_divide()
164 struct rc_dst_register output_reg = inst->U.I.DstReg; in radeonTransformTEX()
170 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX()
171 inst->U.I.DstReg.Index = tmp_texsample; in radeonTransformTEX()
[all …]
Dr3xx_vertprog.c196 t_dst_index(vp, &vpi->DstReg), in ei_vector1()
197 t_dst_mask(vpi->DstReg.WriteMask), in ei_vector1()
198 t_dst_class(vpi->DstReg.File), in ei_vector1()
213 t_dst_index(vp, &vpi->DstReg), in ei_vector2()
214 t_dst_mask(vpi->DstReg.WriteMask), in ei_vector2()
215 t_dst_class(vpi->DstReg.File), in ei_vector2()
230 t_dst_index(vp, &vpi->DstReg), in ei_math1()
231 t_dst_mask(vpi->DstReg.WriteMask), in ei_math1()
232 t_dst_class(vpi->DstReg.File), in ei_math1()
248 t_dst_index(vp, &vpi->DstReg), in ei_lit()
[all …]
Dradeon_program_alu.c46 struct rc_dst_register DstReg, struct rc_src_register SrcReg) in emit1() argument
55 fpi->U.I.DstReg = DstReg; in emit1()
63 struct rc_dst_register DstReg, in emit2() argument
73 fpi->U.I.DstReg = DstReg; in emit2()
82 struct rc_dst_register DstReg, in emit3() argument
93 fpi->U.I.DstReg = DstReg; in emit3()
205 if (inst->U.I.DstReg.File != RC_FILE_TEMPORARY) in is_dst_safe_to_reuse()
210 inst->U.I.SrcReg[i].Index == inst->U.I.DstReg.Index) in is_dst_safe_to_reuse()
223 tmp = inst->U.I.DstReg.Index; in try_to_reuse_dst()
227 return dstregtmpmask(tmp, inst->U.I.DstReg.WriteMask); in try_to_reuse_dst()
[all …]
Dradeon_compiler.c133 if (inst->U.I.DstReg.File == RC_FILE_OUTPUT) in rc_calculate_inputs_outputs()
134 c->Program.OutputsWritten |= 1U << inst->U.I.DstReg.Index; in rc_calculate_inputs_outputs()
168 if (inst->U.I.DstReg.File == RC_FILE_OUTPUT && inst->U.I.DstReg.Index == output) { in rc_copy_output()
170 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_copy_output()
171 inst->U.I.DstReg.Index = tempreg; in rc_copy_output()
184 last_write_inst->U.I.DstReg.File = RC_FILE_OUTPUT; in rc_copy_output()
185 last_write_inst->U.I.DstReg.Index = output; in rc_copy_output()
193 inst->U.I.DstReg.Index = dup_output; in rc_copy_output()
197 inst->U.I.DstReg.File = RC_FILE_OUTPUT; in rc_copy_output()
198 inst->U.I.DstReg.Index = output; in rc_copy_output()
[all …]
Dradeon_emulate_branches.c76 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in handle_if()
77 inst_mov->U.I.DstReg.Index = rc_find_free_temporary(s->C); in handle_if()
78 inst_mov->U.I.DstReg.WriteMask = RC_MASK_X; in handle_if()
82 inst->U.I.SrcReg[0].Index = inst_mov->U.I.DstReg.Index; in handle_if()
166 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in allocate_and_insert_proxies()
167 inst_mov->U.I.DstReg.Index = proxies->Temporary[index].Index; in allocate_and_insert_proxies()
168 inst_mov->U.I.DstReg.WriteMask = RC_MASK_XYZW; in allocate_and_insert_proxies()
185 inst_cmp->U.I.DstReg.File = file; in inject_cmp()
186 inst_cmp->U.I.DstReg.Index = index; in inject_cmp()
187 inst_cmp->U.I.DstReg.WriteMask = RC_MASK_XYZW; in inject_cmp()
[all …]
Dradeon_pair_translate.c92 *needrgb = (inst->DstReg.WriteMask & RC_MASK_XYZ) ? 1 : 0; in classify_instruction()
93 *needalpha = (inst->DstReg.WriteMask & RC_MASK_W) ? 1 : 0; in classify_instruction()
277 inst->DstReg.WriteMask); in set_pair_instruction()
286 if (inst->DstReg.File == RC_FILE_OUTPUT) { in set_pair_instruction()
287 if (inst->DstReg.Index == c->OutputDepth) { in set_pair_instruction()
288 pair->Alpha.DepthWriteMask |= GET_BIT(inst->DstReg.WriteMask, 3); in set_pair_instruction()
291 if (inst->DstReg.Index == c->OutputColor[i]) { in set_pair_instruction()
295 inst->DstReg.WriteMask & RC_MASK_XYZ; in set_pair_instruction()
297 GET_BIT(inst->DstReg.WriteMask, 3); in set_pair_instruction()
304 pair->RGB.DestIndex = inst->DstReg.Index; in set_pair_instruction()
[all …]
Dradeon_vert_fc.c129 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
149 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
163 inst->U.I.DstReg.Pred = RC_PRED_SET; in lower_brk()
169 inst->U.I.DstReg.Pred = RC_PRED_SET; in lower_brk()
172 build_pred_dst(&inst->U.I.DstReg, fc_state); in lower_brk()
183 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_endloop()
219 build_pred_dst(&inst->U.I.DstReg, fc_state); in lower_if()
262 build_pred_dst(&inst->U.I.DstReg, &fc_state); in rc_vert_fc()
272 build_pred_dst(&inst->U.I.DstReg, &fc_state); in rc_vert_fc()
279 inst->U.I.DstReg.Pred = RC_PRED_SET; in rc_vert_fc()
Dradeon_optimize.c147 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY || in copy_propagate()
459 reader_data->Writer->U.I.DstReg.WriteMask, in presub_scan_read()
574 if (src_reads_dst_mask(src, inst->U.I.DstReg)) in is_presub_candidate()
588 unsigned dstmask = inst_add->U.I.DstReg.WriteMask; in peephole_add_presub_add()
661 if (!(inst_add->U.I.DstReg.WriteMask & (1 << i))) in peephole_add_presub_inv()
670 if ((inst_add->U.I.SrcReg[1].Negate & inst_add->U.I.DstReg.WriteMask) != in peephole_add_presub_inv()
671 inst_add->U.I.DstReg.WriteMask in peephole_add_presub_inv()
814 cb_data.Writer = &inst_mul->U.I.DstReg; in peephole_mul_omod()
846 if (util_bitcount(writemask_sum) < util_bitcount(inst_mul->U.I.DstReg.WriteMask)) in peephole_mul_omod()
854 inst_mul->U.I.DstReg.WriteMask); in peephole_mul_omod()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprogramopt.c90 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()
161 newInst[0].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code()
162 newInst[0].DstReg.Index = hposTemp; in insert_mvp_mad_code()
163 newInst[0].DstReg.WriteMask = WRITEMASK_XYZW; in insert_mvp_mad_code()
173 newInst[i].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code()
174 newInst[i].DstReg.Index = hposTemp; in insert_mvp_mad_code()
175 newInst[i].DstReg.WriteMask = WRITEMASK_XYZW; in insert_mvp_mad_code()
188 newInst[3].DstReg.File = PROGRAM_OUTPUT; in insert_mvp_mad_code()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRExpandPseudoInsts.cpp69 unsigned DstReg) { in buildMI() argument
70 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode), DstReg); in buildMI()
145 Register DstReg = MI.getOperand(0).getReg(); in expandArith() local
152 TRI->splitReg(DstReg, DstLoReg, DstHiReg); in expandArith()
178 Register DstReg = MI.getOperand(0).getReg(); in expandLogic() local
185 TRI->splitReg(DstReg, DstLoReg, DstHiReg); in expandLogic()
225 Register DstReg = MI.getOperand(0).getReg(); in expandLogicImm() local
232 TRI->splitReg(DstReg, DstLoReg, DstHiReg); in expandLogicImm()
277 unsigned DstReg = MI.getOperand(0).getReg(); in expand() local
281 TRI->splitReg(DstReg, DstLoReg, DstHiReg); in expand()
[all …]
DAVRRegisterInfo.cpp98 static void foldFrameOffset(MachineBasicBlock::iterator &II, int &Offset, unsigned DstReg) { in foldFrameOffset() argument
109 if (DstReg != MI.getOperand(0).getReg()) { in foldFrameOffset()
161 Register DstReg = MI.getOperand(0).getReg(); in eliminateFrameIndex() local
162 assert(DstReg != AVR::R29R28 && "Dest reg cannot be the frame pointer"); in eliminateFrameIndex()
175 foldFrameOffset(II, Offset, DstReg); in eliminateFrameIndex()
178 switch (DstReg) { in eliminateFrameIndex()
196 MachineInstr *New = BuildMI(MBB, II, dl, TII.get(Opcode), DstReg) in eliminateFrameIndex()
197 .addReg(DstReg, RegState::Kill) in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h54 Register DstReg = MI.getOperand(0).getReg(); in tryCombineAnyExt() local
61 Builder.buildAnyExtOrTrunc(DstReg, TruncSrc); in tryCombineAnyExt()
62 UpdatedDefs.push_back(DstReg); in tryCombineAnyExt()
74 Builder.buildInstr(ExtMI->getOpcode(), {DstReg}, {ExtSrc}); in tryCombineAnyExt()
75 UpdatedDefs.push_back(DstReg); in tryCombineAnyExt()
84 const LLT &DstTy = MRI.getType(DstReg); in tryCombineAnyExt()
88 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineAnyExt()
89 UpdatedDefs.push_back(DstReg); in tryCombineAnyExt()
103 Register DstReg = MI.getOperand(0).getReg(); in tryCombineZExt() local
109 LLT DstTy = MRI.getType(DstReg); in tryCombineZExt()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp191 unsigned DstReg, PredReg, SrcReg, Src1Reg, Src2Reg; in getDuplexCandidateGroup() local
202 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
206 if (HexagonMCInstrInfo::isIntRegForSubInst(DstReg)) { in getDuplexCandidateGroup()
220 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
222 if (HexagonMCInstrInfo::isIntRegForSubInst(DstReg) && in getDuplexCandidateGroup()
241 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
243 if (HexagonMCInstrInfo::isIntRegForSubInst(DstReg) && in getDuplexCandidateGroup()
251 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
253 if (HexagonMCInstrInfo::isIntRegForSubInst(DstReg) && in getDuplexCandidateGroup()
261 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
[all …]
DHexagonMCCompound.cpp80 unsigned DstReg, SrcReg, Src1Reg, Src2Reg; in getCompoundCandidateGroup() local
96 DstReg = MI.getOperand(0).getReg(); in getCompoundCandidateGroup()
99 if ((Hexagon::P0 == DstReg || Hexagon::P1 == DstReg) && in getCompoundCandidateGroup()
110 DstReg = MI.getOperand(0).getReg(); in getCompoundCandidateGroup()
112 if ((Hexagon::P0 == DstReg || Hexagon::P1 == DstReg) && in getCompoundCandidateGroup()
122 DstReg = MI.getOperand(0).getReg(); in getCompoundCandidateGroup()
124 if (HexagonMCInstrInfo::isIntRegForSubInst(DstReg) && in getCompoundCandidateGroup()
132 DstReg = MI.getOperand(0).getReg(); in getCompoundCandidateGroup()
135 HexagonMCInstrInfo::isIntRegForSubInst(DstReg)) in getCompoundCandidateGroup()
141 DstReg = MI.getOperand(0).getReg(); in getCompoundCandidateGroup()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp108 const unsigned DstReg,
121 bool emitInsertSubreg(unsigned DstReg, unsigned SrcReg, MachineInstr &I,
124 bool emitExtractSubreg(unsigned DstReg, unsigned SrcReg, MachineInstr &I,
233 Register DstReg = I.getOperand(0).getReg(); in selectCopy() local
234 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectCopy()
235 const RegisterBank &DstRegBank = *RBI.getRegBank(DstReg, MRI, TRI); in selectCopy()
241 if (Register::isPhysicalRegister(DstReg)) { in selectCopy()
249 const TargetRegisterClass *DstRC = getRegClassFromGRPhysReg(DstReg); in selectCopy()
278 getRegClass(MRI.getType(DstReg), DstRegBank); in selectCopy()
296 const TargetRegisterClass *OldRC = MRI.getRegClassOrNull(DstReg); in selectCopy()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILowerI1Copies.cpp95 unsigned DstReg, unsigned PrevReg, unsigned CurReg);
510 Register DstReg = MI.getOperand(0).getReg(); in lowerCopiesFromI1() local
515 if (isLaneMaskReg(DstReg) || isVreg1(DstReg)) in lowerCopiesFromI1()
522 assert(isVRegCompatibleReg(TII->getRegisterInfo(), *MRI, DstReg)); in lowerCopiesFromI1()
526 BuildMI(MBB, MI, DL, TII->get(AMDGPU::V_CNDMASK_B32_e64), DstReg) in lowerCopiesFromI1()
570 Register DstReg = MI->getOperand(0).getReg(); in lowerPhis() local
571 MRI->setRegClass(DstReg, IsWave32 ? &AMDGPU::SReg_32RegClass in lowerPhis()
596 PhiRegisters.insert(DstReg); in lowerPhis()
602 for (MachineInstr &Use : MRI->use_instructions(DstReg)) in lowerPhis()
609 SSAUpdater.Initialize(DstReg); in lowerPhis()
[all …]
DAMDGPUInstructionSelector.cpp98 Register DstReg = Dst.getReg(); in selectCOPY() local
101 if (isVCC(DstReg, *MRI)) { in selectCOPY()
107 return RBI.constrainGenericRegister(DstReg, *RC, *MRI); in selectCOPY()
112 if (!RBI.constrainGenericRegister(DstReg, *TRI.getBoolRC(), *MRI)) in selectCOPY()
129 BuildMI(*BB, &I, DL, TII.get(AMDGPU::V_CMP_NE_U32_e64), DstReg) in selectCOPY()
141 if (RC && !RBI.constrainGenericRegister(DstReg, *RC, *MRI)) in selectCOPY()
210 Register DstReg = MRI->createVirtualRegister(&SubRC); in getSubOperand64() local
215 BuildMI(*BB, MI, MI->getDebugLoc(), TII.get(AMDGPU::COPY), DstReg) in getSubOperand64()
218 return MachineOperand::CreateReg(DstReg, MO.isDef(), MO.isImplicit(), in getSubOperand64()
255 Register DstReg = Dst.getReg(); in selectG_AND_OR_XOR() local
[all …]
DR600ExpandSpecialInstrs.cpp138 Register DstReg = MI.getOperand(0).getReg(); in runOnMachineFunction() local
139 unsigned DstBase = TRI.getEncodingValue(DstReg) & HW_REG_MASK; in runOnMachineFunction()
142 bool Mask = (Chan != TRI.getHWRegChan(DstReg)); in runOnMachineFunction()
208 Register DstReg = in runOnMachineFunction() local
238 DstReg = TRI.getSubReg(DstReg, SubRegIndex); in runOnMachineFunction()
242 Mask = (Chan != TRI.getHWRegChan(DstReg)); in runOnMachineFunction()
243 unsigned DstBase = TRI.getEncodingValue(DstReg) & HW_REG_MASK; in runOnMachineFunction()
244 DstReg = R600::R600_TReg32RegClass.getRegister((DstBase * 4) + Chan); in runOnMachineFunction()
264 TII->buildDefaultInstruction(MBB, I, Opcode, DstReg, Src0, Src1); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp139 Register DstReg = Dst.getReg(); in runOnMachineFunction() local
142 if (Register::isVirtualRegister(DstReg) && in runOnMachineFunction()
147 PeepholeMap[DstReg] = SrcReg; in runOnMachineFunction()
160 Register DstReg = Dst.getReg(); in runOnMachineFunction() local
162 PeepholeMap[DstReg] = SrcReg; in runOnMachineFunction()
177 Register DstReg = Dst.getReg(); in runOnMachineFunction() local
179 PeepholeDoubleRegsMap[DstReg] = in runOnMachineFunction()
188 Register DstReg = Dst.getReg(); in runOnMachineFunction() local
191 if (Register::isVirtualRegister(DstReg) && in runOnMachineFunction()
196 PeepholeMap[DstReg] = SrcReg; in runOnMachineFunction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMISimplifyPatchable.cpp57 MachineInstr &MI, Register &SrcReg, Register &DstReg,
59 void processDstReg(MachineRegisterInfo *MRI, Register &DstReg,
147 Register &DstReg, const GlobalValue *GVal) { in processCandidate() argument
148 if (MRI->getRegClass(DstReg) == &BPF::GPR32RegClass) { in processCandidate()
155 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processCandidate()
165 processDstReg(MRI, TmpReg, DstReg, GVal, false); in processCandidate()
169 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::COPY), DstReg) in processCandidate()
175 processDstReg(MRI, DstReg, SrcReg, GVal, true); in processCandidate()
179 Register &DstReg, Register &SrcReg, const GlobalValue *GVal, in processDstReg() argument
181 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processDstReg()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp195 void LegalizerHelper::insertParts(Register DstReg, in insertParts() argument
204 MIRBuilder.buildMerge(DstReg, PartRegs); in insertParts()
209 MIRBuilder.buildConcatVectors(DstReg, PartRegs); in insertParts()
211 MIRBuilder.buildBuildVector(DstReg, PartRegs); in insertParts()
232 DstReg : MRI.createGenericVirtualRegister(ResultTy); in insertParts()
620 Register DstReg = MI.getOperand(0).getReg(); in narrowScalar() local
621 if(MRI.getType(DstReg).isVector()) in narrowScalar()
622 MIRBuilder.buildBuildVector(DstReg, DstRegs); in narrowScalar()
624 MIRBuilder.buildMerge(DstReg, DstRegs); in narrowScalar()
733 Register DstReg = MRI.createGenericVirtualRegister(NarrowTy); in narrowScalar() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp164 void scanUses(unsigned DstReg);
408 unsigned &SrcReg, unsigned &DstReg, in isCopyToReg() argument
411 DstReg = 0; in isCopyToReg()
413 DstReg = MI.getOperand(0).getReg(); in isCopyToReg()
416 DstReg = MI.getOperand(0).getReg(); in isCopyToReg()
422 IsDstPhys = Register::isPhysicalRegister(DstReg); in isCopyToReg()
491 unsigned SrcReg, DstReg; in isKilled() local
494 if (!isCopyToReg(*DefMI, TII, SrcReg, DstReg, IsSrcPhys, IsDstPhys)) in isKilled()
502 static bool isTwoAddrUse(MachineInstr &MI, unsigned Reg, unsigned &DstReg) { in isTwoAddrUse() argument
509 DstReg = MI.getOperand(ti).getReg(); in isTwoAddrUse()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp186 MCPhysReg DstReg = PredI.getOperand(0).getReg(); in knownRegValInBlock() local
195 SrcReg != DstReg) { in knownRegValInBlock()
209 if (DstReg == AArch64::WZR || DstReg == AArch64::XZR) in knownRegValInBlock()
214 if (!DomBBClobberedRegs.available(DstReg)) in knownRegValInBlock()
218 KnownRegs.push_back(RegImm(DstReg, 0)); in knownRegValInBlock()
252 MCPhysReg DstReg = PredI.getOperand(0).getReg(); in knownRegValInBlock() local
253 if (DstReg == AArch64::WZR || DstReg == AArch64::XZR) in knownRegValInBlock()
258 if (!DomBBClobberedRegs.available(DstReg)) in knownRegValInBlock()
263 KnownRegs.push_back(RegImm(DstReg, 0)); in knownRegValInBlock()
DAArch64ExpandPseudoInsts.cpp112 Register DstReg = MI.getOperand(0).getReg(); in expandMOVImm() local
117 if (DstReg == AArch64::XZR || DstReg == AArch64::WZR) { in expandMOVImm()
148 .addReg(DstReg, RegState::Define | in expandMOVImm()
156 Register DstReg = MI.getOperand(0).getReg(); in expandMOVImm() local
159 .addReg(DstReg, in expandMOVImm()
163 .addReg(DstReg) in expandMOVImm()
482 Register DstReg = MI.getOperand(0).getReg(); in expandMI() local
489 TII->get(AArch64::LDRXl), DstReg); in expandMI()
505 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::ADRP), DstReg); in expandMI()
510 unsigned Reg32 = TRI->getSubReg(DstReg, AArch64::sub_32); in expandMI()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c290 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in init_rc_normal_dst()
292 inst->U.I.DstReg.File = RC_FILE_OUTPUT; in init_rc_normal_dst()
294 inst->U.I.DstReg.File = RC_FILE_NONE; in init_rc_normal_dst()
303 inst->U.I.DstReg.Index = strtol(tokens.Index.String, NULL, 10); in init_rc_normal_dst()
312 inst->U.I.DstReg.WriteMask = RC_MASK_XYZW; in init_rc_normal_dst()
314 inst->U.I.DstReg.WriteMask = 0; in init_rc_normal_dst()
323 inst->U.I.DstReg.WriteMask |= RC_MASK_X; in init_rc_normal_dst()
326 inst->U.I.DstReg.WriteMask |= RC_MASK_Y; in init_rc_normal_dst()
329 inst->U.I.DstReg.WriteMask |= RC_MASK_Z; in init_rc_normal_dst()
332 inst->U.I.DstReg.WriteMask |= RC_MASK_W; in init_rc_normal_dst()
[all …]

123456