/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInstrAnalysis.h | 55 virtual bool isBranch(const MCInst &Inst) const { in isBranch() function 56 return Info->get(Inst.getOpcode()).isBranch(); in isBranch() 85 if (isBranch(Inst) || isCall(Inst) || isReturn(Inst) || in mayAffectControlFlow()
|
H A D | MCInstrDesc.h | 307 bool isBranch() const { return Flags & (1ULL << MCID::Branch); } in isBranch() function 318 return isBranch() && !isBarrier() && !isIndirectBranch(); in isConditionalBranch() 326 return isBranch() && isBarrier() && !isIndirectBranch(); in isUnconditionalBranch() 458 /// 3. Calling, branching, returning: use isCall/isReturn/isBranch.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonBranchRelaxation.cpp | 119 if (MI.isBranch() && HII->isExtendable(MI)) in computeOffset() 182 (SecondTerm->isBranch() || SecondTerm->isCall()) && in isJumpOutOfRange() 200 if (!MI.isBranch() || !isJumpOutOfRange(MI, BlockToInstOffset)) in reGenerateBranch()
|
H A D | HexagonPseudo.td | 90 let isBranch = 1, isTerminator = 1, hasSideEffects = 0, 97 let isBranch = 1, isTerminator = 1, hasSideEffects = 0, 104 let isBranch = 1, isTerminator = 1, hasSideEffects = 0, 241 let isBranch = 1, isIndirectBranch = 1, isBarrier = 1, Defs = [PC], 295 let isBranch = 1, isIndirectBranch = 1, Defs = [PC], isPredicated = 1, 358 let isBranch = 1, isBarrier = 1, Defs = [PC], hasSideEffects = 0,
|
H A D | BitTracker.cpp | 847 assert(!MI.isBranch() && "Unexpected branch instruction"); in visitNonBranch() 929 assert(MI.isBranch() && "Expecting branch instruction"); in visitBranchesFrom() 1034 assert(!MI.isBranch() && "Only non-branches are allowed"); in visit() 1080 while (It != End && !It->isBranch()) { in runEdgeQueue() 1111 else if (!UseI.isBranch()) in runUseQueue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
H A D | LoongArchMCTargetDesc.cpp | 100 if ((isBranch(Inst) && !isIndirectBranch(Inst)) || in evaluateBranch() 146 bool isBranch(const MCInst &Inst) const override { in isBranch() function in __anond44693ea0111::LoongArchMCInstrAnalysis 147 if (MCInstrAnalysis::isBranch(Inst)) in isBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/ |
H A D | SystemZDisassembler.cpp | 60 /// @param isBranch - If the instruction is a branch instruction 70 /// returns zero and isBranch is true then a symbol look up for immediate Value 281 uint64_t Address, bool isBranch, in decodePCDBLOperand() 286 if (!tryAddingSymbolicOperand(Value, isBranch, Address, 2, N / 8, in decodePCDBLOperand() 73 tryAddingSymbolicOperand(int64_t Value,bool isBranch,uint64_t Address,uint64_t Offset,uint64_t Width,MCInst & MI,const MCDisassembler * Decoder) tryAddingSymbolicOperand() argument 280 decodePCDBLOperand(MCInst & Inst,uint64_t Imm,uint64_t Address,bool isBranch,const MCDisassembler * Decoder) decodePCDBLOperand() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCHazardRecognizers.cpp | 59 if (!MCID->isBranch()) in isBCTRAfterSet() 177 if (CurSlots == 5 || (MCID->isBranch() && CurBranches == 1)) { in EmitInstruction() 197 if (MCID->isBranch()) in EmitInstruction()
|
H A D | PPCBranchCoalescing.cpp | 246 if (!I.isBranch()) in canCoalesceBranch() 690 if (CurrInst.isBranch()) in mergeCandidates()
|
H A D | PPCEarlyReturn.cpp | 122 } else if (J->isBranch()) { in processBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrControl.td | 61 let isBarrier = 1, isBranch = 1, isTerminator = 1, SchedRW = [WriteJump] in { 73 let isBranch = 1, isTerminator = 1, Uses = [EFLAGS], SchedRW = [WriteJump], 92 let isBranch = 1, isTerminator = 1, hasSideEffects = 0, SchedRW = [WriteJump] in { 109 let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in { 195 let isBranch = 1, isTerminator = 1, SchedRW = [WriteJump] in { 298 let isCall = 1, isTerminator = 1, isReturn = 1, isBranch = 1, 422 let isCall = 1, isTerminator = 1, isReturn = 1, isBranch = 1,
|
H A D | X86SpeculativeExecutionSideEffectSuppression.cpp | 149 if (!MI.isBranch() || OmitBranchLFENCEs) { in runOnMachineFunction()
|
H A D | X86InstrTSX.td | 27 let isBranch = 1, isTerminator = 1, Defs = [EAX] in {
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IfConversion.cpp | 323 if (I.isBranch() && TBBInfo.IsBrAnalyzable && !Forked) { in MeetIfcvtSizeLimit() 332 if (I.isBranch() && FBBInfo.IsBrAnalyzable && !Forked) { in MeetIfcvtSizeLimit() 341 if (I.isBranch()) { in MeetIfcvtSizeLimit() 752 if (!TIB->isBranch()) in CountDuplicatedInstructions() 791 if (!RTIE->isBranch()) in CountDuplicatedInstructions() 842 assert(!E2->isBranch() && "Branch mis-match, one block is empty."); in verifySameBranchInstructions() 846 assert(!E1->isBranch() && "Branch mis-match, one block is empty."); in verifySameBranchInstructions() 850 if (E1->isBranch() || E2->isBranch()) in verifySameBranchInstructions() 1108 if (BranchUnpredicable && MI.isBranch()) { in ScanInstructions() 1875 if (!Prev->isBranch() && !Prev->isDebugInstr()) in IfConvertDiamondCommon() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCInstrDesc.cpp | 22 if (isBranch() || isCall() || isReturn() || isIndirectBranch()) in mayAffectControlFlow()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 194 bool isBranch() const { return FalseCount.has_value(); } in isBranch() function in __anon413222f00211::SourceMappingRegion 562 } else if (Region.isBranch()) { in emitSourceRegions() 1008 bool isBranch = Region.isBranch(); in popRegions() local 1024 if (!isBranch && !isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions() 1044 if (!isBranch && !isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions() 1058 if (!isBranch) { in popRegions() 1167 bool isBranch = false) { in isRegionAlreadyAdded() 1171 Region.getEndLoc() == EndLoc && Region.isBranch() == isBranch; in isRegionAlreadyAdded() 1188 MostRecentLocation, getRegion().isBranch())) in adjustForOutOfOrderTraversal() 1233 if (I.isBranch()) in handleFileExit() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCTargetDesc.cpp | 274 bool isBranch(const MCInst &Inst) const override { in isBranch() function in __anon4993c57e0111::RISCVMCInstrAnalysis 275 if (MCInstrAnalysis::isBranch(Inst)) in isBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsMulMulBugPass.cpp | 90 if (MI.isBranch() || MI.isIndirectBranch() || MI.isCall()) in isSecondMulOrBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kInstrControl.td | 131 let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in 163 let isBranch = 1, isTerminator = 1, Uses = [CCR] in 210 let isBranch = 1, isTerminator = 1, isBarrier = 1 in 238 let isBranch = 1, isTerminator = 1 in
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/Disassembler/ |
H A D | XtensaDisassembler.cpp | 97 static bool tryAddingSymbolicOperand(int64_t Value, bool isBranch, in tryAddingSymbolicOperand() argument 102 return Dis->tryAddingSymbolicOperand(MI, Value, Address, isBranch, Offset, /*OpSize=*/0, in tryAddingSymbolicOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonShuffler.cpp | 550 if (HexagonMCInstrInfo::getDesc(MCII, ID).isBranch()) in GetPacketSummary() 557 if (HexagonMCInstrInfo::getDesc(MCII, Inst0).isBranch()) in GetPacketSummary() 559 if (HexagonMCInstrInfo::getDesc(MCII, Inst1).isBranch()) in GetPacketSummary()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | AArch64ErrataFix.cpp | 231 static bool isBranch(uint32_t instr) { in isBranch() function 361 } else if (optionalAllowed && !isBranch(instr3)) { in scanCortexA53Errata843419()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrControl.td | 14 let isBranch = 1, isTerminator = 1, hasCtrlDep = 1 in { 27 } // isBranch = 1, isTerminator = 1, hasCtrlDep = 1
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCBranchFinalize.cpp | 163 if (MI.isBranch()) { in runOnMachineFunction()
|
H A D | ARCInstrInfo.td | 425 let isBranch = 1, isTerminator = 1 in { 460 } // let isBranch, isTerminator 463 let isBranch = 1, isTerminator = 1, isBarrier = 1 in { 665 let isBranch = 1 in { 688 } // let isBranch 864 let isBranch = 1 in { 867 } // let isBranch
|