/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 164 RecurrenceDescriptor &RedDes) { in AddReductionVar() argument 365 RedDes = RD; in AddReductionVar() 474 RecurrenceDescriptor &RedDes) { in isReductionPHI() argument 481 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 485 if (AddReductionVar(Phi, RK_IntegerMult, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 489 if (AddReductionVar(Phi, RK_IntegerOr, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 493 if (AddReductionVar(Phi, RK_IntegerAnd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 497 if (AddReductionVar(Phi, RK_IntegerXor, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 502 RedDes)) { in isReductionPHI() 506 if (AddReductionVar(Phi, RK_FloatMult, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 193 RecurrenceDescriptor &RedDes, in AddReductionVar() argument 438 RedDes = RD; in AddReductionVar() 547 RecurrenceDescriptor &RedDes, in isReductionPHI() argument 556 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() 561 if (AddReductionVar(Phi, RK_IntegerMult, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() 566 if (AddReductionVar(Phi, RK_IntegerOr, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() 571 if (AddReductionVar(Phi, RK_IntegerAnd, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() 576 if (AddReductionVar(Phi, RK_IntegerXor, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() 581 if (AddReductionVar(Phi, RK_IntegerMinMax, TheLoop, HasFunNoNaNAttr, RedDes, in isReductionPHI() 586 if (AddReductionVar(Phi, RK_FloatMult, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 618 RecurrenceDescriptor RedDes; in canVectorizeInstrs() local 619 if (RecurrenceDescriptor::isReductionPHI(Phi, TheLoop, RedDes, DB, AC, in canVectorizeInstrs() 621 if (RedDes.hasUnsafeAlgebra()) in canVectorizeInstrs() 622 Requirements->addUnsafeAlgebraInst(RedDes.getUnsafeAlgebraInst()); in canVectorizeInstrs() 623 AllowedExit.insert(RedDes.getLoopExitInstr()); in canVectorizeInstrs() 624 Reductions[Phi] = RedDes; in canVectorizeInstrs()
|
D | LoopVectorize.cpp | 6268 RecurrenceDescriptor &RedDes = Reduction.second; in collectValuesToIgnore() local 6269 SmallPtrSetImpl<Instruction *> &Casts = RedDes.getCastInsts(); in collectValuesToIgnore()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 172 RecurrenceDescriptor &RedDes); 177 RecurrenceDescriptor &RedDes);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 171 RecurrenceDescriptor &RedDes, 181 RecurrenceDescriptor &RedDes,
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 4617 RecurrenceDescriptor RedDes; in canVectorizeInstrs() local 4618 if (RecurrenceDescriptor::isReductionPHI(Phi, TheLoop, RedDes)) { in canVectorizeInstrs() 4619 if (RedDes.hasUnsafeAlgebra()) in canVectorizeInstrs() 4620 Requirements->addUnsafeAlgebraInst(RedDes.getUnsafeAlgebraInst()); in canVectorizeInstrs() 4621 AllowedExit.insert(RedDes.getLoopExitInstr()); in canVectorizeInstrs() 4622 Reductions[Phi] = RedDes; in canVectorizeInstrs() 6156 RecurrenceDescriptor &RedDes = Reduction.second; in collectValuesToIgnore() local 6157 SmallPtrSetImpl<Instruction *> &Casts = RedDes.getCastInsts(); in collectValuesToIgnore()
|