| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | SnippetRepetitor.cpp | 73 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 D | ProgramTest.cpp | 228 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 D | LoopInversionPass.cpp | 58 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 D | CodeGenPGO.cpp | 514 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 D | CoverageMappingGen.cpp | 1233 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 D | CodeGenFunction.h | 1523 uint64_t LoopCount) const;
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetectionDiagnostic.cpp | 480 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 D | ScopDetection.cpp | 1352 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 D | ScopDetectionDiagnostic.h | 562 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 D | PPCInstrInfo.cpp | 5414 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 D | HexagonInstrInfo.cpp | 731 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 D | ARMBaseInstrInfo.cpp | 6755 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()
|