Home
last modified time | relevance | path

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

/llvm-project/llvm/unittests/Support/
H A DProgramTest.cpp229 unsigned LoopCount = 0; in TEST_F() local
234 ++LoopCount; in TEST_F()
242 EXPECT_EQ(LoopCount, 1u) << "LoopCount should be 1"; in TEST_F()
253 ++LoopCount; in TEST_F()
260 ASSERT_GT(LoopCount, 1u) << "LoopCount should be >1"; in TEST_F()
403 unsigned LoopCount = 0; in TEST_F() local
406 ++LoopCount; in TEST_F()
413 ASSERT_GT(LoopCount, 1u) << "LoopCount should be >1"; in TEST_F()
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DSnippetRepetitor.cpp88 const APInt LoopCount( in Repeat() local
91 assert(LoopCount.uge(1) && "Trip count should be at least 1."); in Repeat()
93 ET.setRegTo(State.getSubtargetInfo(), LoopCounter, LoopCount)) in Repeat()
/llvm-project/bolt/lib/Passes/
H A DLoopInversionPass.cpp59 const uint64_t LoopCount = SuccBB->getBranchInfo(*BB).Count; in runOnFunction() local
62 if (LoopCount < ExitCount) { in runOnFunction()
/llvm-project/polly/lib/Analysis/
H A DScopDetectionDiagnostic.cpp479 ReportLoopBound::ReportLoopBound(Loop *L, const SCEV *LoopCount)
480 : RejectReason(RejectReasonKind::LoopBound), L(L), LoopCount(LoopCount), in ReportLoopBound() argument
488 return "Non affine loop bound '" + *LoopCount + in getMessage()
H A DScopDetection.cpp1361 const SCEV *LoopCount = SE.getBackedgeTakenCount(L); in isValidLoop()
1362 return invalid<ReportLoopBound>(Context, /*Assert=*/true, L, LoopCount);
1359 const SCEV *LoopCount = SE.getBackedgeTakenCount(L); isValidLoop() local
/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp730 uint64_t LoopCount = PGO.getRegionCount(S);
734 uint64_t BodyCount = setCount(LoopCount + CurrentCount); in VisitDoStmt()
745 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
1503 uint64_t LoopCount) const {
1509 return createProfileWeights(LoopCount,
1510 std::max(*CondCount, LoopCount) - LoopCount);
733 uint64_t LoopCount = PGO.getRegionCount(S); VisitDoStmt() local
H A DCoverageMappingGen.cpp1806 Counter LoopCount = in VisitObjCForCollectionStmt()
1808 auto BranchCount = getBranchCounterPair(S, LoopCount, getRegionCounter(S)); in VisitObjCForCollectionStmt()
1845 Counter LoopCount = in VisitSwitchStmt()
1847 auto BranchCount = getBranchCounterPair(S, LoopCount); in VisitSwitchStmt()
1765 Counter LoopCount; VisitCXXForRangeStmt() local
1803 Counter LoopCount = VisitObjCForCollectionStmt() local
H A DCodeGenFunction.h1639 uint64_t LoopCount) const;
/llvm-project/polly/include/polly/
H A DScopDetectionDiagnostic.h562 const SCEV *LoopCount; variable
568 ReportLoopBound(Loop *L, const SCEV *LoopCount);
570 const SCEV *loopCount() { return LoopCount; } in loopCount()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp5637 MachineInstr *Loop, *EndLoop, *LoopCount;
5644 MachineInstr *LoopCount)
5645 : Loop(Loop), EndLoop(EndLoop), LoopCount(LoopCount),
5650 if (LoopCount->getOpcode() == PPC::LI8 || LoopCount->getOpcode() == PPC::LI)
5651 TripCount = LoopCount->getOperand(1).getImm();
5685 if (LoopCount->getOpcode() == PPC::LI8 ||
5686 LoopCount->getOpcode() == PPC::LI) {
5687 int64_t TripCount = LoopCount
5423 MachineInstr *Loop, *EndLoop, *LoopCount; global() member in __anon0ae814870a11::PPCPipelinerLoopInfo
5430 PPCPipelinerLoopInfo(MachineInstr * Loop,MachineInstr * EndLoop,MachineInstr * LoopCount) PPCPipelinerLoopInfo() argument
5504 MachineInstr *LoopCount = MRI.getUniqueVRegDef(LoopCountReg); analyzeLoopForPipelining() local
[all...]
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp732 Register LoopCount;
746 LoopCount = Loop->getOperand(1).getReg(); in HexagonPipelinerLoopInfo()
762 .addReg(LoopCount) in createTripCountGreaterCondition()
790 Register LoopCount = Loop->getOperand(1).getReg(); in adjustTripCount()
794 .addReg(LoopCount) in adjustTripCount()
734 Register LoopCount; global() member in __anon90be56b80111::HexagonPipelinerLoopInfo
792 Register LoopCount = Loop->getOperand(1).getReg(); adjustTripCount() local
/llvm-project/flang/examples/FeatureList/
H A DFeatureList.cpp186 READ_FEATURE(CompilerDirective::LoopCount) in READ_FEATURE_CUST()
/llvm-project/flang/include/flang/Parser/
H A Dparse-tree.h3359 struct LoopCount {
3360 WRAPPER_CLASS_BOILERPLATE(LoopCount, std::list<std::uint64_t>);
3376 std::variant<std::list<IgnoreTKR>, LoopCount, std::list<AssumeAligned>,
3333 struct LoopCount { global() struct
H A Ddump-parse-tree.h207 NODE(CompilerDirective, LoopCount) in NODE()
/llvm-project/flang/lib/Parser/
H A DFortran-parsers.cpp1302 "LOOP COUNT" >> construct<CompilerDirective::LoopCount>(
H A Dunparse.cpp1836 [&](const CompilerDirective::LoopCount &lcount) { in Unparse()
/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp6776 MachineInstr *EndLoop, *LoopCount;
6796 // LoopCount = CC setter live into branch in createTripCountGreaterCondition()
6799 // LoopCount = t2LoopDec in createTripCountGreaterCondition()
6801 ARMPipelinerLoopInfo(MachineInstr *EndLoop, MachineInstr *LoopCount) in createTripCountGreaterCondition()
6802 : EndLoop(EndLoop), LoopCount(LoopCount), in createTripCountGreaterCondition()
6808 return MI == EndLoop || MI == LoopCount; in createTripCountGreaterCondition()
6754 MachineInstr *EndLoop, *LoopCount; global() member in __anond6373fdf0a11::ARMPipelinerLoopInfo
6779 ARMPipelinerLoopInfo(MachineInstr * EndLoop,MachineInstr * LoopCount) ARMPipelinerLoopInfo() argument