/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 51 Loop *TheLoop, in createLVMissedAnalysis() argument 53 Value *CodeRegion = TheLoop->getHeader(); in createLVMissedAnalysis() 54 DebugLoc DL = TheLoop->getStartLoc(); in createLVMissedAnalysis() 88 IsVectorized("isvectorized", 0, HK_ISVECTORIZED), TheLoop(L), ORE(ORE) { in LoopVectorizeHints() 144 TheLoop->getStartLoc(), in emitRemarkWithHints() 145 TheLoop->getHeader()) in emitRemarkWithHints() 149 TheLoop->getStartLoc(), TheLoop->getHeader()); in emitRemarkWithHints() 175 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata() 234 LLVMContext &Context = TheLoop->getHeader()->getContext(); in createHintMetadata() 260 MDNode *LoopID = TheLoop->getLoopID(); in writeHintsToMetadata() [all …]
|
D | VPlanHCFGBuilder.cpp | 38 Loop *TheLoop; member in __anon559667db0111::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()
|
D | VPlanHCFGBuilder.h | 43 Loop *TheLoop; 65 : TheLoop(Lp), LI(LI), Plan(P) {} in VPlanHCFGBuilder()
|
D | LoopVectorize.cpp | 957 : PSE(PSE), TheLoop(L), DT(DT), LI(LI), LAI(LAI) {} in InterleavedAccessInfo() 997 Loop *TheLoop; member in __anon81bb76300211::InterleavedAccessInfo 1071 return LoopAccessInfo::blockNeedsPredication(BB, TheLoop, DT); in isPredicated() 1182 : TheLoop(L), PSE(PSE), LI(LI), Legal(Legal), TTI(TTI), TLI(TLI), DB(DB), in LoopVectorizationCostModel() 1503 RemarkName, TheLoop); in createMissedAnalysis() 1573 Loop *TheLoop; member in llvm::LoopVectorizationCostModel 4201 !TheLoop->isLoopInvariant(V); in collectLoopScalars() 4246 for (auto *BB : TheLoop->blocks()) in collectLoopScalars() 4266 auto *Latch = TheLoop->getLoopLatch(); in collectLoopScalars() 4298 return !TheLoop->contains(J) || Worklist.count(J) || in collectLoopScalars() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 162 static void collectCastsToIgnore(Loop *TheLoop, Instruction *Exit, in collectCastsToIgnore() argument 186 if (TheLoop->contains(I) && !Visited.count(I)) in collectCastsToIgnore() 192 Loop *TheLoop, bool HasFunNoNaNAttr, in AddReductionVar() argument 201 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar() 206 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar() 330 if (!TheLoop->contains(Parent)) { in AddReductionVar() 425 collectCastsToIgnore(TheLoop, ExitInstruction, RecurrenceType, CastInsts); in AddReductionVar() 546 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() argument 551 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI() 556 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes, DB, in isReductionPHI() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 503 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 __anon133dab560111::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 …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopVersioningLICM.cpp | 117 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/ |
D | LoopVectorizationLegality.h | 46 Loop *TheLoop, 159 const Loop *TheLoop; variable 220 : TheLoop(L), LI(LI), PSE(PSE), TLI(TLI), DT(DT), GetLAA(GetLAA), in LoopVectorizationLegality() 382 RemarkName, TheLoop, I); 396 Loop *TheLoop; variable
|
/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 __anon0b4224d80111::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 __anon0b4224d80111::LoopVectorizeHints [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 151 bool runOnLoop(Loop *TheLoop, LPPassManager &) override { in runOnLoop() argument 152 L = TheLoop; in runOnLoop() 160 BasicBlock *Header = TheLoop->getHeader(); in runOnLoop() 167 if (Header != TheLoop->getLoopLatch()) { in runOnLoop() 408 static void MatchReductions(Function &F, Loop *TheLoop, BasicBlock *Header, in MatchReductions() argument 413 const BasicBlock *Latch = TheLoop->getLoopLatch(); in MatchReductions() 416 if (!TheLoop->getLoopPreheader()) { in MatchReductions() 429 TheLoop, HasFnNoNaNAttr, RecDesc); in MatchReductions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 169 static bool AddReductionVar(PHINode *Phi, RecurrenceKind Kind, Loop *TheLoop, 180 static bool isReductionPHI(PHINode *Phi, Loop *TheLoop, 194 isFirstOrderRecurrence(PHINode *Phi, Loop *TheLoop, 481 Optional<const MDOperand *> findStringMetadataForLoop(Loop *TheLoop, 485 void addStringMetadataToLoop(Loop *TheLoop, const char *MDString,
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 514 static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop, 614 Loop *TheLoop; variable
|