/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 339 uint64_t BackedgeCount = CurrentCount; in VisitWhileStmt() local 347 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt() 363 uint64_t BackedgeCount = CurrentCount; in VisitDoStmt() local 368 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt() 388 uint64_t BackedgeCount = CurrentCount; in VisitForStmt() local 394 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitForStmt() 401 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt() 424 uint64_t BackedgeCount = CurrentCount; in VisitCXXForRangeStmt() local 429 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt() 435 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt() [all …]
|
D | CoverageMappingGen.cpp | 673 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() local 678 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitWhileStmt() 696 Counter BackedgeCount = in VisitDoStmt() local 700 Counter CondCount = addCounters(BackedgeCount, BC.ContinueCount); in VisitDoStmt() 720 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt() local 726 propagateCounts(addCounters(BackedgeCount, BC.ContinueCount), Inc); in VisitForStmt() 730 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitForStmt() 752 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitCXXForRangeStmt() local 756 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitCXXForRangeStmt() 772 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitObjCForCollectionStmt() local [all …]
|
D | CGStmt.cpp | 788 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() local 791 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); in EmitDoStmt()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 482 uint64_t BackedgeCount = CurrentCount; in VisitWhileStmt() local 490 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitWhileStmt() 506 uint64_t BackedgeCount = CurrentCount; in VisitDoStmt() local 511 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount); in VisitDoStmt() 531 uint64_t BackedgeCount = CurrentCount; in VisitForStmt() local 537 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitForStmt() 544 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitForStmt() 569 uint64_t BackedgeCount = CurrentCount; in VisitCXXForRangeStmt() local 574 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt() 580 setCount(ParentCount + BackedgeCount + BC.ContinueCount); in VisitCXXForRangeStmt() [all …]
|
D | CoverageMappingGen.cpp | 1055 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() local 1060 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitWhileStmt() 1083 Counter BackedgeCount = in VisitDoStmt() local 1087 Counter CondCount = addCounters(BackedgeCount, BC.ContinueCount); in VisitDoStmt() 1111 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt() local 1118 propagateCounts(addCounters(BackedgeCount, BodyBC.ContinueCount), Inc); in VisitForStmt() 1124 addCounters(ParentCount, BackedgeCount, BodyBC.ContinueCount), in VisitForStmt() 1155 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitCXXForRangeStmt() local 1165 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitCXXForRangeStmt() 1181 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitObjCForCollectionStmt() local [all …]
|
D | CGStmt.cpp | 912 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() local 915 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); in EmitDoStmt()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1800 const SCEV *BackedgeCount;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 2056 const SCEV *BackedgeCount = nullptr;
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 2204 const SCEV *BackedgeCount = nullptr;
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 10339 : SE(SE), L(L), Generation(0), BackedgeCount(nullptr) {} in PredicatedScalarEvolution() 10361 if (!BackedgeCount) { in getBackedgeTakenCount() 10363 BackedgeCount = SE.getPredicatedBackedgeTakenCount(&L, BackedgePred); in getBackedgeTakenCount() 10366 return BackedgeCount; in getBackedgeTakenCount() 10437 Generation(Init.Generation), BackedgeCount(Init.BackedgeCount) { in PredicatedScalarEvolution()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 12471 if (!BackedgeCount) { in getBackedgeTakenCount() 12473 BackedgeCount = SE.getPredicatedBackedgeTakenCount(&L, BackedgePred); in getBackedgeTakenCount() 12476 return BackedgeCount; in getBackedgeTakenCount() 12551 Generation(Init.Generation), BackedgeCount(Init.BackedgeCount) { in PredicatedScalarEvolution()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 13014 if (!BackedgeCount) { in getBackedgeTakenCount() 13016 BackedgeCount = SE.getPredicatedBackedgeTakenCount(&L, BackedgePred); in getBackedgeTakenCount() 13019 return BackedgeCount; in getBackedgeTakenCount() 13094 Generation(Init.Generation), BackedgeCount(Init.BackedgeCount) { in PredicatedScalarEvolution()
|