Searched refs:NumGuards (Results 1 – 5 of 5) sorted by relevance
37 if (__dft.NumGuards) return; // Initialize only once. in __sanitizer_cov_pcs_init()38 __dft.NumGuards = GuardsEnd - GuardsBeg; in __sanitizer_cov_pcs_init()41 assert(__dft.NumGuards == (__dft.PCsEnd - __dft.PCsBeg) / 2); in __sanitizer_cov_pcs_init()42 for (size_t i = 0; i < __dft.NumGuards; i++) { in __sanitizer_cov_pcs_init()48 __dft.BBExecuted = (bool*)calloc(__dft.NumGuards, sizeof(bool)); in __sanitizer_cov_pcs_init()50 "and %zd basic blocks\n", __dft.NumFuncs, __dft.NumGuards); in __sanitizer_cov_pcs_init()
97 for (size_t I = 0; I < __dft.NumGuards; I++) { in PrintFunctions()139 for (size_t FuncBeg = 0; FuncBeg < __dft.NumGuards;) { in PrintCoverage()143 for (; FuncEnd < __dft.NumGuards && !BlockIsEntry(FuncEnd); FuncEnd++) in PrintCoverage()
20 size_t NumFuncs, NumGuards; member
1798 int NumGuards = GuardBlocks.size(); in CreateControlFlowHub() local1799 assert((int)Outgoing.size() == NumGuards + 1); in CreateControlFlowHub()1800 for (int i = 0; i != NumGuards - 1; ++i) { in CreateControlFlowHub()1805 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()1806 Outgoing[NumGuards - 1]}); in CreateControlFlowHub()1807 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()1808 Outgoing[NumGuards]}); in CreateControlFlowHub()
73 STATISTIC(NumGuards, "Number of guards turned into branches for unswitching");2636 ++NumGuards; in turnGuardIntoBranch()