Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
HDMCInstrAnalysis.h63 virtual bool isUnconditionalBranch(const MCInst &Inst) const { in isUnconditionalBranch() function
64 return Info->get(Inst.getOpcode()).isUnconditionalBranch(); in isUnconditionalBranch()
HDMCInstrDesc.h325 bool isUnconditionalBranch() const { in isUnconditionalBranch() function
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
HDLoongArchMCTargetDesc.cpp159 bool isUnconditionalBranch(const MCInst &Inst) const override { in isUnconditionalBranch() function in __anonef29f0a30111::LoongArchMCInstrAnalysis
160 if (MCInstrAnalysis::isUnconditionalBranch(Inst)) in isUnconditionalBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDADCE.cpp215 static bool isUnconditionalBranch(Instruction *Term) { in isUnconditionalBranch() function
235 Info.UnconditionalBranch = isUnconditionalBranch(Info.Terminator); in initialize()
700 if (isUnconditionalBranch(PredTerm)) { in makeUnconditional()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/CSKY/
HDCSKYInstrInfo.cpp65 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch()
90 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
103 I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
121 if (!I->getDesc().isUnconditionalBranch() && in removeBranch()
HDCSKYConstantIslandPass.cpp1302 BMI->isUnconditionalBranch()) { in fixupConditionalBr()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
HDRISCVMCTargetDesc.cpp281 bool isUnconditionalBranch(const MCInst &Inst) const override { in isUnconditionalBranch() function in __anon618679370111::RISCVMCInstrAnalysis
282 if (MCInstrAnalysis::isUnconditionalBranch(Inst)) in isUnconditionalBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDGCNPreRALongBranchReg.cpp126 if (Last == MBB.end() || !Last->isUnconditionalBranch()) in runOnMachineFunction()
HDSILowerControlFlow.cpp130 while (I != End && !I->isUnconditionalBranch()) in skipToUncondBrOrEnd()
712 if (!I.isDebugInstr() && !I.isUnconditionalBranch()) in removeMBBifRedundant()
HDSIOptimizeExecMaskingPreRA.cpp398 if (I->isUnconditionalBranch() || I->getOpcode() == AMDGPU::S_ENDPGM) in runOnMachineFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/LoongArch/
HDLoongArchInstrInfo.cpp287 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch()
304 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
317 I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
HDBPFMCTargetDesc.cpp88 } else if (isUnconditionalBranch(Inst)) { in evaluateBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
HDLanaiMCTargetDesc.cpp100 if (!isConditionalBranch(Inst) && !isUnconditionalBranch(Inst) && in evaluateBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMipsBranchExpansion.cpp258 (!LastBr->isConditionalBranch() && !LastBr->isUnconditionalBranch())) in splitMBB()
266 (!FirstBr->isConditionalBranch() && !FirstBr->isUnconditionalBranch())) in splitMBB()
722 if (I.Br->isUnconditionalBranch()) { in expandToLongBranch()
837 (Br->isUnconditionalBranch() && IsPIC))) { in handlePossibleLongBranch()
HDMipsInstrInfo.cpp251 if (LastInst->isUnconditionalBranch()) { in analyzeBranch()
270 if (SecondLastInst->isUnconditionalBranch()) { in analyzeBranch()
283 if (!LastInst->isUnconditionalBranch()) in analyzeBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
HDCSKYMCTargetDesc.cpp117 if (isConditionalBranch(Inst) || isUnconditionalBranch(Inst)) { in evaluateBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
HDHexagonMCTargetDesc.cpp678 bool isUnconditionalBranch(MCInst const &Inst) const override { in isUnconditionalBranch() function in __anon12f44c9d0611::HexagonMCInstrAnalysis
680 return MCInstrAnalysis::isUnconditionalBranch(Inst); in isUnconditionalBranch()
690 if (!(isCall(Inst) || isUnconditionalBranch(Inst) || in evaluateBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDBranchRelaxation.cpp148 if (!MI.isConditionalBranch() && !MI.isUnconditionalBranch()) in INITIALIZE_PASS()
672 if (Last->isUnconditionalBranch()) { in relaxBranchInstructions()
HDTailDuplicator.cpp711 return I->isUnconditionalBranch(); in isSimpleBB()
HDIfConversion.cpp772 while (RTIE != RTIB && RTIE->isUnconditionalBranch()) in CountDuplicatedInstructions()
774 while (RFIE != RFIB && RFIE->isUnconditionalBranch()) in CountDuplicatedInstructions()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
HDARMMCTargetDesc.cpp401 bool isUnconditionalBranch(const MCInst &Inst) const override { in isUnconditionalBranch() function in __anon463101490211::ARMMCInstrAnalysis
405 return MCInstrAnalysis::isUnconditionalBranch(Inst); in isUnconditionalBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZLongBranch.cpp232 if (MI.isConditionalBranch() || MI.isUnconditionalBranch()) { in describeTerminator()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/
HDBPFMIPeephole.cpp446 } else if (Term.isUnconditionalBranch()) { in adjustBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDRegBankSelect.cpp417 assert((!Next || Next->isUnconditionalBranch()) && in tryAvoidingSplit()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVInstrInfo.cpp946 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch()
975 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
988 I->getDesc().isUnconditionalBranch()) { in analyzeBranch()
1006 if (!I->getDesc().isUnconditionalBranch() && in removeBranch()

12