Home
last modified time | relevance | path

Searched refs:TheLoop (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp163 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/
DLoopAccessAnalysis.cpp98 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/
DLoopVersioningLICM.cpp116 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/
DLoopUtils.h170 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/
DLoopAccessAnalysis.h68 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/
DLoopVectorize.cpp832 : 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/
DLCSSA.cpp116 bool LCSSA::runOnLoop(Loop *TheLoop, LPPassManager &LPM) { in runOnLoop() argument
117 L = TheLoop; in runOnLoop()