Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp36 bool RecurrenceDescriptor::areAllUsesIn(Instruction *I, in areAllUsesIn()
44 bool RecurrenceDescriptor::isIntegerRecurrenceKind(RecurrenceKind Kind) { in isIntegerRecurrenceKind()
59 bool RecurrenceDescriptor::isFloatingPointRecurrenceKind(RecurrenceKind Kind) { in isFloatingPointRecurrenceKind()
63 bool RecurrenceDescriptor::isArithmeticRecurrenceKind(RecurrenceKind Kind) { in isArithmeticRecurrenceKind()
77 RecurrenceDescriptor::lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
101 bool RecurrenceDescriptor::getSourceExtensionKind( in getSourceExtensionKind()
162 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
164 RecurrenceDescriptor &RedDes) { in AddReductionVar()
362 RecurrenceDescriptor RD( in AddReductionVar()
372 RecurrenceDescriptor::InstDesc
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h62 class RecurrenceDescriptor {
90 RecurrenceDescriptor() in RecurrenceDescriptor() function
95 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurrenceKind K, in RecurrenceDescriptor() function
172 RecurrenceDescriptor &RedDes);
177 RecurrenceDescriptor &RedDes);
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp604 RecurrenceDescriptor RD; in areAllUsesReductions()
605 return !UserIns || !RecurrenceDescriptor::isReductionPHI(UserIns, L, RD); in areAllUsesReductions()
703 RecurrenceDescriptor RD; in findInductionAndReductions()
708 else if (RecurrenceDescriptor::isReductionPHI(PHI, L, RD)) in findInductionAndReductions()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1361 typedef DenseMap<PHINode *, RecurrenceDescriptor> ReductionList;
3514 RecurrenceDescriptor RdxDesc = (*Legal->getReductionVars())[Phi]; in vectorizeLoop()
3516 RecurrenceDescriptor::RecurrenceKind RK = RdxDesc.getRecurrenceKind(); in vectorizeLoop()
3519 RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind = in vectorizeLoop()
3537 if (RK == RecurrenceDescriptor::RK_IntegerMinMax || in vectorizeLoop()
3538 RK == RecurrenceDescriptor::RK_FloatMinMax) { in vectorizeLoop()
3548 Constant *Iden = RecurrenceDescriptor::getRecurrenceIdentity( in vectorizeLoop()
3618 unsigned Op = RecurrenceDescriptor::getRecurrenceBinOp(RK); in vectorizeLoop()
3627 ReducedPartRdx = RecurrenceDescriptor::createMinMaxOp( in vectorizeLoop()
3657 TmpVec = RecurrenceDescriptor::createMinMaxOp(Builder, MinMaxKind, in vectorizeLoop()
[all …]