Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp75 Predicate("vectorize.predicate.enable", FK_Undefined, HK_PREDICATE), TheLoop(L), in LoopVectorizeHints()
94 LLVMContext &Context = TheLoop->getHeader()->getContext(); in setAlreadyVectorized()
100 MDNode *LoopID = TheLoop->getLoopID(); in setAlreadyVectorized()
106 TheLoop->setLoopID(NewLoopID); in setAlreadyVectorized()
151 TheLoop->getStartLoc(), in emitRemarkWithHints()
152 TheLoop->getHeader()) in emitRemarkWithHints()
156 TheLoop->getStartLoc(), TheLoop->getHeader()); in emitRemarkWithHints()
182 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata()
391 static bool hasOutsideLoopUser(const Loop *TheLoop, Instruction *Inst, in hasOutsideLoopUser() argument
400 if (!TheLoop->contains(UI)) { in hasOutsideLoopUser()
[all …]
DVPlanHCFGBuilder.cpp37 Loop *TheLoop; member in __anon322a60c20111::PlainCFGBuilder
74 : TheLoop(Lp), LI(LI), Plan(P) {} in PlainCFGBuilder()
141 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef()
149 BasicBlock *Exit = TheLoop->getUniqueExitBlock(); in isExternalDef()
157 return !TheLoop->contains(Inst); in isExternalDef()
252 BasicBlock *PreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
258 VPBlockBase *HeaderVPBB = getOrCreateVPBB(TheLoop->getHeader()); in buildPlainCFG()
262 LoopBlocksRPO RPO(TheLoop); in buildPlainCFG()
310 BasicBlock *LoopExitBB = TheLoop->getUniqueExitBlock(); in buildPlainCFG()
331 PlainCFGBuilder PCFGBuilder(TheLoop, LI, Plan); in buildPlainCFG()
DVPlanHCFGBuilder.h42 Loop *TheLoop;
64 : TheLoop(Lp), LI(LI), Plan(P) {} in VPlanHCFGBuilder()
DLoopVectorize.cpp862 StringRef RemarkName, Loop *TheLoop, Instruction *I) { in createLVAnalysis() argument
863 Value *CodeRegion = TheLoop->getHeader(); in createLVAnalysis()
864 DebugLoc DL = TheLoop->getStartLoc(); in createLVAnalysis()
883 OptimizationRemarkEmitter *ORE, Loop *TheLoop, Instruction *I) { in reportVectorizationFailure() argument
885 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); in reportVectorizationFailure()
887 ORETag, TheLoop, I) << OREMsg); in reportVectorizationFailure()
971 : ScalarEpilogueStatus(SEL), TheLoop(L), PSE(PSE), LI(LI), Legal(Legal), in LoopVectorizationCostModel()
1457 if (VF == 1 || !I || !TheLoop->contains(I) || TheLoop->isLoopInvariant(I)) in needsExtract()
1479 Loop *TheLoop; member in llvm::LoopVectorizationCostModel
4450 !TheLoop->isLoopInvariant(V); in collectLoopScalars()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp160 static void collectCastsToIgnore(Loop *TheLoop, Instruction *Exit, in collectCastsToIgnore() argument
184 if (TheLoop->contains(I) && !Visited.count(I)) in collectCastsToIgnore()
190 Loop *TheLoop, bool HasFunNoNaNAttr, in AddReductionVar() argument
199 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar()
204 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar()
343 if (!TheLoop->contains(Parent)) { in AddReductionVar()
439 collectCastsToIgnore(TheLoop, ExitInstruction, RecurrenceType, CastInsts); in AddReductionVar()
610 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() argument
615 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI()
620 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI()
[all …]
DLoopAccessAnalysis.cpp503 AccessAnalysis(const DataLayout &Dl, Loop *TheLoop, AliasAnalysis *AA, in AccessAnalysis() argument
506 : DL(Dl), TheLoop(TheLoop), AST(*AA), LI(LI), DepCands(DA), in AccessAnalysis()
536 Loop *TheLoop, unsigned &RunningDepId,
546 Loop *TheLoop, const ValueToValueMap &Strides,
583 const Loop *TheLoop; member in __anon044f077d0111::AccessAnalysis
658 Loop *TheLoop, unsigned &RunningDepId, in createCheckForAccess() argument
663 if (!hasComputableBounds(PSE, StridesMap, Ptr, TheLoop, Assume)) in createCheckForAccess()
668 if (ShouldCheckWrap && !isNoWrap(PSE, StridesMap, Ptr, TheLoop)) { in createCheckForAccess()
689 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE); in createCheckForAccess()
696 ScalarEvolution *SE, Loop *TheLoop, in canCheckPtrAtRT() argument
[all …]
DVectorUtils.cpp807 auto &DL = TheLoop->getHeader()->getModule()->getDataLayout(); in collectConstStrideAccesses()
815 LoopBlocksDFS DFS(TheLoop); in collectConstStrideAccesses()
832 int64_t Stride = getPtrStride(PSE, Ptr, TheLoop, Strides, in collectConstStrideAccesses()
1086 if (!getPtrStride(PSE, FirstMemberPtr, TheLoop, Strides, /*Assume=*/false, in analyzeInterleaving()
1097 if (!getPtrStride(PSE, LastMemberPtr, TheLoop, Strides, /*Assume=*/false, in analyzeInterleaving()
DLoopInfo.cpp1003 MDNode *llvm::findOptionMDForLoop(const Loop *TheLoop, StringRef Name) { in findOptionMDForLoop() argument
1004 return findOptionMDForLoopID(TheLoop->getLoopID(), Name); in findOptionMDForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp200 static MDNode *createStringMetadata(Loop *TheLoop, StringRef Name, unsigned V) { in createStringMetadata() argument
201 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createStringMetadata()
211 void llvm::addStringMetadataToLoop(Loop *TheLoop, const char *StringMD, in addStringMetadataToLoop() argument
215 MDNode *LoopID = TheLoop->getLoopID(); in addStringMetadataToLoop()
237 MDs.push_back(createStringMetadata(TheLoop, StringMD, V)); in addStringMetadataToLoop()
239 LLVMContext &Context = TheLoop->getHeader()->getContext(); in addStringMetadataToLoop()
243 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
251 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop, in findStringMetadataForLoop() argument
253 MDNode *MD = findOptionMDForLoop(TheLoop, Name); in findStringMetadataForLoop()
266 static Optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop, in getOptionalBoolLoopAttribute() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h107 hasDisableAllTransformsHint(TheLoop)) in getForce()
144 const Loop *TheLoop; variable
206 : TheLoop(L), LI(LI), PSE(PSE), TTI(TTI), TLI(TLI), DT(DT), in LoopVectorizationLegality()
386 Loop *TheLoop; variable
DLoopVectorize.h165 OptimizationRemarkEmitter *ORE, Loop *TheLoop, Instruction *I = nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h181 Optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
185 llvm::Optional<int> getOptionalIntLoopAttribute(Loop *TheLoop, StringRef Name);
261 void addStringMetadataToLoop(Loop *TheLoop, const char *MDString,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIVDescriptors.h170 static bool AddReductionVar(PHINode *Phi, RecurrenceKind Kind, Loop *TheLoop,
181 static bool isReductionPHI(PHINode *Phi, Loop *TheLoop,
195 isFirstOrderRecurrence(PHINode *Phi, Loop *TheLoop,
DVectorUtils.h565 : PSE(PSE), TheLoop(L), DT(DT), LI(LI), LAI(LAI) {} in InterleavedAccessInfo()
624 Loop *TheLoop; variable
700 return LoopAccessInfo::blockNeedsPredication(BB, TheLoop, DT); in isPredicated()
DLoopAccessAnalysis.h542 static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop,
641 Loop *TheLoop; variable
DLoopInfo.h1254 MDNode *findOptionMDForLoop(const Loop *TheLoop, StringRef Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp114 OptimizationRemarkEmitter *ORE, Loop *TheLoop, Instruction *I = nullptr) { in reportHWLoopFailure() argument
116 ORE->emit(createHWLoopAnalysis(ORETag, TheLoop, I) << Msg); in reportHWLoopFailure()