Home
last modified time | relevance | path

Searched refs:CurrentCount (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp371 uint64_t CurrentCount; member
390 CountMap[S] = CurrentCount; in RecordStmtCount()
397 CurrentCount = Count; in setCount()
445 CurrentCount = 0; in VisitReturnStmt()
453 CurrentCount = 0; in VisitCXXThrowExpr()
459 CurrentCount = 0; in VisitGotoStmt()
475 CurrentCount = 0; in VisitBreakStmt()
483 CurrentCount = 0; in VisitContinueStmt()
624 CurrentCount = 0; in VisitSwitchStmt()
677 OutCount += CurrentCount; in VisitIfStmt()
[all …]
H A DCodeGenFunction.cpp1250 uint64_t CurrentCount = getCurrentProfileCount(); in EmitBlockWithFallThrough() local
1252 setCurrentProfileCount(getCurrentProfileCount() + CurrentCount); in EmitBlockWithFallThrough()
1885 uint64_t CurrentCount = std::max(getCurrentProfileCount(), TrueCount); in EmitBranchOnBoolExpr() local
1886 Weights = createProfileWeights(TrueCount, CurrentCount - TrueCount); in EmitBranchOnBoolExpr()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPostRASchedulerList.cpp332 unsigned Count = MBB.size(), CurrentCount = Count; in runOnMachineFunction() local
340 Scheduler.enterRegion(&MBB, I, Current, CurrentCount - Count); in runOnMachineFunction()
341 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction()
346 CurrentCount = Count; in runOnMachineFunction()
347 Scheduler.Observe(MI, CurrentCount); in runOnMachineFunction()
354 assert((MBB.begin() == Current || CurrentCount != 0) && in runOnMachineFunction()
356 Scheduler.enterRegion(&MBB, MBB.begin(), Current, CurrentCount); in runOnMachineFunction()
357 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction()