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.h579 unsigned ScalarOpc; in getScalarOpcForReduction() local
582 ScalarOpc = TargetOpcode::G_FADD; in getScalarOpcForReduction()
585 ScalarOpc = TargetOpcode::G_FMUL; in getScalarOpcForReduction()
588 ScalarOpc = TargetOpcode::G_FMAXNUM; in getScalarOpcForReduction()
591 ScalarOpc = TargetOpcode::G_FMINNUM; in getScalarOpcForReduction()
594 ScalarOpc = TargetOpcode::G_FMAXIMUM; in getScalarOpcForReduction()
597 ScalarOpc = TargetOpcode::G_FMINIMUM; in getScalarOpcForReduction()
600 ScalarOpc = TargetOpcode::G_ADD; in getScalarOpcForReduction()
603 ScalarOpc = TargetOpcode::G_MUL; in getScalarOpcForReduction()
606 ScalarOpc = TargetOpcode::G_AND; in getScalarOpcForReduction()
[all …]
H A DLegalizerHelper.h257 unsigned ScalarOpc);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5058 unsigned ScalarOpc = RdxMI.getScalarOpcForReduction(); in fewerElementsVectorReductions() local
5078 .buildInstr(ScalarOpc, {NarrowTy}, in fewerElementsVectorReductions()
5094 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[Idx]}) in fewerElementsVectorReductions()
5111 return tryNarrowPow2Reduction(MI, SrcReg, SrcTy, NarrowTy, ScalarOpc); in fewerElementsVectorReductions()
5117 MIRBuilder.buildInstr(ScalarOpc, {DstReg}, in fewerElementsVectorReductions()
5121 .buildInstr(ScalarOpc, {DstTy}, {Acc, PartialReductions[Part]}) in fewerElementsVectorReductions()
5142 unsigned ScalarOpc = MI.getOpcode() == TargetOpcode::G_VECREDUCE_SEQ_FADD in fewerElementsVectorSeqReductions() local
5151 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[i]}) in fewerElementsVectorSeqReductions()
5162 unsigned ScalarOpc) { in tryNarrowPow2Reduction() argument
5177 MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {LHS, RHS}).getReg(0); in tryNarrowPow2Reduction()
H A DIRTranslator.cpp2486 unsigned ScalarOpc; in translateKnownIntrinsic() local
2489 ScalarOpc = TargetOpcode::G_FADD; in translateKnownIntrinsic()
2492 ScalarOpc = TargetOpcode::G_FMUL; in translateKnownIntrinsic()
2497 MIRBuilder.buildInstr(ScalarOpc, {Dst}, {ScalarSrc, Rdx}, in translateKnownIntrinsic()