Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DSnippetRepetitor.cpp73 const APInt LoopCount( in Repeat() local
76 assert(LoopCount.uge(1) && "Trip count should be at least 1."); in Repeat()
78 ET.setRegTo(State.getSubtargetInfo(), LoopCounter, LoopCount)) in Repeat()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DProgramTest.cpp228 unsigned LoopCount = 0; in TEST_F() local
233 ++LoopCount; in TEST_F()
240 EXPECT_EQ(LoopCount, 1u) << "LoopCount should be 1"; in TEST_F()
250 ++LoopCount; in TEST_F()
257 ASSERT_GT(LoopCount, 1u) << "LoopCount should be >1"; in TEST_F()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DLoopInversionPass.cpp58 const uint64_t LoopCount = SuccBB->getBranchInfo(*BB).Count; in runOnFunction() local
61 if (LoopCount < ExitCount) { in runOnFunction()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp514 uint64_t LoopCount = PGO.getRegionCount(S); in VisitDoStmt() local
518 uint64_t BodyCount = setCount(LoopCount + CurrentCount); in VisitDoStmt()
529 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
1114 uint64_t LoopCount) const { in createProfileWeightsForLoop()
1120 return createProfileWeights(LoopCount, in createProfileWeightsForLoop()
1121 std::max(*CondCount, LoopCount) - LoopCount); in createProfileWeightsForLoop()
H A DCoverageMappingGen.cpp1233 Counter LoopCount = in VisitCXXForRangeStmt() local
1236 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1246 subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1266 Counter LoopCount = in VisitObjCForCollectionStmt() local
1269 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitObjCForCollectionStmt()
H A DCodeGenFunction.h1523 uint64_t LoopCount) const;
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetectionDiagnostic.cpp480 ReportLoopBound::ReportLoopBound(Loop *L, const SCEV *LoopCount) in ReportLoopBound() argument
481 : RejectReason(RejectReasonKind::LoopBound), L(L), LoopCount(LoopCount), in ReportLoopBound()
489 return "Non affine loop bound '" + *LoopCount + in getMessage()
H A DScopDetection.cpp1352 const SCEV *LoopCount = SE.getBackedgeTakenCount(L); in isValidLoop() local
1353 return invalid<ReportLoopBound>(Context, /*Assert=*/true, L, LoopCount); in isValidLoop()
/llvm-project-15.0.7/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-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp5414 MachineInstr *Loop, *EndLoop, *LoopCount; member in __anondb7155640c11::PPCPipelinerLoopInfo
5421 MachineInstr *LoopCount) in PPCPipelinerLoopInfo() argument
5422 : Loop(Loop), EndLoop(EndLoop), LoopCount(LoopCount), in PPCPipelinerLoopInfo()
5427 if (LoopCount->getOpcode() == PPC::LI8 || LoopCount->getOpcode() == PPC::LI) in PPCPipelinerLoopInfo()
5428 TripCount = LoopCount->getOperand(1).getImm(); in PPCPipelinerLoopInfo()
5462 if (LoopCount->getOpcode() == PPC::LI8 || in adjustTripCount()
5463 LoopCount->getOpcode() == PPC::LI) { in adjustTripCount()
5464 int64_t TripCount = LoopCount->getOperand(1).getImm() + TripCountAdjust; in adjustTripCount()
5465 LoopCount->getOperand(1).setImm(TripCount); in adjustTripCount()
5476 LoopCount->eraseFromParent(); in disposed()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp731 Register LoopCount; member in __anon1386be150111::HexagonPipelinerLoopInfo
745 LoopCount = Loop->getOperand(1).getReg(); in HexagonPipelinerLoopInfo()
761 .addReg(LoopCount) in createTripCountGreaterCondition()
789 Register LoopCount = Loop->getOperand(1).getReg(); in adjustTripCount() local
793 .addReg(LoopCount) in adjustTripCount()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp6755 MachineInstr *EndLoop, *LoopCount; member in __anona6c080bc0a11::ARMPipelinerLoopInfo
6767 ARMPipelinerLoopInfo(MachineInstr *EndLoop, MachineInstr *LoopCount) in ARMPipelinerLoopInfo() argument
6768 : EndLoop(EndLoop), LoopCount(LoopCount), in ARMPipelinerLoopInfo()
6774 return MI == EndLoop || MI == LoopCount; in shouldIgnoreForPipelining()