Home
last modified time | relevance | path

Searched refs:SplitSrcs (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp831 SmallVector<Register, 2> SplitSrcs; in legalizeVectorTrunc() local
832 extractParts(SrcReg, MRI, MIRBuilder, SplitSrcTy, 2, SplitSrcs); in legalizeVectorTrunc()
836 for (unsigned I = 0; I < SplitSrcs.size(); ++I) in legalizeVectorTrunc()
837 SplitSrcs[I] = MIRBuilder.buildTrunc(InterTy, SplitSrcs[I]).getReg(0); in legalizeVectorTrunc()
840 DstTy.changeElementSize(DstTy.getScalarSizeInBits() * 2), SplitSrcs); in legalizeVectorTrunc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4242 SmallVector<Register> SplitSrcs; in fewerElementsVectorReductions() local
4244 extractParts(SrcReg, NarrowTy, NumParts, SplitSrcs); in fewerElementsVectorReductions()
4248 MIRBuilder.buildInstr(Opc, {DstTy}, {SplitSrcs[Part]}).getReg(0)); in fewerElementsVectorReductions()
4323 SmallVector<Register> SplitSrcs; in tryNarrowPow2Reduction() local
4326 SrcTy.getNumElements() / NarrowTy.getNumElements(), SplitSrcs); in tryNarrowPow2Reduction()
4329 while (SplitSrcs.size() > 1) { in tryNarrowPow2Reduction()
4331 for (unsigned Idx = 0; Idx < SplitSrcs.size()-1; Idx += 2) { in tryNarrowPow2Reduction()
4332 Register LHS = SplitSrcs[Idx]; in tryNarrowPow2Reduction()
4333 Register RHS = SplitSrcs[Idx + 1]; in tryNarrowPow2Reduction()
4339 SplitSrcs = std::move(PartialRdxs); in tryNarrowPow2Reduction()
[all …]