Home
last modified time | relevance | path

Searched refs:isConditionalBranch (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrAnalysis.h59 virtual bool isConditionalBranch(const MCInst &Inst) const { in isConditionalBranch() function
60 return Info->get(Inst.getOpcode()).isConditionalBranch(); in isConditionalBranch()
H A DMCInstrDesc.h317 bool isConditionalBranch() const { in isConditionalBranch() function
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.cpp38 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch()
96 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch()
102 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch()
122 !I->getDesc().isConditionalBranch()) in removeBranch()
135 if (!I->getDesc().isConditionalBranch()) in removeBranch()
H A DCSKYConstantIslandPass.cpp504 bool IsCond = MI.isConditionalBranch(); in initializeFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp257 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch()
310 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch()
316 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch()
371 if (!I->getDesc().isConditionalBranch()) in removeBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp148 if (!MI.isConditionalBranch() && !MI.isUnconditionalBranch()) in INITIALIZE_PASS()
692 if (!MI.isConditionalBranch())
702 if (Next != MBB.end() && Next->isConditionalBranch()) {
H A DPeepholeOptimizer.cpp1778 if (MI->isConditionalBranch() && optimizeCondBranch(*MI)) { in runOnMachineFunction()
H A DIfConversion.cpp1106 bool isCondBr = BBI.IsBrAnalyzable && MI.isConditionalBranch(); in ScanInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp100 if (!isConditionalBranch(Inst) && !isUnconditionalBranch(Inst) && in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFMCTargetDesc.cpp83 if (isConditionalBranch(Inst)) { in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp683 bool isConditionalBranch(MCInst const &Inst) const override { in isConditionalBranch() function in __anon9dcc64640611::HexagonMCInstrAnalysis
685 return MCInstrAnalysis::isConditionalBranch(Inst); in isConditionalBranch()
691 isConditionalBranch(Inst))) in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCTargetDesc.cpp117 if (isConditionalBranch(Inst) || isUnconditionalBranch(Inst)) { in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsBranchExpansion.cpp258 (!LastBr->isConditionalBranch() && !LastBr->isUnconditionalBranch())) in splitMBB()
266 (!FirstBr->isConditionalBranch() && !FirstBr->isUnconditionalBranch())) in splitMBB()
836 (Br->isConditionalBranch() || in handlePossibleLongBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCTargetDesc.cpp201 if (isConditionalBranch(Inst)) { in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp408 bool isConditionalBranch(const MCInst &Inst) const override { in isConditionalBranch() function in __anon0c0d42100211::ARMMCInstrAnalysis
412 return MCInstrAnalysis::isConditionalBranch(Inst); in isConditionalBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp232 if (MI.isConditionalBranch() || MI.isUnconditionalBranch()) { in describeTerminator()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIPreEmitPeephole.cpp320 if (MI.isConditionalBranch()) in mustRetainExeczBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp351 if (!InstDesc.isConditionalBranch()) in isMacroFused()
499 return (Desc.isConditionalBranch() && in needAlign()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp1202 if (MI.isConditionalBranch()) in estimateFunctionSizeInBytes()
1204 if (MI.isConditionalBranch() || MI.isUnconditionalBranch()) { in estimateFunctionSizeInBytes()
H A DRISCVInstrInfo.cpp874 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch()
981 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch()
987 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch()
1007 !I->getDesc().isConditionalBranch()) in removeBranch()
1020 if (!I->getDesc().isConditionalBranch()) in removeBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp792 if (!MI.isConditionalBranch()) in instrUsesRegToBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp373 if (MI.isConditionalBranch()) in isValidCandidate()
H A DHexagonVLIWPacketizer.cpp1506 if (I.isConditionalBranch() && DepType != SDep::Data && in isLegalToPacketizeTogether()
H A DHexagonInstrInfo.cpp3799 assert(MI.isConditionalBranch()); in getDotNewPredJumpOp()
3805 if (I.isConditionalBranch()) { in getDotNewPredJumpOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h996 bool isConditionalBranch(QueryType Type = AnyInBundle) const {