Home
last modified time | relevance | path

Searched refs:CopyReg (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStrongPHIElimination.cpp683 unsigned CopyReg = 0; in InsertCopiesForPHI() local
687 CopyReg in InsertCopiesForPHI()
691 if (!CopyReg) { in InsertCopiesForPHI()
693 CopyReg = MRI->createVirtualRegister(RC); in InsertCopiesForPHI()
702 CopyReg).addReg(SrcReg, 0, SrcSubReg); in InsertCopiesForPHI()
708 LI->addLiveRangeToEndOfBlock(CopyReg, CopyInstr); in InsertCopiesForPHI()
711 addReg(CopyReg); in InsertCopiesForPHI()
713 unionRegs(PHIColor, CopyReg); in InsertCopiesForPHI()
714 assert(getRegColor(CopyReg) != CopyReg); in InsertCopiesForPHI()
716 PHIColor = CopyReg; in InsertCopiesForPHI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSILowerControlFlow.cpp193 unsigned CopyReg = SimpleIf ? SaveExecReg in emitIf() local
196 BuildMI(MBB, I, DL, TII->get(AMDGPU::COPY), CopyReg) in emitIf()
204 .addReg(CopyReg) in emitIf()
214 .addReg(CopyReg); in emitIf()
255 LIS->createAndComputeVirtRegInterval(CopyReg); in emitIf()
271 unsigned CopyReg = MRI->createVirtualRegister(&AMDGPU::SReg_64RegClass); in emitElse() local
273 BuildMI(MBB, Start, DL, TII->get(AMDGPU::COPY), CopyReg) in emitElse()
282 .addReg(CopyReg); in emitElse()
324 LIS->createAndComputeVirtRegInterval(CopyReg); in emitElse()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp820 const unsigned *CopyReg = in spillCalleeSavedRegisters() local
828 while (HiRegToSave != AllHighRegsEnd && CopyReg != AllCopyRegsEnd) { in spillCalleeSavedRegisters()
836 .addReg(*CopyReg, RegState::Define) in spillCalleeSavedRegisters()
841 RegsToPush.push_back(*CopyReg); in spillCalleeSavedRegisters()
843 CopyReg = findNextOrderedReg(++CopyReg, CopyRegs, AllCopyRegsEnd); in spillCalleeSavedRegisters()
928 auto CopyReg = in restoreCalleeSavedRegisters() local
935 while (HiRegToRestore != AllHighRegsEnd && CopyReg != AllCopyRegsEnd) { in restoreCalleeSavedRegisters()
937 PopMIB.addReg(*CopyReg, RegState::Define); in restoreCalleeSavedRegisters()
942 .addReg(*CopyReg, RegState::Kill) in restoreCalleeSavedRegisters()
945 CopyReg = findNextOrderedReg(++CopyReg, CopyRegs, AllCopyRegsEnd); in restoreCalleeSavedRegisters()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FastISel.cpp1300 unsigned CopyReg = createResultReg(CopyRC); in X86SelectTrunc() local
1302 CopyReg).addReg(InputReg); in X86SelectTrunc()
1303 InputReg = CopyReg; in X86SelectTrunc()
1874 unsigned CopyReg = ResultReg + i; in DoSelectCall() local
1883 CopyReg = createResultReg(X86::RFP80RegisterClass); in DoSelectCall()
1886 CopyReg); in DoSelectCall()
1889 CopyReg).addReg(RVLocs[i].getLocReg()); in DoSelectCall()
1903 .addReg(CopyReg); in DoSelectCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp655 unsigned CopyReg = SubRegMI->getOperand(1).getReg(); in simplifyCode() local
656 if (TargetRegisterInfo::isVirtualRegister(CopyReg)) in simplifyCode()
657 SrcMI = MRI->getVRegDef(CopyReg); in simplifyCode()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2380 unsigned CopyReg = createResultReg(CopyRC); in X86SelectTrunc() local
2382 TII.get(TargetOpcode::COPY), CopyReg).addReg(InputReg); in X86SelectTrunc()
2383 InputReg = CopyReg; in X86SelectTrunc()
3356 unsigned CopyReg = ResultReg + i; in fastLowerCall() local
3369 CopyReg = createResultReg(&X86::RFP80RegClass); in fastLowerCall()
3374 TII.get(TargetOpcode::COPY), CopyReg).addReg(VA.getLocReg()); in fastLowerCall()
3387 .addReg(CopyReg); in fastLowerCall()
DX86FrameLowering.cpp554 CopyReg = InProlog ? (unsigned)X86::RDX in emitStackProbeInline() local
601 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), CopyReg).addReg(X86::RSP); in emitStackProbeInline()
603 .addReg(CopyReg) in emitStackProbeInline()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp328 unsigned CopyReg = MRI.createVirtualRegister(&AArch64::FPR32RegClass); in selectFP16CopyFromGPR32() local
330 .addDef(CopyReg) in selectFP16CopyFromGPR32()
335 .addUse(CopyReg, 0, AArch64::hsub); in selectFP16CopyFromGPR32()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp591 CopyReg = InProlog ? (unsigned)X86::RDX in emitStackProbeInline() local
652 BuildMI(&MBB, DL, TII.get(X86::MOV64rr), CopyReg).addReg(X86::RSP); in emitStackProbeInline()
654 .addReg(CopyReg) in emitStackProbeInline()
DX86FastISel.cpp3571 unsigned CopyReg = ResultReg + i; in fastLowerCall() local
3585 CopyReg = createResultReg(&X86::RFP80RegClass); in fastLowerCall()
3590 TII.get(TargetOpcode::COPY), CopyReg).addReg(SrcReg); in fastLowerCall()
3603 .addReg(CopyReg); in fastLowerCall()