reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/MachineInstr.h
  721     return isBranch(Type) & !isBarrier(Type) & !isIndirectBranch(Type);
  729     return isBranch(Type) & isBarrier(Type) & !isIndirectBranch(Type);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 3036     if (!MI.isBranch() || MI.isIndirectBranch())
lib/CodeGen/BranchFolding.cpp
 1306   return I->isBranch();
 1338   if (I != MBB.end() && I->isBranch())
lib/CodeGen/IfConversion.cpp
  322           if (I.isBranch() && TBBInfo.IsBrAnalyzable && !Forked) {
  331           if (I.isBranch() && FBBInfo.IsBrAnalyzable && !Forked) {
  340           if (I.isBranch()) {
  755     if (!TIB->isBranch())
  794     if (!RTIE->isBranch())
  845       assert(!E2->isBranch() && "Branch mis-match, one block is empty.");
  849       assert(!E1->isBranch() && "Branch mis-match, one block is empty.");
  853     if (E1->isBranch() || E2->isBranch())
  853     if (E1->isBranch() || E2->isBranch())
 1106     if (BranchUnpredicable && MI.isBranch()) {
 1883     if (!Prev->isBranch() && !Prev->isDebugInstr())
 1915       if (!Prev->isBranch() && !Prev->isDebugInstr())
 2179     if (IgnoreBr && I.isBranch())
lib/CodeGen/MIRVRegNamerUtils.cpp
   71     if (!MI->mayStore() && !MI->isBranch() && !DoesMISideEffect)
  275       if (candidate->mayStore() || candidate->isBranch())
  290       if (!candidate->mayStore() && !candidate->isBranch())
lib/CodeGen/MachineBasicBlock.cpp
 1315   while (TI != end() && !TI->isBranch())
 1321       if (TI->isBranch())
lib/CodeGen/TargetInstrInfo.cpp
  313   if (MI.isBranch() && !MI.isBarrier())
lib/CodeGen/TwoAddressInstructionPass.cpp
  891       KillMI->isBranch() || KillMI->isTerminator())
  951         OtherMI.isBranch() || OtherMI.isTerminator())
 1125         OtherMI.isBranch() || OtherMI.isTerminator())
lib/Target/AMDGPU/GCNHazardRecognizer.cpp
 1098     if (!I->isBranch())
lib/Target/AMDGPU/SIInstrInfo.cpp
 1955   while (I != E && !I->isBranch() && !I->isReturn() &&
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  339           else if (I->isBranch())
lib/Target/ARC/ARCBranchFinalize.cpp
  162       if (MI.isBranch()) {
lib/Target/ARM/ARMBaseInstrInfo.cpp
 4301     if (UseMI.isBranch())
lib/Target/ARM/ARMConstantIslandPass.cpp
  680       if (I.isBranch() &&
  713       if (I.isBranch()) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  541     } else if (definesCPSR(*MBBI) || MBBI->isCall() || MBBI->isBranch()) {
lib/Target/ARM/Thumb2ITBlockPass.cpp
  235              (!MI->isBranch() && !MI->isReturn()) ; ++MBBI) {
lib/Target/ARM/Thumb2InstrInfo.cpp
   62   if (!AFI->hasITBlocks() || Tail->isBranch()) {
lib/Target/BPF/BPFInstrInfo.cpp
  184     if (!I->isBranch())
lib/Target/Hexagon/BitTracker.cpp
  848   assert(!MI.isBranch() && "Unexpected branch instruction");
  931     assert(MI.isBranch() && "Expecting branch instruction");
 1033   assert(!MI.isBranch() && "Only non-branches are allowed");
 1080     while (It != End && !It->isBranch()) {
 1111     else if (!UseI.isBranch())
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
  118       if (MI.isBranch() && HII->isExtendable(MI))
  181           (SecondTerm->isBranch() || SecondTerm->isCall()) &&
  199       if (!MI.isBranch() || !isJumpOutOfRange(MI, BlockToInstOffset))
lib/Target/Hexagon/HexagonConstPropagation.cpp
  794     else if (!MI.isBranch())
  807     if (MI.isBranch()) {
  910     while (It != End && !It->isBranch()) {
  987         if (MI.isBranch() && !HaveTargets)
 1037       if (I->isBranch() && !InstrExec.count(&*I))
 2320   if (MI.isBranch())
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  687   if (MI->isCall() || MI->isBarrier() || MI->isBranch())
lib/Target/Hexagon/HexagonInstrInfo.cpp
  567     if (!I->isBranch())
 2018          !isMemOp(MI) && !MI.isBranch() && !MI.isReturn() && !MI.isCall();
 2023   return getType(MI) == HexagonII::TypeCJ && MI.isBranch();
 2413   return isNewValue(MI) && MI.isBranch();
 2582   if (!MI.isBranch())
 3603       if (!I.isBranch())
 4370   assert(MI.isBranch());
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
 1105     return MJ.isInlineAsm() || MJ.isBranch() || MJ.isBarrier() ||
 1252          (J.isBranch() || J.isCall() || J.isBarrier());
 1485     if (isDirectJump(I) && !J.isBranch() && !J.isCall() &&
lib/Target/Hexagon/RDFDeadCode.cpp
   59   if (MI->mayStore() || MI->isBranch() || MI->isCall() || MI->isReturn())
lib/Target/Hexagon/RDFGraph.cpp
  229   if (MI.isCall() || MI.isBranch()) {
  622   if (In.isBranch())
 1255     if (In.isBranch()) {
lib/Target/Lanai/LanaiInstrInfo.cpp
  586     if (!Instruction->isBranch())
lib/Target/MSP430/MSP430InstrInfo.cpp
  168   if (MI.isBranch() && !MI.isBarrier())
  195     if (!I->isBranch())
lib/Target/Mips/MipsBranchExpansion.cpp
  792       if ((Br != End) && Br->isBranch() && !Br->isIndirectBranch() &&
lib/Target/Mips/MipsConstantIslandPass.cpp
  663       if (MI.isBranch()) {
lib/Target/Mips/MipsDelaySlotFiller.cpp
  360   if (MI.isBranch()) {
  691     assert((!CurrI->isCall() && !CurrI->isReturn() && !CurrI->isBranch()) &&
lib/Target/Mips/MipsInstrInfo.cpp
  609   if (I->isBranch() && !I->isPseudo()) {
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  246     if (!I.isBranch())
  687     if (CurrInst.isBranch())
lib/Target/PowerPC/PPCEarlyReturn.cpp
  117           } else if (J->isBranch()) {
lib/Target/PowerPC/PPCInstrInfo.cpp
  199   if (UseMI.isBranch() && IsRegCR) {
 1431   if (MI.isBranch() && !MI.isBarrier())
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  265   return (MI->isBranch() || MI->isReturn() ||
lib/Target/SystemZ/SystemZInstrInfo.cpp
  375     if (!I->isBranch())
  457     if (!I->isBranch())
lib/Target/SystemZ/SystemZMachineScheduler.cpp
  111     bool TakenBranch = (I->isBranch() &&
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  152     AllAnalyzable &= Term.isBranch() && !Term.isIndirectBranch();
lib/Target/X86/X86CondBrFolding.cpp
  509     if (I->isBranch()) {
lib/Target/X86/X86FlagsCopyLowering.cpp
  244   assert(SplitI.isBranch() &&
  251   assert(PrevI.isBranch() && "Must split after a branch!");
lib/Target/X86/X86InstrInfo.cpp
 2385   if (MI.isBranch() && !MI.isBarrier())
 2447     if (!I->isBranch())
 2523     if (!I->isBranch())
 3721       if (Instr.isBranch())
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  578     if (TermIt == MBB.end() || !TermIt->isBranch())
  638       if (!MI.isBranch()) {
  858       if (!MI.isCall() && !MI.isBranch())
  983     if (!TI.isTerminator() || !TI.isBranch())
 1833         if ((MI.isCall() || MI.isBranch()) && HardenIndirectCallsAndJumps)