/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_adjust_branch_weights.cpp | 36 const std::pair<uint32_t, uint32_t>& branch_weights) { in TransformationAdjustBranchWeights() argument 38 message_.mutable_branch_weights()->set_first(branch_weights.first); in TransformationAdjustBranchWeights() 39 message_.mutable_branch_weights()->set_second(branch_weights.second); in TransformationAdjustBranchWeights() 62 assert((message_.branch_weights().first() != 0 || in IsApplicable() 63 message_.branch_weights().second() != 0) && in IsApplicable() 66 assert(message_.branch_weights().first() <= in IsApplicable() 67 UINT32_MAX - message_.branch_weights().second() && in IsApplicable() 79 {message_.branch_weights().first()}); in Apply() 81 {message_.branch_weights().second()}); in Apply() 84 {message_.branch_weights().first()}}); in Apply() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_adjust_branch_weights.cpp | 36 const std::pair<uint32_t, uint32_t>& branch_weights) { in TransformationAdjustBranchWeights() argument 38 message_.mutable_branch_weights()->set_first(branch_weights.first); in TransformationAdjustBranchWeights() 39 message_.mutable_branch_weights()->set_second(branch_weights.second); in TransformationAdjustBranchWeights() 62 assert((message_.branch_weights().first() != 0 || in IsApplicable() 63 message_.branch_weights().second() != 0) && in IsApplicable() 66 assert(message_.branch_weights().first() <= in IsApplicable() 67 UINT32_MAX - message_.branch_weights().second() && in IsApplicable() 79 {message_.branch_weights().first()}); in Apply() 81 {message_.branch_weights().second()}); in Apply() 84 {message_.branch_weights().first()}}); in Apply() [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | preserve-branchweights.ll | 25 ; Make sure the metadata name string is "branch_weights" before propagating it. 491 !0 = !{!"branch_weights", i32 3, i32 5} 492 !1 = !{!"branch_weights", i32 1, i32 1} 493 !2 = !{!"branch_weights", i32 1, i32 2} 494 !3 = !{!"branch_weights", i32 4, i32 3, i32 2, i32 1} 495 !4 = !{!"branch_weights", i32 4, i32 3, i32 2, i32 1} 496 !5 = !{!"branch_weights", i32 7, i32 6, i32 5} 497 !6 = !{!"branch_weights", i32 1, i32 3} 498 !7 = !{!"branch_weights", i32 33, i32 9, i32 8, i32 7} 499 !8 = !{!"branch_weights", i32 33, i32 9, i32 8} [all …]
|
D | preserve-branchweights-switch-create.ll | 132 !0 = !{!"branch_weights", i32 64, i32 4} 133 !1 = !{!"branch_weights", i32 4, i32 64} 134 ; CHECK: !0 = !{!"branch_weights", i32 256, i32 4352, i32 16} 135 !2 = !{!"branch_weights", i32 4, i32 4, i32 8} 136 !3 = !{!"branch_weights", i32 8, i32 8, i32 4} 137 ; CHECK: !1 = !{!"branch_weights", i32 32, i32 48, i32 96, i32 16} 138 !4 = !{!"branch_weights", i32 7, i32 6, i32 4, i32 3} 139 !5 = !{!"branch_weights", i32 17, i32 13, i32 9} 140 ; CHECK: !3 = !{!"branch_weights", i32 7, i32 3, i32 4, i32 6}
|
/external/llvm-project/llvm/test/Bitcode/ |
D | branch-weight.ll | 12 ;;!0 = !{!"branch_weights", i32 1, i32 2} 13 ;;!1 = !{!"branch_weights", i32 1, i32 2, i32 3} 17 ; CHECK: !0 = !{!"branch_weights", i32 1, i32 2} 19 ; CHECK-NOT: !1 = !{!"branch_weights", i32 1, i32 2, i32 3}
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | select-to-branch.mir | 11 ; If branch_weights > 99% or branch_weights < 1%, the select will be 24 ; If branch_weights > 99% or branch_weights < 1%, the select will be converted 43 ; If branch_weights > 99% or branch_weights < 1%, the select will be converted 111 !14 = !{!"branch_weights", i32 1, i32 99} 112 !15 = !{!"branch_weights", i32 1, i32 100} 113 !16 = !{!"branch_weights", i32 100, i32 1} 114 !17 = !{!"branch_weights", i32 0, i32 0}
|
/external/llvm-project/llvm/test/Transforms/Inline/ |
D | prof-update-sample.ll | 3 ; Checks if inliner updates branch_weights annotation for call instructions. 52 !16 = !{!"branch_weights", i32 2000} 53 !17 = !{!"branch_weights", i32 400} 56 ; CHECK: ![[COUNT_CALLEE1]] = !{!"branch_weights", i32 2000} 57 ; CHECK: ![[COUNT_CALLEE]] = !{!"branch_weights", i32 1200} 59 ; CHECK: ![[COUNT_CALLER]] = !{!"branch_weights", i32 800}
|
D | prof-update-sample-alwaysinline.ll | 2 ; Checks if always-inline updates branch_weights annotation for call instructions. 51 !16 = !{!"branch_weights", i32 2000} 52 !17 = !{!"branch_weights", i32 400} 56 ; CHECK: ![[COUNT_CALLEE1]] = !{!"branch_weights", i32 2000} 57 ; CHECK: ![[COUNT_CALLEE]] = !{!"branch_weights", i32 1200} 59 ; CHECK: ![[COUNT_CALLER]] = !{!"branch_weights", i32 800}
|
D | profile-meta.ll | 38 !0 = !{!"branch_weights", i32 1, i32 2} 40 !2 = !{!"branch_weights", i32 3, i32 4} 42 ; CHECK: !0 = !{!"branch_weights", i32 1, i32 2} 44 ; CHECK: !2 = !{!"branch_weights", i32 3, i32 4}
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | canonicalize_branch.ll | 446 !0 = !{!"branch_weights", i32 0, i32 99} 447 !1 = !{!"branch_weights", i32 1, i32 99} 448 !2 = !{!"branch_weights", i32 2, i32 99} 449 !3 = !{!"branch_weights", i32 3, i32 99} 450 !4 = !{!"branch_weights", i32 4, i32 99} 451 !5 = !{!"branch_weights", i32 5, i32 99} 452 !6 = !{!"branch_weights", i32 6, i32 99} 453 !7 = !{!"branch_weights", i32 7, i32 99} 454 !8 = !{!"branch_weights", i32 8, i32 99} 455 !9 = !{!"branch_weights", i32 9, i32 99} [all …]
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/ |
D | preserve-branchweights-switch-create.ll | 132 !0 = !{!"branch_weights", i32 64, i32 4} 133 !1 = !{!"branch_weights", i32 4, i32 64} 134 ; CHECK: !0 = !{!"branch_weights", i32 256, i32 4352, i32 16} 135 !2 = !{!"branch_weights", i32 4, i32 4, i32 8} 136 !3 = !{!"branch_weights", i32 8, i32 8, i32 4} 137 ; CHECK: !1 = !{!"branch_weights", i32 32, i32 48, i32 96, i32 16} 138 !4 = !{!"branch_weights", i32 7, i32 6, i32 4, i32 3} 139 !5 = !{!"branch_weights", i32 17, i32 13, i32 9} 140 ; CHECK: !3 = !{!"branch_weights", i32 7, i32 3, i32 4, i32 6}
|
D | preserve-branchweights.ll | 36 ; Make sure the metadata name string is "branch_weights" before propagating it. 639 !0 = !{!"branch_weights", i32 3, i32 5} 640 !1 = !{!"branch_weights", i32 1, i32 1} 641 !2 = !{!"branch_weights", i32 1, i32 2} 642 !3 = !{!"branch_weights", i32 4, i32 3, i32 2, i32 1} 643 !4 = !{!"branch_weights", i32 4, i32 3, i32 2, i32 1} 644 !5 = !{!"branch_weights", i32 7, i32 6, i32 5} 645 !6 = !{!"branch_weights", i32 1, i32 3} 646 !7 = !{!"branch_weights", i32 33, i32 9, i32 8, i32 7} 647 !8 = !{!"branch_weights", i32 33, i32 9, i32 8} [all …]
|
D | switch-profmd.ll | 6 ; prof branch_weights metadata consistent with switch instruction. 15 ], !prof !{!"branch_weights", i32 99, i32 0, i32 1, i32 2} 35 ; CHECK: ![[MD0]] = !{!"branch_weights", i32 99, i32 2, i32 1}
|
/external/llvm/test/Analysis/BlockFrequencyInfo/ |
D | irreducible.ll | 35 !0 = !{!"branch_weights", i32 1, i32 7} 36 !1 = !{!"branch_weights", i32 3, i32 4} 116 !2 = !{!"branch_weights", i32 3, i32 1} 157 !3 = !{!"branch_weights", i32 2, i32 2, i32 2} 187 !4 = !{!"branch_weights", i32 1, i32 1} 188 !5 = !{!"branch_weights", i32 3, i32 1} 226 !6 = !{!"branch_weights", i32 3, i32 1} 227 !7 = !{!"branch_weights", i32 1, i32 1} 228 !8 = !{!"branch_weights", i32 4, i32 1} 258 !9 = !{!"branch_weights", i32 1, i32 1} [all …]
|
/external/llvm-project/llvm/test/Analysis/BlockFrequencyInfo/ |
D | irreducible.ll | 35 !0 = !{!"branch_weights", i32 1, i32 7} 36 !1 = !{!"branch_weights", i32 3, i32 4} 116 !2 = !{!"branch_weights", i32 3, i32 1} 157 !3 = !{!"branch_weights", i32 2, i32 2, i32 2} 187 !4 = !{!"branch_weights", i32 1, i32 1} 188 !5 = !{!"branch_weights", i32 3, i32 1} 226 !6 = !{!"branch_weights", i32 3, i32 1} 227 !7 = !{!"branch_weights", i32 1, i32 1} 228 !8 = !{!"branch_weights", i32 4, i32 1} 258 !9 = !{!"branch_weights", i32 1, i32 1} [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | ragreedy-bug.ll | 287 !181 = !{!"branch_weights", i32 662038, i32 1} 288 !988 = !{!"branch_weights", i32 12091450, i32 1916} 289 !989 = !{!"branch_weights", i32 7564670, i32 4526781} 290 !990 = !{!"branch_weights", i32 7484958, i32 13283499} 291 !991 = !{!"branch_weights", i32 8677007, i32 4606493} 292 !992 = !{!"branch_weights", i32 -1172426948, i32 145094705} 293 !993 = !{!"branch_weights", i32 1468914, i32 5683688} 294 !994 = !{!"branch_weights", i32 114025221, i32 -1217548794, i32 -1199521551} 295 !995 = !{!"branch_weights", i32 1853716452, i32 -444717951} 296 !996 = !{!"branch_weights", i32 1004870, i32 20259} [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | ragreedy-csr.ll | 274 !181 = !{!"branch_weights", i32 662038, i32 1} 275 !988 = !{!"branch_weights", i32 12091450, i32 1916} 276 !989 = !{!"branch_weights", i32 7564670, i32 4526781} 277 !990 = !{!"branch_weights", i32 7484958, i32 13283499} 278 !991 = !{!"branch_weights", i32 8677007, i32 4606493} 279 !992 = !{!"branch_weights", i32 -1172426948, i32 145094705} 280 !993 = !{!"branch_weights", i32 1468914, i32 5683688} 281 !994 = !{!"branch_weights", i32 114025221, i32 -1217548794, i32 -1199521551, i32 87712616} 282 !995 = !{!"branch_weights", i32 1853716452, i32 -444717951, i32 932776759} 283 !996 = !{!"branch_weights", i32 1004870, i32 20259} [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | ragreedy-csr.ll | 274 !181 = !{!"branch_weights", i32 662038, i32 1} 275 !988 = !{!"branch_weights", i32 12091450, i32 1916} 276 !989 = !{!"branch_weights", i32 7564670, i32 4526781} 277 !990 = !{!"branch_weights", i32 7484958, i32 13283499} 278 !991 = !{!"branch_weights", i32 8677007, i32 4606493} 279 !992 = !{!"branch_weights", i32 -1172426948, i32 145094705} 280 !993 = !{!"branch_weights", i32 1468914, i32 5683688} 281 !994 = !{!"branch_weights", i32 114025221, i32 -1217548794, i32 -1199521551} 282 !995 = !{!"branch_weights", i32 1853716452, i32 -444717951} 283 !996 = !{!"branch_weights", i32 1004870, i32 20259} [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | ragreedy-bug.ll | 269 !181 = !{!"branch_weights", i32 662038, i32 1} 270 !988 = !{!"branch_weights", i32 12091450, i32 1916} 271 !989 = !{!"branch_weights", i32 7564670, i32 4526781} 272 !990 = !{!"branch_weights", i32 7484958, i32 13283499} 273 !991 = !{!"branch_weights", i32 8677007, i32 4606493} 274 !992 = !{!"branch_weights", i32 -1172426948, i32 145094705} 275 !993 = !{!"branch_weights", i32 1468914, i32 5683688} 276 !994 = !{!"branch_weights", i32 114025221, i32 -1217548794, i32 -1199521551, i32 87712616} 277 !995 = !{!"branch_weights", i32 1853716452, i32 -444717951, i32 932776759} 278 !996 = !{!"branch_weights", i32 1004870, i32 20259} [all …]
|
/external/llvm/test/Transforms/Inline/ |
D | profile-meta.ll | 37 !0 = !{!"branch_weights", i32 1, i32 2} 39 !2 = !{!"branch_weights", i32 3, i32 4} 41 ; CHECK: !0 = !{!"branch_weights", i32 1, i32 2} 43 ; CHECK: !2 = !{!"branch_weights", i32 3, i32 4}
|
/external/llvm-project/llvm/test/Transforms/LoopUnroll/ |
D | peel-loop-pgo-deopt.ll | 80 !16 = !{!"branch_weights", i32 3001, i32 1001} 81 !17 = !{!"branch_weights", i32 1, i32 0} 84 ;CHECK: !15 = !{!"branch_weights", i32 1, i32 0} 86 ;CHECK: !16 = !{!"branch_weights", i32 3001, i32 1001} 87 ;CHECK: !17 = !{!"branch_weights", i32 2000, i32 1001} 88 ;CHECK: !18 = !{!"branch_weights", i32 999, i32 1001} 89 ;CHECK: !19 = !{!"branch_weights", i32 1, i32 1001}
|
/external/llvm-project/llvm/test/Transforms/CorrelatedValuePropagation/ |
D | profmd.ll | 27 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6} 54 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2, i32 3} 81 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2, i32 3} 111 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2, i32 3, i32 4} 118 ; CHECK: ![[MD0]] = !{!"branch_weights", i32 99, i32 4, i32 3} 119 ; CHECK: ![[MD1]] = !{!"branch_weights", i32 1, i32 99}
|
/external/llvm-project/llvm/test/Transforms/IRCE/ |
D | low-iterations.ll | 40 !1 = !{!"branch_weights", i32 1024, i32 1} 41 !2 = !{!"branch_weights", i32 512, i32 1} 42 !3 = !{!"branch_weights", i32 1, i32 2} 43 !4 = !{!"branch_weights", i32 512, i32 1}
|
/external/llvm-project/llvm/test/Transforms/SimpleLoopUnswitch/ |
D | basictest-profmd.ll | 19 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2} 33 ; CHECK: ![[MD0]] = !{!"branch_weights", i32 99, i32 1, i32 2} 34 ; CHECK: ![[MD1]] = !{!"branch_weights", i32 2, i32 1}
|
/external/llvm-project/llvm/test/Transforms/LoopVectorize/ |
D | check-prof-info.ll | 83 ; CHECK: [[LP1_255]] = !{!"branch_weights", i32 1, i32 255} 84 ; CHECK: [[LP0_0]] = !{!"branch_weights", i32 0, i32 0} 85 ; CHECK-MASKED: [[LP1_63]] = !{!"branch_weights", i32 1, i32 63} 86 ; CHECK-MASKED: [[LP0_0]] = !{!"branch_weights", i32 0, i32 0} 87 ; CHECK: [[LP1_2]] = !{!"branch_weights", i32 1, i32 2} 95 !6 = !{!"branch_weights", i32 1, i32 1023} 96 !7 = !{!"branch_weights", i32 1, i32 1026}
|