Home
last modified time | relevance | path

Searched refs:NumGuards (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/libfuzzer-sys/libfuzzer/dataflow/
DDataFlowCallbacks.cpp37 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()
DDataFlow.cpp99 for (size_t I = 0; I < __dft.NumGuards; I++) { in PrintFunctions()
141 for (size_t FuncBeg = 0; FuncBeg < __dft.NumGuards;) { in PrintCoverage()
145 for (; FuncEnd < __dft.NumGuards && !BlockIsEntry(FuncEnd); FuncEnd++) in PrintCoverage()
DDataFlow.h20 size_t NumFuncs, NumGuards; member
/external/llvm-project/compiler-rt/lib/fuzzer/dataflow/
DDataFlowCallbacks.cpp37 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()
DDataFlow.cpp99 for (size_t I = 0; I < __dft.NumGuards; I++) { in PrintFunctions()
141 for (size_t FuncBeg = 0; FuncBeg < __dft.NumGuards;) { in PrintCoverage()
145 for (; FuncEnd < __dft.NumGuards && !BlockIsEntry(FuncEnd); FuncEnd++) in PrintCoverage()
DDataFlow.h20 size_t NumFuncs, NumGuards; member
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1366 int NumGuards = GuardBlocks.size(); in CreateControlFlowHub() local
1367 assert((int)Outgoing.size() == NumGuards + 1); in CreateControlFlowHub()
1368 for (int i = 0; i != NumGuards - 1; ++i) { in CreateControlFlowHub()
1373 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
1374 Outgoing[NumGuards - 1]}); in CreateControlFlowHub()
1375 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
1376 Outgoing[NumGuards]}); in CreateControlFlowHub()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp68 STATISTIC(NumGuards, "Number of guards unswitched");
573 ++NumGuards; in processCurrentLoop()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp90 STATISTIC(NumGuards, "Number of guards unswitched");
712 ++NumGuards; in processCurrentLoop()
DSimpleLoopUnswitch.cpp68 STATISTIC(NumGuards, "Number of guards turned into branches for unswitching");
2510 ++NumGuards; in turnGuardIntoBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp89 STATISTIC(NumGuards, "Number of guards unswitched");
707 ++NumGuards; in processCurrentLoop()
DSimpleLoopUnswitch.cpp66 STATISTIC(NumGuards, "Number of guards turned into branches for unswitching");
2451 ++NumGuards; in turnGuardIntoBranch()