Home
last modified time | relevance | path

Searched refs:ParentCount (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp667 Counter ParentCount = getRegion().getCounter(); in VisitWhileStmt() local
678 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitWhileStmt()
684 if (OutCount != ParentCount) in VisitWhileStmt()
691 Counter ParentCount = getRegion().getCounter(); in VisitDoStmt() local
697 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
705 if (OutCount != ParentCount) in VisitDoStmt()
714 Counter ParentCount = getRegion().getCounter(); in VisitForStmt() local
730 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitForStmt()
738 if (OutCount != ParentCount) in VisitForStmt()
747 Counter ParentCount = getRegion().getCounter(); in VisitCXXForRangeStmt() local
[all …]
DCodeGenPGO.cpp331 uint64_t ParentCount = CurrentCount; in VisitWhileStmt() local
347 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt()
380 uint64_t ParentCount = CurrentCount; in VisitForStmt() local
401 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt()
417 uint64_t ParentCount = CurrentCount; in VisitCXXForRangeStmt() local
435 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
445 uint64_t ParentCount = CurrentCount; in VisitObjCForCollectionStmt() local
454 setCount(BC.BreakCount + ParentCount + BackedgeCount + BC.ContinueCount - in VisitObjCForCollectionStmt()
490 uint64_t ParentCount = CurrentCount; in VisitIfStmt() local
500 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt()
[all …]
DCGStmt.cpp750 uint64_t ParentCount = getCurrentProfileCount(); in EmitDoStmt() local
788 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp474 uint64_t ParentCount = CurrentCount; in VisitWhileStmt() local
490 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt()
523 uint64_t ParentCount = CurrentCount; in VisitForStmt() local
544 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt()
562 uint64_t ParentCount = CurrentCount; in VisitCXXForRangeStmt() local
580 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt()
590 uint64_t ParentCount = CurrentCount; in VisitObjCForCollectionStmt() local
599 setCount(BC.BreakCount + ParentCount + BackedgeCount + BC.ContinueCount - in VisitObjCForCollectionStmt()
637 uint64_t ParentCount = CurrentCount; in VisitIfStmt() local
649 uint64_t ElseCount = ParentCount - ThenCount; in VisitIfStmt()
[all …]
DCoverageMappingGen.cpp1049 Counter ParentCount = getRegion().getCounter(); in VisitWhileStmt() local
1060 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitWhileStmt()
1071 if (OutCount != ParentCount) in VisitWhileStmt()
1078 Counter ParentCount = getRegion().getCounter(); in VisitDoStmt() local
1084 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
1092 if (OutCount != ParentCount) in VisitDoStmt()
1101 Counter ParentCount = getRegion().getCounter(); in VisitForStmt() local
1124 addCounters(ParentCount, BackedgeCount, BodyBC.ContinueCount), in VisitForStmt()
1139 if (OutCount != ParentCount) in VisitForStmt()
1150 Counter ParentCount = getRegion().getCounter(); in VisitCXXForRangeStmt() local
[all …]
DCGStmt.cpp867 uint64_t ParentCount = getCurrentProfileCount(); in EmitDoStmt() local
912 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTest.cpp40 generateAllForests(ArrayRef<const Node *> Children, unsigned ParentCount) { in generateAllForests() argument
41 assert(ParentCount > 0); in generateAllForests()
44 if (ParentCount == 1) in generateAllForests()
55 ParentCount - 1)) { in generateAllForests()