Home
last modified time | relevance | path

Searched refs:Unmerge (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp304 auto Unmerge = MIRBuilder.buildUnmerge(SmallTy, LargeReg); in handleAssignments() local
305 assert(Unmerge->getNumOperands() == NumParts + 1); in handleAssignments()
319 Args[i].Regs.push_back(Unmerge.getReg(PartIdx)); in handleAssignments()
410 auto Unmerge = MIRBuilder.buildUnmerge({OrigTy, OrigTy}, {NewReg}); in handleAssignments() local
411 MIRBuilder.buildCopy(ArgReg, Unmerge.getReg(0)); in handleAssignments()
DLegalizerHelper.cpp267 auto Unmerge = MIRBuilder.buildUnmerge(GCDTy, SrcReg); in extractGCDType() local
268 getUnmergeResults(Parts, *Unmerge); in extractGCDType()
857 auto Unmerge = MIRBuilder.buildUnmerge(NarrowTy, MI.getOperand(1)); in narrowScalar() local
858 MIRBuilder.buildCopy(MI.getOperand(0), Unmerge.getReg(0)); in narrowScalar()
1470 auto Unmerge = MIRBuilder.buildUnmerge(GCDTy, SrcReg); in widenScalarMergeValues() local
1471 for (int J = 0, JE = Unmerge->getNumOperands() - 1; J != JE; ++J) in widenScalarMergeValues()
1472 Unmerges.push_back(Unmerge.getReg(J)); in widenScalarMergeValues()
1606 auto Unmerge = MIRBuilder.buildUnmerge(WideTy, WideSrc); in widenScalarUnmergeValues() local
1624 const int NumUnmerge = Unmerge->getNumOperands() - 1; in widenScalarUnmergeValues()
1645 MIB.addUse(Unmerge.getReg(I)); in widenScalarUnmergeValues()
[all …]
DCombinerHelper.cpp2045 auto Unmerge = Builder.buildUnmerge(HalfTy, SrcReg); in applyCombineShiftToUnmerge() local
2049 Register Narrowed = Unmerge.getReg(1); in applyCombineShiftToUnmerge()
2064 Register Narrowed = Unmerge.getReg(0); in applyCombineShiftToUnmerge()
2079 HalfTy, Unmerge.getReg(1), in applyCombineShiftToUnmerge()
2085 Builder.buildMerge(DstReg, { Unmerge.getReg(1), Hi }); in applyCombineShiftToUnmerge()
2094 HalfTy, Unmerge.getReg(1), in applyCombineShiftToUnmerge()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp264 auto Unmerge = MIRBuilder.buildUnmerge(SmallTy, LargeReg); in handleAssignments() local
265 assert(Unmerge->getNumOperands() == NumParts + 1); in handleAssignments()
279 Args[i].Regs.push_back(Unmerge.getReg(PartIdx)); in handleAssignments()
341 auto Unmerge = MIRBuilder.buildUnmerge({OrigTy, OrigTy}, {NewReg}); in handleAssignments() local
342 MIRBuilder.buildCopy(ArgReg, Unmerge.getReg(0)); in handleAssignments()
DLegalizerHelper.cpp713 auto Unmerge = MIRBuilder.buildUnmerge(NarrowTy, MI.getOperand(1).getReg()); in narrowScalar() local
714 MIRBuilder.buildCopy(MI.getOperand(0).getReg(), Unmerge.getReg(0)); in narrowScalar()
1262 auto Unmerge = MIRBuilder.buildUnmerge(GCDTy, SrcReg); in widenScalarMergeValues() local
1263 for (int J = 0, JE = Unmerge->getNumOperands() - 1; J != JE; ++J) in widenScalarMergeValues()
1264 Unmerges.push_back(Unmerge.getReg(J)); in widenScalarMergeValues()
2821 auto Unmerge = MIRBuilder.buildUnmerge(GCDTy, SrcReg); in fewerElementsVectorUnmergeValues() local
2822 const int NumUnmerge = Unmerge->getNumOperands() - 1; in fewerElementsVectorUnmergeValues()
2830 MIB.addUse(Unmerge.getReg(I)); in fewerElementsVectorUnmergeValues()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1961 auto Unmerge = B.buildUnmerge({S32, S32}, Src); in legalizeIntrinsicTrunc() local
1962 Register Hi = Unmerge.getReg(1); in legalizeIntrinsicTrunc()
2007 auto Unmerge = B.buildUnmerge({S32, S32}, Src); in legalizeITOFP() local
2010 B.buildSITOFP(S64, Unmerge.getReg(1)) : in legalizeITOFP()
2011 B.buildUITOFP(S64, Unmerge.getReg(1)); in legalizeITOFP()
2013 auto CvtLo = B.buildUITOFP(S64, Unmerge.getReg(0)); in legalizeITOFP()
2840 auto Unmerge = B.buildUnmerge(S32, Val); in emitReciprocalU64() local
2842 auto CvtLo = B.buildUITOFP(S32, Unmerge.getReg(0)); in emitReciprocalU64()
2843 auto CvtHi = B.buildUITOFP(S32, Unmerge.getReg(1)); in emitReciprocalU64()
3471 auto Unmerge = B.buildUnmerge(LLT::scalar(32), MI.getOperand(2).getReg()); in legalizeIsAddrSpace() local
[all …]
DAMDGPURegisterBankInfo.cpp921 auto Unmerge = B.buildUnmerge(UnmergeTy, OpReg); in executeInWaterfallLoop() local
924 unsigned NumPieces = Unmerge->getNumOperands() - 1; in executeInWaterfallLoop()
926 Register UnmergePiece = Unmerge.getReg(PieceIdx); in executeInWaterfallLoop()
1690 auto Unmerge = B.buildUnmerge(S16, Reg); in handleD16VData() local
1694 for (int I = 0, E = Unmerge->getNumOperands() - 1; I != E; ++I) in handleD16VData()
1695 WideRegs.push_back(Unmerge.getReg(I)); in handleD16VData()
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dcombine-unmerge.mir112 # Unmerge(merge) case with two operands and a bitcast in the middle.
133 # Unmerge(merge) with incompatible types: unmerge destTy != merge inputTy.
159 # Unmerge(concatvectors) with incompatible types: unmerge destTy != merge inputTy
184 # Unmerge a constant into a bunch of smaller constant.
248 # Unmerge a constant on a non-power of 2 type into a bunch of smaller constant.
274 # Unmerge floating point constant.
/external/llvm-project/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp386 auto Unmerge = MIRBuilder.buildUnmerge(s32, Val); in legalizeCustom() local
387 MIRBuilder.buildStore(Unmerge.getReg(0), BaseAddr, *P2HalfMemOp); in legalizeCustom()
388 MIRBuilder.buildStore(Unmerge.getReg(1), Addr, *RemMemOp); in legalizeCustom()
DMipsCallLowering.cpp246 auto Unmerge = MIRBuilder.buildUnmerge(LLT::scalar(32), ValVReg); in assignValueToReg() local
247 MIRBuilder.buildCopy(Register(PhysReg + (IsEL ? 0 : 1)), Unmerge.getReg(0)); in assignValueToReg()
248 MIRBuilder.buildCopy(Register(PhysReg + (IsEL ? 1 : 0)), Unmerge.getReg(1)); in assignValueToReg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1441 auto Unmerge = B.buildUnmerge({S32, S32}, Src); in legalizeIntrinsicTrunc() local
1442 Register Hi = Unmerge.getReg(1); in legalizeIntrinsicTrunc()
1487 auto Unmerge = B.buildUnmerge({S32, S32}, Src); in legalizeITOFP() local
1490 B.buildSITOFP(S64, Unmerge.getReg(1)) : in legalizeITOFP()
1491 B.buildUITOFP(S64, Unmerge.getReg(1)); in legalizeITOFP()
1493 auto CvtLo = B.buildUITOFP(S64, Unmerge.getReg(0)); in legalizeITOFP()
2304 auto Unmerge = B.buildUnmerge(S16, Reg); in handleD16VData() local
2307 for (int I = 0, E = Unmerge->getNumOperands() - 1; I != E; ++I) in handleD16VData()
2308 WideRegs.push_back(B.buildAnyExt(S32, Unmerge.getReg(I)).getReg(0)); in handleD16VData()
DAMDGPURegisterBankInfo.cpp900 auto Unmerge = B.buildUnmerge(UnmergeTy, Op.getReg()); in executeInWaterfallLoop() local
903 unsigned NumPieces = Unmerge->getNumOperands() - 1; in executeInWaterfallLoop()
905 Register UnmergePiece = Unmerge.getReg(PieceIdx); in executeInWaterfallLoop()
1269 auto Unmerge = B.buildUnmerge(S16, Reg); in handleD16VData() local
1273 for (int I = 0, E = Unmerge->getNumOperands() - 1; I != E; ++I) in handleD16VData()
1274 WideRegs.push_back(Unmerge.getReg(I)); in handleD16VData()
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DLegalizerHelperTest.cpp3151 auto Unmerge = B.buildUnmerge(S48, Src); in TEST_F() local
3158 B.setInsertPt(*EntryMBB, Unmerge->getIterator()); in TEST_F()
3162 Helper.widenScalar(*Unmerge, 0, S64)); in TEST_F()