Home
last modified time | relevance | path

Searched refs:ScalarOpc (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h599 unsigned ScalarOpc; in getScalarOpcForReduction() local
602 ScalarOpc = TargetOpcode::G_FADD; in getScalarOpcForReduction()
605 ScalarOpc = TargetOpcode::G_FMUL; in getScalarOpcForReduction()
608 ScalarOpc = TargetOpcode::G_FMAXNUM; in getScalarOpcForReduction()
611 ScalarOpc = TargetOpcode::G_FMINNUM; in getScalarOpcForReduction()
614 ScalarOpc = TargetOpcode::G_FMAXIMUM; in getScalarOpcForReduction()
617 ScalarOpc = TargetOpcode::G_FMINIMUM; in getScalarOpcForReduction()
620 ScalarOpc = TargetOpcode::G_ADD; in getScalarOpcForReduction()
623 ScalarOpc = TargetOpcode::G_MUL; in getScalarOpcForReduction()
626 ScalarOpc = TargetOpcode::G_AND; in getScalarOpcForReduction()
[all …]
H A DLegalizerHelper.h264 unsigned ScalarOpc);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2523 unsigned ScalarOpc; in translateKnownIntrinsic() local
2526 ScalarOpc = TargetOpcode::G_FADD; in translateKnownIntrinsic()
2529 ScalarOpc = TargetOpcode::G_FMUL; in translateKnownIntrinsic()
2534 MIRBuilder.buildInstr(ScalarOpc, {Dst}, {ScalarSrc, Rdx}, in translateKnownIntrinsic()
H A DLegalizerHelper.cpp5747 unsigned ScalarOpc = RdxMI.getScalarOpcForReduction(); in fewerElementsVectorReductions() local
5767 .buildInstr(ScalarOpc, {NarrowTy}, in fewerElementsVectorReductions()
5783 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[Idx]}) in fewerElementsVectorReductions()
5800 return tryNarrowPow2Reduction(MI, SrcReg, SrcTy, NarrowTy, ScalarOpc); in fewerElementsVectorReductions()
5806 MIRBuilder.buildInstr(ScalarOpc, {DstReg}, in fewerElementsVectorReductions()
5810 .buildInstr(ScalarOpc, {DstTy}, {Acc, PartialReductions[Part]}) in fewerElementsVectorReductions()
5831 unsigned ScalarOpc = MI.getOpcode() == TargetOpcode::G_VECREDUCE_SEQ_FADD in fewerElementsVectorSeqReductions() local
5840 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[i]}) in fewerElementsVectorSeqReductions()
5851 unsigned ScalarOpc) { in tryNarrowPow2Reduction() argument
5866 MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {LHS, RHS}).getReg(0); in tryNarrowPow2Reduction()