Searched refs:RecurrenceDescriptor (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 29 bool RecurrenceDescriptor::areAllUsesIn(Instruction *I, in areAllUsesIn() 37 bool RecurrenceDescriptor::isIntegerRecurrenceKind(RecurrenceKind Kind) { in isIntegerRecurrenceKind() 52 bool RecurrenceDescriptor::isFloatingPointRecurrenceKind(RecurrenceKind Kind) { in isFloatingPointRecurrenceKind() 56 bool RecurrenceDescriptor::isArithmeticRecurrenceKind(RecurrenceKind Kind) { in isArithmeticRecurrenceKind() 70 RecurrenceDescriptor::lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd() 94 bool RecurrenceDescriptor::getSourceExtensionKind( in getSourceExtensionKind() 155 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar() 157 RecurrenceDescriptor &RedDes) { in AddReductionVar() 355 RecurrenceDescriptor RD( in AddReductionVar() 365 RecurrenceDescriptor::InstDesc [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 58 class RecurrenceDescriptor { 86 RecurrenceDescriptor() in RecurrenceDescriptor() function 91 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurrenceKind K, in RecurrenceDescriptor() function 168 RecurrenceDescriptor &RedDes); 173 RecurrenceDescriptor &RedDes);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 606 RecurrenceDescriptor RD; in areAllUsesReductions() 607 return !UserIns || !RecurrenceDescriptor::isReductionPHI(UserIns, L, RD); in areAllUsesReductions() 705 RecurrenceDescriptor RD; in findInductionAndReductions() 710 else if (RecurrenceDescriptor::isReductionPHI(PHI, L, RD)) in findInductionAndReductions()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1198 typedef DenseMap<PHINode *, RecurrenceDescriptor> ReductionList; 3308 RecurrenceDescriptor RdxDesc = (*Legal->getReductionVars())[RdxPhi]; in vectorizeLoop() 3310 RecurrenceDescriptor::RecurrenceKind RK = RdxDesc.getRecurrenceKind(); in vectorizeLoop() 3313 RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind = in vectorizeLoop() 3331 if (RK == RecurrenceDescriptor::RK_IntegerMinMax || in vectorizeLoop() 3332 RK == RecurrenceDescriptor::RK_FloatMinMax) { in vectorizeLoop() 3342 Constant *Iden = RecurrenceDescriptor::getRecurrenceIdentity( in vectorizeLoop() 3412 unsigned Op = RecurrenceDescriptor::getRecurrenceBinOp(RK); in vectorizeLoop() 3421 ReducedPartRdx = RecurrenceDescriptor::createMinMaxOp( in vectorizeLoop() 3453 TmpVec = RecurrenceDescriptor::createMinMaxOp(Builder, MinMaxKind, in vectorizeLoop() [all …]
|