| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | complexity.cc | 29 BigOFunc* FittingCurve(BigO complexity) { in FittingCurve() argument 31 switch (complexity) { in FittingCurve() 55 switch (complexity) { in GetBigOString() 99 result.complexity = oLambda; in MinimalLeastSq() 130 BM_CHECK_NE(complexity, oNone); in MinimalLeastSq() 134 if (complexity == oAuto) { in MinimalLeastSq() 139 best_fit.complexity = o1; in MinimalLeastSq() 146 best_fit.complexity = fit; in MinimalLeastSq() 151 best_fit.complexity = complexity; in MinimalLeastSq() 209 big_o.complexity = result_cpu.complexity; in ComputeBigO() [all …]
|
| H A D | complexity.h | 43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq() 47 BigO complexity; member 51 std::string GetBigOString(BigO complexity);
|
| H A D | benchmark_register.cc | 405 Benchmark* Benchmark::Complexity(BigO complexity) { in Complexity() argument 406 complexity_ = complexity; in Complexity() 410 Benchmark* Benchmark::Complexity(BigOFunc* complexity) { in Complexity() argument 411 complexity_lambda_ = complexity; in Complexity()
|
| H A D | benchmark_api_internal.h | 34 BigO complexity() const { return complexity_; } in complexity() function
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | function-cognitive-complexity.rst | 1 .. title:: clang-tidy - readability-function-cognitive-complexity 3 readability-function-cognitive-complexity 22 If set to `true`, then for each function exceeding the complexity threshold 24 `if` statement, etc.) which contributes to that complexity. See also the 30 any macro arguments are ignored, even if they should count to the complexity. 155 increase to the complexity of the function and the current nesting level.
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | smin-icmp.ll | 44 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 59 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 100 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 115 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 156 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 171 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 212 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 227 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 264 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 277 %x = add i32 %a, 3 ; thwart complexity-based canonicalization [all …]
|
| H A D | fadd.ll | 41 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 73 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 90 %y = frem double -42.0, %py ; thwart complexity-based canonicalization 91 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 107 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 139 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 156 %y = frem double 41.0, %py ; thwart complexity-based canonicalization 157 %z = frem double 42.0, %pz ; thwart complexity-based canonicalization 175 %z = frem float 42.0, %pz ; thwart complexity-based canonicalization 196 %z = frem float 42.0, %pz ; thwart complexity-based canonicalization [all …]
|
| H A D | smax-icmp.ll | 45 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 60 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 101 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 116 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 157 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 172 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 213 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 228 %x = add i32 %a, 3 ; thwart complexity-based canonicalization
|
| H A D | umin-icmp.ll | 45 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 60 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 101 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 116 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 157 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 172 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 213 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 228 %x = add i32 %a, 3 ; thwart complexity-based canonicalization
|
| H A D | umax-icmp.ll | 45 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 60 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 101 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 116 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 157 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 172 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 213 %x = add i32 %a, 3 ; thwart complexity-based canonicalization 228 %x = add i32 %a, 3 ; thwart complexity-based canonicalization
|
| H A D | shl-bo.ll | 14 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 29 %x = srem <2 x i8> %a, <i8 42, i8 42> ; thwart complexity-based canonicalization 44 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 73 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 102 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 132 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 192 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 225 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 257 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization 289 %x = srem i8 %a, 42 ; thwart complexity-based canonicalization [all …]
|
| H A D | and-xor-or.ll | 17 %a = udiv i32 42, %pa ; thwart complexity-based canonicalization 18 %b = udiv i32 43, %pb ; thwart complexity-based canonicalization 35 %a = udiv i32 42, %pa ; thwart complexity-based canonicalization 36 %b = udiv i32 43, %pb ; thwart complexity-based canonicalization 53 %a = udiv i32 42, %pa ; thwart complexity-based canonicalization 54 %b = udiv i32 43, %pb ; thwart complexity-based canonicalization 192 %x = udiv i64 42, %px ; thwart complexity-based canonicalization 193 %y = udiv i64 42, %py ; thwart complexity-based canonicalization 194 %z = udiv i64 42, %pz ; thwart complexity-based canonicalization 211 %x = udiv i64 42, %px ; thwart complexity-based canonicalization [all …]
|
| H A D | shift-logic.ll | 40 %y = srem i16 %py, 42 ; thwart complexity-based canonicalization 55 %y = srem <2 x i16> %py, <i16 42, i16 42> ; thwart complexity-based canonicalization 96 %y = srem i64 %py, 42 ; thwart complexity-based canonicalization 111 %y = srem <2 x i64> %py, <i64 42, i64 42> ; thwart complexity-based canonicalization 139 … 42, i16 42, i16 42, i16 42, i16 42, i16 42, i16 42, i16 -42> ; thwart complexity-based canonicali… 154 %y = srem <16 x i8> %py, %pz ; thwart complexity-based canonicalization 182 %y = srem i32 %py, 42 ; thwart complexity-based canonicalization
|
| H A D | icmp-gep.ll | 27 %x = call i8* @getptr() ; thwart complexity-based canonicalization 49 %x = call i8* @getptr() ; thwart complexity-based canonicalization 73 %x = call i8* @getptr() ; thwart complexity-based canonicalization 97 %x = call i8* @getptr() ; thwart complexity-based canonicalization 121 %x = call i8* @getptr() ; thwart complexity-based canonicalization 143 %x = call i8* @getptr() ; thwart complexity-based canonicalization 170 %x = call i8* @getptr() ; thwart complexity-based canonicalization
|
| H A D | sub-lshr-or-to-icmp-select.ll | 27 %x = sdiv i32 42, %x0 ; thwart complexity-based canonicalization 55 …%x = sdiv <4 x i32> <i32 42, i32 42, i32 42, i32 42>, %x0 ; thwart complexity-based canonicalizati…
|
| H A D | or.ll | 630 %a1 = mul i32 %a, 42 ; thwart complexity-based ordering 631 %b1 = bitcast float %b to i32 ; thwart complexity-based ordering 648 %a1 = mul i32 %a, 42 ; thwart complexity-based ordering 649 %b1 = bitcast float %b to i32 ; thwart complexity-based ordering 666 %a1 = mul i32 %a, 42 ; thwart complexity-based ordering 667 %b1 = bitcast float %b to i32 ; thwart complexity-based ordering 684 %a1 = mul i32 %a, 42 ; thwart complexity-based ordering 685 %b1 = bitcast float %b to i32 ; thwart complexity-based ordering 985 %y = icmp ugt i32 %c, 42 ; thwart complexity-based ordering 1000 %y = icmp ugt i32 %c, 42 ; thwart complexity-based ordering [all …]
|
| H A D | and-or.ll | 299 %c = mul i8 %b, 43 ; thwart complexity-based ordering 314 %c = mul <2 x i8> %b, <i8 43, i8 43> ; thwart complexity-based ordering 398 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 415 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 432 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 449 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 548 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 565 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 582 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization 599 %ct = udiv i8 42, %c ; thwart complexity-based canonicalization
|
| H A D | binop-cast.ll | 42 %x = mul <2 x i32> %px, %px ; thwart complexity-based canonicalization 100 %x = mul <2 x i32> %px, %px ; thwart complexity-based canonicalization 161 %x = mul <2 x i32> %px, %px ; thwart complexity-based canonicalization
|
| /llvm-project-15.0.7/libcxx/ |
| H A D | .clang-tidy | 21 readability-function-cognitive-complexity, 31 - key: readability-function-cognitive-complexity.Threshold 54 # readability-function-cognitive-complexity,
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/ |
| H A D | function-size.rst | 9 Useful to enforce multiple sections on function complexity. 12 …ngstandard.com/rule/8-3-1-do-not-write-functions-with-an-excessive-mccabe-cyclomatic-complexity/>`_
|
| /llvm-project-15.0.7/polly/test/ScopInfo/ |
| H A D | pwaff-complexity-bailout.ll | 3 ; Make sure we hit the complexity bailout, and don't crash. 4 ; CHECK: Low complexity assumption: { : false }
|
| /llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/ |
| H A D | reassociate-gvn-bdce.ll | 62 %a = sdiv i32 42, %a0 ; thwart complexity-based canonicalization 80 %b = sdiv i32 42, %b0 ; thwart complexity-based canonicalization 97 %c = sdiv i32 42, %c0 ; thwart complexity-based canonicalization 206 %a = sdiv i32 42, %a0 ; thwart complexity-based canonicalization 224 %b = sdiv i32 42, %b0 ; thwart complexity-based canonicalization 241 %c = sdiv i32 42, %c0 ; thwart complexity-based canonicalization
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/third-party/benchmark/ |
| H A D | BUILD.gn | 10 "src/complexity.cc",
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | DSInstructions.td | 956 let AddedComplexity = complexity; 970 /* complexity */ 0, /* gds */ 1>; 991 /* complexity */ 0, /* gds */ 1>; 994 /* complexity */ 1, /* gds */ 1>; 1002 int complexity = 0, bit gds=0> : GCNPat< 1005 let AddedComplexity = complexity; 1013 /* complexity */ 1>; 1021 /* complexity */ 1>; 1034 int complexity = 0, bit gds=0> : GCNPat< 1037 let AddedComplexity = complexity; [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-size/ |
| H A D | output-alloc.test | 2 ## To avoid unnecessary complexity llvm size outputs these sections in cases they have the SHF_ALLO…
|