Home
last modified time | relevance | path

Searched refs:RecurKind (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp50 bool RecurrenceDescriptor::isIntegerRecurrenceKind(RecurKind Kind) { in isIntegerRecurrenceKind()
54 case RecurKind::Add: in isIntegerRecurrenceKind()
55 case RecurKind::Mul: in isIntegerRecurrenceKind()
56 case RecurKind::Or: in isIntegerRecurrenceKind()
57 case RecurKind::And: in isIntegerRecurrenceKind()
58 case RecurKind::Xor: in isIntegerRecurrenceKind()
59 case RecurKind::SMax: in isIntegerRecurrenceKind()
60 case RecurKind::SMin: in isIntegerRecurrenceKind()
61 case RecurKind::UMax: in isIntegerRecurrenceKind()
62 case RecurKind::UMin: in isIntegerRecurrenceKind()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DIVDescriptors.h37 enum class RecurKind { enum
70 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurKind K, in RecurrenceDescriptor()
85 RecKind(RecurKind::None), ExactFPMathInst(ExactFP) {} in IsRecurrence()
87 InstDesc(Instruction *I, RecurKind K, Instruction *ExactFP = nullptr)
97 RecurKind getRecKind() const { return RecKind; } in getRecKind()
108 RecurKind RecKind;
118 static InstDesc isRecurrenceInstr(Instruction *I, RecurKind Kind,
138 static InstDesc isConditionalRdxPattern(RecurKind Kind, Instruction *I);
141 static Constant *getRecurrenceIdentity(RecurKind K, Type *Tp,
145 static unsigned getOpcode(RecurKind Kind);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h156 case RecurKind::Add: in isLegalToVectorizeReduction()
157 case RecurKind::FAdd: in isLegalToVectorizeReduction()
158 case RecurKind::And: in isLegalToVectorizeReduction()
159 case RecurKind::Or: in isLegalToVectorizeReduction()
160 case RecurKind::Xor: in isLegalToVectorizeReduction()
161 case RecurKind::SMin: in isLegalToVectorizeReduction()
162 case RecurKind::SMax: in isLegalToVectorizeReduction()
163 case RecurKind::UMin: in isLegalToVectorizeReduction()
164 case RecurKind::UMax: in isLegalToVectorizeReduction()
165 case RecurKind::FMin: in isLegalToVectorizeReduction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DExpandReductions.cpp60 RecurKind getRK(Intrinsic::ID ID) { in getRK()
63 return RecurKind::SMax; in getRK()
65 return RecurKind::SMin; in getRK()
67 return RecurKind::UMax; in getRK()
69 return RecurKind::UMin; in getRK()
71 return RecurKind::FMax; in getRK()
73 return RecurKind::FMin; in getRK()
75 return RecurKind::None; in getRK()
111 RecurKind RK = getRK(ID); in expandReductions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp916 Value *llvm::createMinMaxOp(IRBuilderBase &Builder, RecurKind RK, Value *Left, in createMinMaxOp()
922 case RecurKind::UMin: in createMinMaxOp()
925 case RecurKind::UMax: in createMinMaxOp()
928 case RecurKind::SMin: in createMinMaxOp()
931 case RecurKind::SMax: in createMinMaxOp()
934 case RecurKind::FMin: in createMinMaxOp()
937 case RecurKind::FMax: in createMinMaxOp()
949 unsigned Op, RecurKind RdxKind, in getOrderedReduction()
978 unsigned Op, RecurKind RdxKind, in getShuffleReduction()
1021 Value *Src, RecurKind RdxKind, in createSimpleTargetReduction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h361 Value *createMinMaxOp(IRBuilderBase &Builder, RecurKind RK, Value *Left,
366 unsigned Op, RecurKind MinMaxKind = RecurKind::None,
372 RecurKind MinMaxKind = RecurKind::None,
383 RecurKind RdxKind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp817 bool isLoadCombineReductionCandidate(RecurKind RdxKind) const;
4229 bool BoUpSLP::isLoadCombineReductionCandidate(RecurKind RdxKind) const { in isLoadCombineReductionCandidate()
4230 if (RdxKind != RecurKind::Or) in isLoadCombineReductionCandidate()
7000 RecurKind RdxKind;
7003 static bool isVectorizable(RecurKind Kind, Instruction *I) { in isVectorizable()
7004 if (Kind == RecurKind::None) in isVectorizable()
7009 if (Kind == RecurKind::FMax || Kind == RecurKind::FMin) { in isVectorizable()
7040 static Value *createOp(IRBuilder<> &Builder, RecurKind Kind, Value *LHS, in createOp()
7044 case RecurKind::Add: in createOp()
7045 case RecurKind::Mul: in createOp()
[all …]
H A DLoopVectorize.cpp4327 RecurKind RK = RdxDesc.getRecurrenceKind(); in fixReduction()
4508 RecurKind RK = RdxDesc.getRecurrenceKind(); in clearReductionWrapFlags()
4509 if (RK != RecurKind::Add && RK != RecurKind::Mul) in clearReductionWrapFlags()
4754 RecurKind RK = RdxDesc->getRecurrenceKind(); in widenPHIInstruction()
9020 RecurKind Kind = Legal->getReductionVars()[Phi].getRecurrenceKind(); in buildVPlanWithVPRecipes()
9317 RecurKind Kind = RdxDesc.getRecurrenceKind(); in adjustRecipesForInLoopReductions()
9459 RecurKind Kind = RdxDesc->getRecurrenceKind(); in execute()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1534 case RecurKind::Add: in isLegalToVectorizeReduction()
1535 case RecurKind::FAdd: in isLegalToVectorizeReduction()
1536 case RecurKind::And: in isLegalToVectorizeReduction()
1537 case RecurKind::Or: in isLegalToVectorizeReduction()
1538 case RecurKind::Xor: in isLegalToVectorizeReduction()
1539 case RecurKind::SMin: in isLegalToVectorizeReduction()
1540 case RecurKind::SMax: in isLegalToVectorizeReduction()
1541 case RecurKind::UMin: in isLegalToVectorizeReduction()
1542 case RecurKind::UMax: in isLegalToVectorizeReduction()
1543 case RecurKind::FMin: in isLegalToVectorizeReduction()
[all …]