Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp53 Value *CodeRegion = TheLoop->getHeader(); in createLVMissedAnalysis()
54 DebugLoc DL = TheLoop->getStartLoc(); in createLVMissedAnalysis()
150 TheLoop->getStartLoc(), TheLoop->getHeader()); in emitRemarkWithHints()
176 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata()
261 MDNode *LoopID = TheLoop->getLoopID(); in writeHintsToMetadata()
281 TheLoop->setLoopID(NewLoopID); in writeHintsToMetadata()
445 if (!TheLoop->contains(UI)) { in hasOutsideLoopUser()
474 for (BasicBlock *BB : TheLoop->blocks()) { in canVectorizeOuterLoop()
830 LAI = &(*GetLAA)(*TheLoop); in canVectorizeMemory()
1086 if (!TheLoop->empty()) { in canVectorize()
[all …]
H A DVPlanHCFGBuilder.cpp38 Loop *TheLoop; member in __anonf6ad2afd0111::PlainCFGBuilder
73 : TheLoop(Lp), LI(LI), Plan(P) {} in PlainCFGBuilder()
139 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef()
147 BasicBlock *Exit = TheLoop->getUniqueExitBlock(); in isExternalDef()
155 return !TheLoop->contains(Inst); in isExternalDef()
249 BasicBlock *PreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
255 VPBlockBase *HeaderVPBB = getOrCreateVPBB(TheLoop->getHeader()); in buildPlainCFG()
259 LoopBlocksRPO RPO(TheLoop); in buildPlainCFG()
307 BasicBlock *LoopExitBB = TheLoop->getUniqueExitBlock(); in buildPlainCFG()
328 PlainCFGBuilder PCFGBuilder(TheLoop, LI, Plan); in buildPlainCFG()
H A DVPlanHCFGBuilder.h43 Loop *TheLoop;
65 : TheLoop(Lp), LI(LI), Plan(P) {} in VPlanHCFGBuilder()
H A DLoopVectorize.cpp1300 Loop *TheLoop; member in llvm::LoopVectorizationCostModel
4206 !TheLoop->isLoopInvariant(V); in collectLoopScalars()
4251 for (auto *BB : TheLoop->blocks()) in collectLoopScalars()
4271 auto *Latch = TheLoop->getLoopLatch(); in collectLoopScalars()
4468 return (!I || !TheLoop->contains(I)); in collectLoopUniforms()
4509 for (auto *BB : TheLoop->blocks()) in collectLoopUniforms()
4858 for (BasicBlock *BB : TheLoop->blocks()) { in getSmallestAndWidestTypes()
5079 LoopBlocksDFS DFS(TheLoop); in calculateRegisterUsage()
5112 if (!TheLoop->contains(Instr)) { in calculateRegisterUsage()
5435 const Loop *TheLoop) { in getAddressAccessSCEV() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DIVDescriptors.cpp186 if (TheLoop->contains(I) && !Visited.count(I)) in collectCastsToIgnore()
201 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar()
338 if (!TheLoop->contains(Parent)) { in AddReductionVar()
611 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI()
667 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence() argument
671 if (Phi->getParent() != TheLoop->getHeader() || in isFirstOrderRecurrence()
677 auto *Preheader = TheLoop->getLoopPreheader(); in isFirstOrderRecurrence()
678 auto *Latch = TheLoop->getLoopLatch(); in isFirstOrderRecurrence()
829 if (TheLoop->getHeader() != Phi->getParent()) in isFPInductionPHI()
866 if (TheLoop->contains(I)) in isFPInductionPHI()
[all …]
H A DLoopAccessAnalysis.cpp506 : DL(Dl), TheLoop(TheLoop), AST(*AA), LI(LI), DepCands(DA), in AccessAnalysis()
583 const Loop *TheLoop; member in __anonc655bbf80111::AccessAnalysis
1723 if (!TheLoop->empty()) { in canAnalyzeLoop()
1730 if (TheLoop->getNumBackEdges() != 1) { in canAnalyzeLoop()
1739 if (!TheLoop->getExitingBlock()) { in canAnalyzeLoop()
1750 if (TheLoop->getExitingBlock() != TheLoop->getLoopLatch()) { in canAnalyzeLoop()
1789 for (BasicBlock *BB : TheLoop->blocks()) { in analyzeLoop()
2022 BasicBlock* Latch = TheLoop->getLoopLatch(); in blockNeedsPredication()
2030 Value *CodeRegion = TheLoop->getHeader(); in recordAnalysis()
2031 DebugLoc DL = TheLoop->getStartLoc(); in recordAnalysis()
[all …]
H A DVectorUtils.cpp722 auto &DL = TheLoop->getHeader()->getModule()->getDataLayout(); in collectConstStrideAccesses()
730 LoopBlocksDFS DFS(TheLoop); in collectConstStrideAccesses()
747 int64_t Stride = getPtrStride(PSE, Ptr, TheLoop, Strides, in collectConstStrideAccesses()
997 if (!getPtrStride(PSE, FirstMemberPtr, TheLoop, Strides, /*Assume=*/false, in analyzeInterleaving()
1008 if (!getPtrStride(PSE, LastMemberPtr, TheLoop, Strides, /*Assume=*/false, in analyzeInterleaving()
H A DLoopInfo.cpp756 MDNode *llvm::findOptionMDForLoop(const Loop *TheLoop, StringRef Name) { in findOptionMDForLoop() argument
757 return findOptionMDForLoopID(TheLoop->getLoopID(), Name); in findOptionMDForLoop()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h46 Loop *TheLoop,
119 hasDisableAllTransformsHint(TheLoop)) in getForce()
165 const Loop *TheLoop; variable
226 : TheLoop(L), LI(LI), PSE(PSE), TLI(TLI), DT(DT), GetLAA(GetLAA), in LoopVectorizationLegality()
397 RemarkName, TheLoop, I);
411 Loop *TheLoop; variable
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp117 static MDNode *createStringMetadata(Loop *TheLoop, StringRef Name, unsigned V) { in createStringMetadata() argument
118 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createStringMetadata()
126 void llvm::addStringMetadataToLoop(Loop *TheLoop, const char *MDString, in addStringMetadataToLoop() argument
130 MDNode *LoopID = TheLoop->getLoopID(); in addStringMetadataToLoop()
138 MDs.push_back(createStringMetadata(TheLoop, MDString, V)); in addStringMetadataToLoop()
140 LLVMContext &Context = TheLoop->getHeader()->getContext(); in addStringMetadataToLoop()
144 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h173 Optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
177 llvm::Optional<int> getOptionalIntLoopAttribute(Loop *TheLoop, StringRef Name);
248 void addStringMetadataToLoop(Loop *TheLoop, const char *MDString,
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp162 bool runOnLoop(Loop *TheLoop, LPPassManager &) override { in runOnLoop() argument
165 L = TheLoop; in runOnLoop()
173 BasicBlock *Header = TheLoop->getHeader(); in runOnLoop()
180 if (Header != TheLoop->getLoopLatch()) { in runOnLoop()
459 static void MatchReductions(Function &F, Loop *TheLoop, BasicBlock *Header, in MatchReductions() argument
464 const BasicBlock *Latch = TheLoop->getLoopLatch(); in MatchReductions()
467 if (!TheLoop->getLoopPreheader()) { in MatchReductions()
480 TheLoop, HasFnNoNaNAttr, RecDesc); in MatchReductions()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DIVDescriptors.h169 static bool AddReductionVar(PHINode *Phi, RecurrenceKind Kind, Loop *TheLoop,
180 static bool isReductionPHI(PHINode *Phi, Loop *TheLoop,
194 isFirstOrderRecurrence(PHINode *Phi, Loop *TheLoop,
H A DVectorUtils.h393 : PSE(PSE), TheLoop(L), DT(DT), LI(LI), LAI(LAI) {} in InterleavedAccessInfo()
455 Loop *TheLoop; variable
531 return LoopAccessInfo::blockNeedsPredication(BB, TheLoop, DT); in isPredicated()
H A DLoopAccessAnalysis.h538 static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop,
637 Loop *TheLoop; variable
H A DLoopInfo.h1007 MDNode *findOptionMDForLoop(const Loop *TheLoop, StringRef Name);
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp195 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop, in findStringMetadataForLoop() argument
197 MDNode *MD = findOptionMDForLoop(TheLoop, Name); in findStringMetadataForLoop()
210 static Optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop, in getOptionalBoolLoopAttribute() argument
212 MDNode *MD = findOptionMDForLoop(TheLoop, Name); in getOptionalBoolLoopAttribute()
228 static bool getBooleanLoopAttribute(const Loop *TheLoop, StringRef Name) { in getBooleanLoopAttribute() argument
229 return getOptionalBoolLoopAttribute(TheLoop, Name).getValueOr(false); in getBooleanLoopAttribute()
232 llvm::Optional<int> llvm::getOptionalIntLoopAttribute(Loop *TheLoop, in getOptionalIntLoopAttribute() argument
235 findStringMetadataForLoop(TheLoop, Name).getValueOr(nullptr); in getOptionalIntLoopAttribute()