/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageExporterLcov.cpp | 31 // - "BRF:<number of branches found>" 32 // - "BRH:<number of branches hit>" 82 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches() local 90 // Recursively collect branches from nested expansions. in collectNestedBranches() 94 append_range(Branches, NestedExBranches); in collectNestedBranches() 96 // Add branches from this level of expansion. in collectNestedBranches() 101 Branches.push_back(B); in collectNestedBranches() 105 return Branches; in collectNestedBranches() 117 std::vector<llvm::coverage::CountedRegion> Branches = in renderBranchExecutionCounts() local 120 // Recursively collect branches for all file expansions. in renderBranchExecutionCounts() [all …]
|
H A D | CoverageExporterJson.cpp | 21 // -- Branches: array => List of Branches in the file 32 // -- Branches: array => List of Branches in the expansion 143 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches() local 147 // Recursively collect branches from nested expansions. in collectNestedBranches() 150 append_range(Branches, NestedExBranches); in collectNestedBranches() 152 // Add branches from this level of expansion. in collectNestedBranches() 156 Branches.push_back(B); in collectNestedBranches() 159 return Branches; in collectNestedBranches() 172 {"branches", in renderExpansion() 200 {"branches", in renderSummary() [all …]
|
H A D | CoverageSummaryInfo.cpp | 20 const ArrayRef<CountedRegion> &Branches) { in sumBranches() argument 21 for (const auto &BR : Branches) { in sumBranches() 22 // Skip folded branches. in sumBranches() 26 // "True" Condition Branches. in sumBranches() 30 // "False" Condition Branches. in sumBranches() 86 // Compute the branch coverage, including branches from expansions. in get()
|
/freebsd/lib/libpmc/pmu-events/arch/x86/silvermont/ |
H A D | pipeline.json | 8 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 18 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 28 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 38 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 48 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 58 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 68 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 78 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 88 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… 98 …branches utilize the branch prediction unit (BPU) for prediction. This unit predicts the target ad… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/icelake/ |
H A D | icl-metrics.json | 103 "MetricGroup": "Branches;Fed;InsType", 109 "MetricGroup": "Branches;Fed;PGO", 115 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO", 121 "MetricGroup": "Branches;Fed;PGO", 203 "BriefDescription": "Fraction of branches that are non-taken conditionals", 205 "MetricGroup": "Bad;Branches;CodeGen;PGO", 209 "BriefDescription": "Fraction of branches that are taken conditionals", 211 "MetricGroup": "Bad;Branches;CodeGen;PGO", 215 "BriefDescription": "Fraction of branches that are CALL or RET", 217 "MetricGroup": "Bad;Branches", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/ |
H A D | icx-metrics.json | 29 "MetricGroup": "Branches;Fed;FetchBW", 115 "MetricGroup": "Branches;Fed;InsType", 121 "MetricGroup": "Branches;Fed;PGO", 127 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO", 133 "MetricGroup": "Branches;Fed;PGO", 215 "BriefDescription": "Fraction of branches that are non-taken conditionals", 217 "MetricGroup": "Bad;Branches;CodeGen;PGO", 221 "BriefDescription": "Fraction of branches that are taken conditionals", 223 "MetricGroup": "Bad;Branches;CodeGen;PGO", 227 "BriefDescription": "Fraction of branches that are CALL or RET", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/nehalemex/ |
H A D | pipeline.json | 83 "BriefDescription": "Unconditional branches executed" 91 "BriefDescription": "Unconditional call branches executed" 99 "BriefDescription": "Indirect call branches executed" 107 "BriefDescription": "Indirect non call branches executed" 115 "BriefDescription": "Call branches executed" 123 "BriefDescription": "All non call branches executed" 131 "BriefDescription": "Indirect return branches executed" 139 "BriefDescription": "Taken branches executed" 174 "BriefDescription": "Mispredicted branches executed" 182 "BriefDescription": "Mispredicted conditional branches executed" [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/westmereep-dp/ |
H A D | pipeline.json | 102 "BriefDescription": "Unconditional branches executed", 110 "BriefDescription": "Unconditional call branches executed", 118 "BriefDescription": "Indirect call branches executed", 126 "BriefDescription": "Indirect non call branches executed", 134 "BriefDescription": "Call branches executed", 142 "BriefDescription": "All non call branches executed", 150 "BriefDescription": "Indirect return branches executed", 158 "BriefDescription": "Taken branches executed", 193 "BriefDescription": "Mispredicted branches executed", 201 "BriefDescription": "Mispredicted conditional branches executed", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/westmereep-sp/ |
H A D | pipeline.json | 102 "BriefDescription": "Unconditional branches executed", 110 "BriefDescription": "Unconditional call branches executed", 118 "BriefDescription": "Indirect call branches executed", 126 "BriefDescription": "Indirect non call branches executed", 134 "BriefDescription": "Call branches executed", 142 "BriefDescription": "All non call branches executed", 150 "BriefDescription": "Indirect return branches executed", 158 "BriefDescription": "Taken branches executed", 193 "BriefDescription": "Mispredicted branches executed", 201 "BriefDescription": "Mispredicted conditional branches executed", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/westmereex/ |
H A D | pipeline.json | 102 "BriefDescription": "Unconditional branches executed", 110 "BriefDescription": "Unconditional call branches executed", 118 "BriefDescription": "Indirect call branches executed", 126 "BriefDescription": "Indirect non call branches executed", 134 "BriefDescription": "Call branches executed", 142 "BriefDescription": "All non call branches executed", 150 "BriefDescription": "Indirect return branches executed", 158 "BriefDescription": "Taken branches executed", 193 "BriefDescription": "Mispredicted branches executed", 201 "BriefDescription": "Mispredicted conditional branches executed", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/alderlake/ |
H A D | adl-metrics.json | 112 "MetricGroup": "Branches;Fed;InsType", 119 "MetricGroup": "Branches;Fed;PGO", 126 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO", 133 "MetricGroup": "Branches;Fed;PGO", 220 "BriefDescription": "Fraction of branches that are non-taken conditionals", 222 "MetricGroup": "Bad;Branches;CodeGen;PGO", 227 "BriefDescription": "Fraction of branches that are taken conditionals", 229 "MetricGroup": "Bad;Branches;CodeGen;PGO", 234 "BriefDescription": "Fraction of branches that are CALL or RET", 236 "MetricGroup": "Bad;Branches", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZLongBranch.cpp | 9 // This pass makes sure that all branches are in range. There are several ways 11 // branches are in range and successively replace those that turn out not 14 // branches until no more changes are needed and a fixed point is reached. 20 // An alternative approach is to assume that all branches must be 22 // branches that, even under this pessimistic assumption, turn out to be 34 // On SystemZ, long branches are only needed for functions bigger than 64k, 39 // (1) Work out the address that each block would have if no branches 40 // need relaxing. Exit the pass early if all branches are in range 43 // (2) Work out the address that each block would have if all branches 47 // and relaxing those that need to be relaxed. For backward branches, [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/nehalemep/ |
H A D | pipeline.json | 102 "BriefDescription": "Unconditional branches executed", 110 "BriefDescription": "Unconditional call branches executed", 118 "BriefDescription": "Indirect call branches executed", 126 "BriefDescription": "Indirect non call branches executed", 134 "BriefDescription": "Call branches executed", 142 "BriefDescription": "All non call branches executed", 150 "BriefDescription": "Indirect return branches executed", 158 "BriefDescription": "Taken branches executed", 193 "BriefDescription": "Mispredicted branches executed", 201 "BriefDescription": "Mispredicted conditional branches executed", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCFixupKinds.h | 19 // 24-bit PC relative relocation for direct branches like 'b' and 'bl'. 22 // 24-bit PC relative relocation for direct branches like 'b' and 'bl' where 26 /// 14-bit PC relative relocation for conditional branches. 29 /// 24-bit absolute relocation for direct branches like 'ba' and 'bla'. 32 /// 14-bit absolute relocation for conditional branches.
|
/freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/ |
H A D | pipeline.json | 25 "BriefDescription": "Speculative and retired branches", 30 "PublicDescription": "Counts all near executed branches (not necessarily retired).", 35 "BriefDescription": "Speculative and retired macro-conditional branches", 40 "PublicDescription": "Speculative and retired macro-conditional branches.", 45 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 50 …"PublicDescription": "Speculative and retired macro-unconditional branches excluding calls and ind… 65 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 70 … "PublicDescription": "Speculative and retired indirect branches excluding calls and returns.", 75 "BriefDescription": "Speculative and retired indirect return branches.", 84 "BriefDescription": "Not taken macro-conditional branches", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/ivybridge/ |
H A D | pipeline.json | 25 "BriefDescription": "Speculative and retired branches", 30 "PublicDescription": "Counts all near executed branches (not necessarily retired).", 35 "BriefDescription": "Speculative and retired macro-conditional branches", 40 "PublicDescription": "Speculative and retired macro-conditional branches.", 45 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 50 …"PublicDescription": "Speculative and retired macro-unconditional branches excluding calls and ind… 65 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 70 … "PublicDescription": "Speculative and retired indirect branches excluding calls and returns.", 75 "BriefDescription": "Speculative and retired indirect return branches.", 84 "BriefDescription": "Not taken macro-conditional branches", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCBranchFinalize.cpp | 1 //===- ARCBranchFinalize.cpp - ARC conditional branches ---------*- C++ -*-===// 9 // This pass takes existing conditional branches and expands them into longer 10 // range conditional branches. 63 "ARC finalize branches", false, false) 66 "ARC finalize branches", false, false) in INITIALIZE_PASS_DEPENDENCY() 146 std::vector<MachineInstr *> Branches; in runOnMachineFunction() local 164 Branches.push_back(&MI); in runOnMachineFunction()
|
/freebsd/lib/libpmc/ |
H A D | pmc.amd.3 | 461 .It Li k8-fr-retired-branches 463 Count retired branches including exceptions and interrupts. 464 .It Li k8-fr-retired-branches-mispredicted 466 Count mispredicted retired branches. 520 Count retired resyncs (non-control transfer branches). 521 .It Li k8-fr-retired-taken-branches 523 Count retired taken branches. 524 .It Li k8-fr-retired-taken-branches-mispredicted 526 Count retired taken branches that were mispredicted. 527 .It Li k8-fr-retired-taken-branches [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | SimpleLoopUnswitch.h | 58 /// This pass transforms loops that contain branches or switches on loop- 91 /// This pass always does trivial, full unswitching for both branches and 92 /// switches. For branches, it also always does trivial, partial unswitching. 95 /// additionally do non-trivial, full unswitching for branches and switches, and 96 /// will do non-trivial, partial unswitching for branches.
|
/freebsd/lib/libpmc/pmu-events/arch/x86/tigerlake/ |
H A D | tgl-metrics.json | 11 "MetricGroup": "Branches;FetchBW;PGO", 71 "MetricGroup": "Branches;InsType", 77 "MetricGroup": "Branches", 83 "MetricGroup": "Branches;PGO", 202 …"BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from applica… 204 "MetricGroup": "Branches;OS",
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430BranchSelector.cpp | 1 //===-- MSP430BranchSelector.cpp - Emit long conditional branches ---------===// 10 // conditional branches need more than 10 bits of displacement to reach their 32 cl::desc("Expand out of range branches")); 35 STATISTIC(NumExpanded, "Number of branches expanded to long format"); 105 /// Do expand branches and split the basic blocks if necessary. 240 // we know we don't need to expand any branches in this in runOnMachineFunction() 246 // Iteratively expand branches until we reach a fixed point. in runOnMachineFunction()
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwellx/ |
H A D | pipeline.json | 13 "BriefDescription": "Speculative and retired branches", 23 "BriefDescription": "Speculative and retired macro-conditional branches", 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 53 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 58 … taken and not taken speculative and retired indirect branches excluding calls and return branches… 63 "BriefDescription": "Speculative and retired indirect return branches.", 68 … event counts both taken and not taken speculative and retired indirect branches that have a retur… 73 "BriefDescription": "Not taken macro-conditional branches", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 98 …culative and retired macro-conditional branch instructions excluding calls and indirect branches.", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwell/ |
H A D | pipeline.json | 13 "BriefDescription": "Speculative and retired branches", 23 "BriefDescription": "Speculative and retired macro-conditional branches", 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 53 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 58 … taken and not taken speculative and retired indirect branches excluding calls and return branches… 63 "BriefDescription": "Speculative and retired indirect return branches.", 68 … event counts both taken and not taken speculative and retired indirect branches that have a retur… 73 "BriefDescription": "Not taken macro-conditional branches", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 98 …culative and retired macro-conditional branch instructions excluding calls and indirect branches.", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwellde/ |
H A D | pipeline.json | 13 "BriefDescription": "Speculative and retired branches", 23 "BriefDescription": "Speculative and retired macro-conditional branches", 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 53 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 58 … taken and not taken speculative and retired indirect branches excluding calls and return branches… 63 "BriefDescription": "Speculative and retired indirect return branches.", 68 … event counts both taken and not taken speculative and retired indirect branches that have a retur… 73 "BriefDescription": "Not taken macro-conditional branches", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 98 …culative and retired macro-conditional branch instructions excluding calls and indirect branches.", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstrInfo.cpp | 99 // for both int and fp branches, the last explicit operand is the in AnalyzeCondBr() 145 // Unconditional branches: 0 in insertBranch() 146 // Floating point branches: 1 (opc) in insertBranch() 175 // Up to 2 branches are removed. in removeBranch() 176 // Note that indirect branches are not removed. in removeBranch() 215 // This block ends with no branches (it just falls through to its succ). in analyzeBranch() 261 // If we reached here, there are two branches. in analyzeBranch() 321 // microMIPSr3 branches in isBranchOffsetInRange() 337 // microMIPSR3 short branches. in isBranchOffsetInRange() 345 // MIPSR6 branches. in isBranchOffsetInRange() [all …]
|