/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 156 Loop *TheLoop, bool HasFunNoNaNAttr, in AddReductionVar() argument 162 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar() 167 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar() 290 if (!TheLoop->contains(Parent)) { in AddReductionVar() 466 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() argument 470 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI() 476 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 480 if (AddReductionVar(Phi, RK_IntegerMult, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 484 if (AddReductionVar(Phi, RK_IntegerOr, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() 488 if (AddReductionVar(Phi, RK_IntegerAnd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI() [all …]
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 74 const Loop *TheLoop, in emitAnalysis() argument 76 DebugLoc DL = TheLoop->getStartLoc(); in emitAnalysis() 454 Loop *TheLoop, const ValueToValueMap &Strides, 535 ScalarEvolution *SE, Loop *TheLoop, in canCheckPtrAtRT() argument 569 if (hasComputableBounds(PSE, StridesMap, Ptr, TheLoop) && in canCheckPtrAtRT() 573 isStridedPtr(PSE, Ptr, TheLoop, StridesMap) == 1)) { in canCheckPtrAtRT() 587 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE); in canCheckPtrAtRT() 1308 TheLoop->getHeader()->getName() << '\n'); in canAnalyzeLoop() 1311 if (!TheLoop->empty()) { in canAnalyzeLoop() 1318 if (TheLoop->getNumBackEdges() != 1) { in canAnalyzeLoop() [all …]
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 789 : PSE(PSE), TheLoop(L), DT(DT) {} in InterleavedAccessInfo() 824 Loop *TheLoop; member in __anon63bf7e8f0111::InterleavedAccessInfo 931 TheLoop(L) { in LoopVectorizeHints() 1032 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata() 1091 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createHintMetadata() 1118 MDNode *LoopID = TheLoop->getLoopID(); in writeHintsToMetadata() 1133 LLVMContext &Context = TheLoop->getHeader()->getContext(); in writeHintsToMetadata() 1138 TheLoop->setLoopID(NewLoopID); in writeHintsToMetadata() 1142 const Loop *TheLoop; member in __anon63bf7e8f0111::LoopVectorizeHints 1145 static void emitAnalysisDiag(const Function *TheFunction, const Loop *TheLoop, in emitAnalysisDiag() argument [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 68 const Loop *TheLoop, 532 static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop, 615 Loop *TheLoop; variable
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 166 static bool AddReductionVar(PHINode *Phi, RecurrenceKind Kind, Loop *TheLoop, 172 static bool isReductionPHI(PHINode *Phi, Loop *TheLoop,
|