Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h522 unsigned ScalarOpc; in getScalarOpcForReduction() local
525 ScalarOpc = TargetOpcode::G_FADD; in getScalarOpcForReduction()
528 ScalarOpc = TargetOpcode::G_FMUL; in getScalarOpcForReduction()
543 ScalarOpc = TargetOpcode::G_ADD; in getScalarOpcForReduction()
546 ScalarOpc = TargetOpcode::G_MUL; in getScalarOpcForReduction()
549 ScalarOpc = TargetOpcode::G_AND; in getScalarOpcForReduction()
552 ScalarOpc = TargetOpcode::G_OR; in getScalarOpcForReduction()
555 ScalarOpc = TargetOpcode::G_XOR; in getScalarOpcForReduction()
558 ScalarOpc = TargetOpcode::G_SMAX; in getScalarOpcForReduction()
561 ScalarOpc = TargetOpcode::G_SMIN; in getScalarOpcForReduction()
[all …]
H A DLegalizerHelper.h257 unsigned ScalarOpc);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4812 unsigned ScalarOpc = RdxMI.getScalarOpcForReduction(); in fewerElementsVectorReductions() local
4832 .buildInstr(ScalarOpc, {NarrowTy}, in fewerElementsVectorReductions()
4848 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[Idx]}) in fewerElementsVectorReductions()
4865 return tryNarrowPow2Reduction(MI, SrcReg, SrcTy, NarrowTy, ScalarOpc); in fewerElementsVectorReductions()
4871 MIRBuilder.buildInstr(ScalarOpc, {DstReg}, in fewerElementsVectorReductions()
4875 .buildInstr(ScalarOpc, {DstTy}, {Acc, PartialReductions[Part]}) in fewerElementsVectorReductions()
4896 unsigned ScalarOpc = MI.getOpcode() == TargetOpcode::G_VECREDUCE_SEQ_FADD in fewerElementsVectorSeqReductions() local
4905 Acc = MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {Acc, SplitSrcs[i]}) in fewerElementsVectorSeqReductions()
4916 unsigned ScalarOpc) { in tryNarrowPow2Reduction() argument
4931 MIRBuilder.buildInstr(ScalarOpc, {NarrowTy}, {LHS, RHS}).getReg(0); in tryNarrowPow2Reduction()
H A DIRTranslator.cpp2376 unsigned ScalarOpc; in translateKnownIntrinsic() local
2379 ScalarOpc = TargetOpcode::G_FADD; in translateKnownIntrinsic()
2382 ScalarOpc = TargetOpcode::G_FMUL; in translateKnownIntrinsic()
2387 MIRBuilder.buildInstr(ScalarOpc, {Dst}, {ScalarSrc, Rdx}, in translateKnownIntrinsic()