/freebsd/contrib/bmake/unit-tests/ |
H A D | directive-elif.mk | 6 # detected if the conditional branch directly above it is taken. In all other 7 # cases, make skips over the skipped branch as fast as possible, looking only 17 # Misspelling '.elsif' below an .if branch that is not taken. 19 . info This branch is not taken. 23 # Since the .if condition evaluated to false, this whole branch is not taken. 26 . info This branch is not taken. 27 # Even if the misspelling were detected, the branch would not be taken 32 # Misspelling '.elsif' below an .if branch that is not taken. 34 . info This branch is not taken. 37 # to false, this whole branch is not taken. [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/silvermont/ |
H A D | pipeline.json | 3 "BriefDescription": "Counts the number of branch instructions retired...", 8 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 12 "BriefDescription": "Counts the number of taken branch instructions retired", 18 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 23 "BriefDescription": "Counts the number of near CALL branch instructions retired", 28 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 33 "BriefDescription": "Counts the number of far branch instructions retired", 38 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 43 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired", 48 …branch instructions retired. Branch prediction predicts the branch target and enables the process… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a510/ |
H A D | branch.json | 18 …ional branch executed. This event counts when any branch that the conditional predictor can predic… 21 …ional branch executed. This event counts when any branch that the conditional predictor can predic… 24 …branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cac… 27 …branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cac… 30 …branch mispredicted due to address miscompare. This event counts when any indirect branch that the… 33 …branch mispredicted due to address miscompare. This event counts when any indirect branch that the… 36 …branch mispredicted. This event counts when any branch that the conditional predictor can predict … 39 …branch mispredicted. This event counts when any branch that the conditional predictor can predict … 42 …branch with predicted address executed. This event counts when any indirect branch that the BTAC c… 45 …branch with predicted address executed. This event counts when any indirect branch that the BTAC c… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a55/ |
H A D | branch.json | 18 …l branch executed.This event counts when any branch which can be predicted by the conditional pred… 21 …l branch executed.This event counts when any branch which can be predicted by the conditional pred… 24 …branch mis-predicted.This event counts when any indirect branch which can be predicted by the BTAC… 27 …branch mis-predicted.This event counts when any indirect branch which can be predicted by the BTAC… 30 …branch mis-predicted due to address mis-compare.This event counts when any indirect branch which c… 33 …branch mis-predicted due to address mis-compare.This event counts when any indirect branch which c… 36 …branch mis-predicted.This event counts when any branch which can be predicted by the conditional p… 39 …branch mis-predicted.This event counts when any branch which can be predicted by the conditional p… 42 …branch with predicted address executed.This event counts when any indirect branch which can be pre… 45 …branch with predicted address executed.This event counts when any indirect branch which can be pre… [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ProfDataUtils.h | 27 /// Checks if an MDNode contains Branch Weight Metadata 30 /// Checks if an instructions has Branch Weight Metadata 33 /// \returns True if I has an MD_prof node containing Branch Weights. False 37 /// Checks if an instructions has valid Branch Weight Metadata 40 /// \returns True if I has an MD_prof node containing valid Branch Weights, 44 /// Get the branch weights metadata node 47 /// \returns A pointer to I's branch weights metadata node, if it exists. 51 /// Get the valid branch weights metadata node 54 /// \returns A pointer to I's valid branch weights metadata node, if it exists. 58 /// Check if Branch Weight Metadata has an "expected" field from an llvm.expect* [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen3/ |
H A D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 "PublicDescription": "The number of retired branch instructions, that were mispredicted." 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ARMErrataFix.cpp | 9 // Cortex-a8 erratum 657417 "A 32bit branch instruction that spans 2 4K regions 38 // "A 32bit branch instruction that spans two 4K regions can result in an 44 // xxxxxxffe f7fe // First halfword of branch to target: 46 // xxxxxx002 bfff // Second halfword of branch to target: 49 // - There is a 32-bit Thumb-2 branch instruction with an address of the form 52 // - The branch instruction is one of BLX, BL, B.w BCC.w 53 // - The instruction preceding the branch is a 32-bit non-branch instruction. 54 // - The target of the branch is in region 1. 56 // The linker mitigation for the fix is to redirect any branch that meets the 57 // erratum conditions to a patch section containing a branch to the target. [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZLongBranch.cpp | 1 //===-- SystemZLongBranch.cpp - Branch lengthening for SystemZ ------------===// 12 // to be in range with a longer form (branch relaxation). A simple 16 // quadratic in the number of blocks; relaxing branch N can make branch N-1 17 // go out of range, which in turn can make branch N-2 go out of range, 23 // in range (branch shortening). This too can be implemented as a function 26 // shortening is also quadratic in the worst case; shortening branch N 27 // can bring branch N-1 in range of the short form, which in turn can do 28 // the same for branch N-2, and so on. The main advantage of shortening 35 // which are relatively rare to begin with, and the long branch sequences 73 #define DEBUG_TYPE "systemz-long-branch" [all …]
|
H A D | SystemZElimCompare.cpp | 11 // (2) fuses compares and branches into COMPARE AND BRANCH instructions 38 STATISTIC(BranchOnCounts, "Number of branch-on-count instructions"); 41 STATISTIC(FusedComparisons, "Number of fused compare-and-branch instructions"); 181 // of -1 and if CCUsers is a single branch on nonzero, eliminate the addition 182 // and convert the branch to a BRCT(G) or BRCTH. Return true on success. 203 MachineInstr *Branch = CCUsers[0]; in convertToBRCT() local 204 if (Branch->getOpcode() != SystemZ::BRC || in convertToBRCT() 205 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP || in convertToBRCT() 206 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE) in convertToBRCT() 211 // Compare and Branch. in convertToBRCT() [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen2/ |
H A D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 …"PublicDescription": "The number of branch instructions retired, of any type, that were not correc… 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 12 // positions pass, and a branch pseudo op to machine branch opcode pass. This 31 #define DEBUG_TYPE "ppc-branch-select" 68 StringRef getPassName() const override { return "PowerPC Branch Selector"; } in getPassName() 73 INITIALIZE_PASS(PPCBSel, "ppc-branch-select", "PowerPC Branch Selector", 76 /// createPPCBranchSelectionPass - returns an instance of the Branch Selection 155 // but we are in the safe position where if we need a long branch we in ComputeBlockSizes() 199 /// Determine the offset from the branch in Src block to the Dest block. 200 /// BrOffset is the offset of the branch instruction inside Src block. 209 // If this is a backwards branch, the delta is the offset from the in computeBranchSize() 210 // start of this block to this branch, plus the sizes of all blocks in computeBranchSize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430BranchSelector.cpp | 12 // positions pass, and a branch pseudo op to machine branch opcode pass. This 28 #define DEBUG_TYPE "msp430-branch-select" 31 BranchSelectEnabled("msp430-branch-select", cl::Hidden, cl::init(true), 60 StringRef getPassName() const override { return "MSP430 Branch Selector"; } in getPassName() 66 // According to CC430 Family User's Guide, Section 4.5.1.3, branch in isInRage() 73 "Branch offset should be word aligned!"); in isInRage() 108 // For each conditional branch, if the offset to its destination is larger in expandBranches() 109 // than the offset field allows, transform it into a long branch sequence in expandBranches() 111 // short branch: in expandBranches() 113 // long branch: in expandBranches() [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/ |
H A D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 …"PublicDescription": "The number of branch instructions retired, of any type, that were not correc… 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/goldmont/ |
H A D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 9 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 13 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 19 "PublicDescription": "Counts the number of taken branch instructions retired.", 30 "PublicDescription": "Counts near CALL branch instructions retired.", 35 "BriefDescription": "Retired far branch instructions (Precise event capable)", 41 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 52 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 57 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 63 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
H A D | frontend.json | 3 "BriefDescription": "BACLEARs asserted for any branch type", 8 …ut not limited to indirect branch/call, Jcc (Jump on Conditional Code/Jump if Condition is Met) b… 13 "BriefDescription": "BACLEARs asserted for conditional branch", 23 "BriefDescription": "BACLEARs asserted for return branch", 48 …esses from straight line code crosses the cache line boundary, or when a branch target is to a new… 58 …ounts when straight line code crosses the cache line boundary, or when a branch target is to a new… 68 …ounts when straight line code crosses the cache line boundary, or when a branch target is to a new… 78 …t MS startups for uops that are speculative, and subsequently cleared by branch mispredict or a ma…
|
/freebsd/lib/libpmc/pmu-events/arch/x86/elkhartlake/ |
H A D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 10 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 14 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 25 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 36 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 47 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 58 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 69 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 80 "BriefDescription": "Counts the number of near RET branch instructions retired.", 91 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/goldmontplus/ |
H A D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 10 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 14 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 21 "PublicDescription": "Counts the number of taken branch instructions retired.", 33 "PublicDescription": "Counts near CALL branch instructions retired.", 38 "BriefDescription": "Retired far branch instructions (Precise event capable)", 45 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 57 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 62 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 69 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/knightslanding/ |
H A D | pipeline.json | 3 "BriefDescription": "Counts the number of branch instructions retired", 11 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 20 "BriefDescription": "Counts the number of far branch instructions retired.", 29 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 38 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps.… 47 …"BriefDescription": "Counts the number of branch instructions retired that were near indirect CALL… 56 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 65 "BriefDescription": "Counts the number of near RET branch instructions retired.", 74 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps … 83 "BriefDescription": "Counts the number of mispredicted branch instructions retired", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNPreRALongBranchReg.cpp | 9 // \brief Pass to estimate pre RA branch size and reserve a pair of SGPRs if 10 // there is a long branch. Branch size at this point is difficult to track since 13 // instruction size to see if we're in the neighborhood of the maximum branch 15 // amdgpu-long-branch-factor cl argument which sets LongBranchFactor. 26 #define DEBUG_TYPE "amdgpu-pre-ra-long-branch-reg" 31 "amdgpu-long-branch-factor", cl::init(1.0), cl::Hidden, 32 cl::desc("Factor to apply to what qualifies as a long branch " 34 "is 0 the long branch registers are never reserved. As this " 35 "value grows the greater chance the branch distance will fall " 59 return "AMDGPU Pre-RA Long Branch Reg"; in getPassName() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsBranchExpansion.cpp | 11 /// - it expands a branch or jump instruction into a long branch if its offset 18 /// Example of that is a situation where at first, no branch should be expanded, 21 /// case it is necessary to check again if there is some branch that needs 22 /// expansion. On the other hand, expanding some branch may cause a control 28 /// Regarding branch expanding: 30 /// When branch instruction like beqzc or bnezc has offset that is too large 37 /// Regarding compact branch hazard prevention: 42 /// A forbidden slot hazard occurs when a compact branch instruction is executed 44 /// such as a branch or jump, ERET, ERETNC, DERET, WAIT and PAUSE. 59 /// A) A previous pass has created a compact branch directly. [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/tremontx/ |
H A D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 10 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 14 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 25 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 36 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 47 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 58 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 69 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 80 "BriefDescription": "Counts the number of near RET branch instructions retired.", 91 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/bonnell/ |
H A D | pipeline.json | 11 "BriefDescription": "Branch instructions decoded", 19 "BriefDescription": "Retired branch instructions.", 27 "BriefDescription": "Retired branch instructions.", 35 "BriefDescription": "Retired mispredicted branch instructions (precise event).", 44 "BriefDescription": "Retired branch instructions that were mispredicted not-taken.", 52 "BriefDescription": "Retired branch instructions that were mispredicted taken.", 60 "BriefDescription": "Retired branch instructions that were predicted not-taken.", 68 "BriefDescription": "Retired branch instructions that were predicted taken.", 76 "BriefDescription": "Retired taken branch instructions.", 84 "BriefDescription": "All macro conditional branch instructions.", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | BranchRelaxation.cpp | 37 #define DEBUG_TYPE "branch-relaxation" 43 #define BRANCH_RELAX_NAME "Branch relaxation pass" 269 /// an unconditional branch. Update data structures and renumber blocks to in splitBlockBeforeInstr() 289 // Add an unconditional branch from OrigBB to NewBB. in splitBlockBeforeInstr() 290 // Note the new unconditional branch is not being recorded. in splitBlockBeforeInstr() 302 // Cleanup potential unconditional branch to successor block. in isBlockInRange() 344 LLVM_DEBUG(dbgs() << "Out of range branch to destination " in fixupConditionalBranch() 353 /// fixupConditionalBranch - Fix up a conditional branch whose destination is in fixupConditionalBranch() 355 /// conditional branch + an unconditional branch t in fixupConditionalBranch() [all...] |
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | ConcatOutputSection.cpp | 40 // Branch-range extension can be implemented in two ways, either through ... 42 // (1) Branch islands: Single branch instructions (also of limited range), 44 // destination. On ARM64, as 16 branch islands are needed to hop between 45 // opposite ends of a 2 GiB program. LD64 uses branch islands exclusively, 49 // register, followed by a register-indirect branch. Thunks are 57 // implement thunks. TODO: Adding support for branch islands! 60 // branch-range-extension thunk consists of: 65 // (3.1) new data for the instructions to load & branch to the far address + 120 // (i.e., ARM) generally does because it has limited-range branch/call 122 // thunks for programs so large that branch source & destination addresses [all …]
|
/freebsd/lib/libpmc/ |
H A D | pmc.atomsilvermont.3 | 405 The number of branch instructions retired. 408 The number of branch instructions retired that were conditional 412 The number of far branch instructions retired. 415 The number of branch instructions retired that were near indirect 419 The number of near RET branch instructions retired. 422 The number of near CALL branch instructions retired. 425 The number of near indirect CALL branch instructions retired. 428 The number of near relative CALL branch instructions retired. 431 The number of branch instructions retired that were conditional 435 The number of mispredicted branch instructions retired. [all …]
|