/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 163 Loop *TheLoop, bool HasFunNoNaNAttr, in AddReductionVar() argument 169 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar() 174 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar() 297 if (!TheLoop->contains(Parent)) { in AddReductionVar() 473 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() argument 476 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI() 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() [all …]
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 98 const Loop *TheLoop, in emitAnalysis() argument 100 DebugLoc DL = TheLoop->getStartLoc(); in emitAnalysis() 486 Loop *TheLoop, const ValueToValueMap &Strides, 583 ScalarEvolution *SE, Loop *TheLoop, in canCheckPtrAtRT() argument 617 if (hasComputableBounds(PSE, StridesMap, Ptr, TheLoop) && in canCheckPtrAtRT() 620 (!ShouldCheckWrap || isNoWrap(PSE, StridesMap, Ptr, TheLoop))) { in canCheckPtrAtRT() 634 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE); in canCheckPtrAtRT() 1457 << TheLoop->getHeader()->getParent()->getName() << ": " in canAnalyzeLoop() 1458 << TheLoop->getHeader()->getName() << '\n'); in canAnalyzeLoop() 1461 if (!TheLoop->empty()) { in canAnalyzeLoop() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopVersioningLICM.cpp | 116 static MDNode *createStringMetadata(Loop *TheLoop, StringRef Name, unsigned V) { in createStringMetadata() argument 117 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createStringMetadata() 125 void llvm::addStringMetadataToLoop(Loop *TheLoop, const char *MDString, in addStringMetadataToLoop() argument 129 MDNode *LoopID = TheLoop->getLoopID(); in addStringMetadataToLoop() 137 MDs.push_back(createStringMetadata(TheLoop, MDString, V)); in addStringMetadataToLoop() 139 LLVMContext &Context = TheLoop->getHeader()->getContext(); in addStringMetadataToLoop() 143 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 170 static bool AddReductionVar(PHINode *Phi, RecurrenceKind Kind, Loop *TheLoop, 176 static bool isReductionPHI(PHINode *Phi, Loop *TheLoop, 183 static bool isFirstOrderRecurrence(PHINode *Phi, Loop *TheLoop, 407 Optional<const MDOperand *> findStringMetadataForLoop(Loop *TheLoop, 411 void addStringMetadataToLoop(Loop *TheLoop, const char *MDString,
|
/external/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 68 const Loop *TheLoop, 523 DepChecker(std::move(LAI.DepChecker)), TheLoop(LAI.TheLoop), in LoopAccessInfo() 537 TheLoop = LAI.TheLoop; 565 static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop, 659 Loop *TheLoop; variable
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 832 : PSE(PSE), TheLoop(L), DT(DT), LI(LI), LAI(nullptr), in InterleavedAccessInfo() 883 Loop *TheLoop; member in __anonf0c7dd4c0111::InterleavedAccessInfo 952 return LoopAccessInfo::blockNeedsPredication(BB, TheLoop, DT); in isPredicated() 1081 PotentiallyUnsafe(false), TheLoop(L) { in LoopVectorizeHints() 1194 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata() 1254 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createHintMetadata() 1281 MDNode *LoopID = TheLoop->getLoopID(); in writeHintsToMetadata() 1296 LLVMContext &Context = TheLoop->getHeader()->getContext(); in writeHintsToMetadata() 1301 TheLoop->setLoopID(NewLoopID); in writeHintsToMetadata() 1305 const Loop *TheLoop; member in __anonf0c7dd4c0111::LoopVectorizeHints [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LCSSA.cpp | 116 bool LCSSA::runOnLoop(Loop *TheLoop, LPPassManager &LPM) { in runOnLoop() argument 117 L = TheLoop; in runOnLoop()
|