Home
last modified time | relevance | path

Searched refs:CondBr (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp125 MachineInstr &CondBr, MachineBasicBlock *MBB, in knownRegValInBlock() argument
127 unsigned Opc = CondBr.getOpcode(); in knownRegValInBlock()
132 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock()
134 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock()
135 FirstUse = CondBr; in knownRegValInBlock()
136 KnownRegs.push_back(RegImm(CondBr.getOperand(0).getReg(), 0)); in knownRegValInBlock()
149 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()
156 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock()
158 if (CondBr == PredMBB->begin()) in knownRegValInBlock()
291 if (CondBr == PredMBB->end()) in optimizeBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp223 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in updatePredecessorProfileMetadata() local
224 if (!CondBr) in updatePredecessorProfileMetadata()
228 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata()
1150 if (CondBr && CondConst) { in processBlock()
1165 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in processBlock()
1166 UncondBr->setDebugLoc(CondBr->getDebugLoc()); in processBlock()
1168 CondBr->eraseFromParent(); in processBlock()
2142 if (!CondBr) in maybethreadThroughTwoBasicBlocks()
2266 BranchInst *CondBr = cast<BranchInst>(BB->getTerminator()); in threadThroughTwoBasicBlocks() local
2307 {{DominatorTree::Insert, NewBB, CondBr->getSuccessor(0)}, in threadThroughTwoBasicBlocks()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SpeculativeLoadHardening.cpp720 for (auto *CondBr : CondBrs) in tracePredStateThroughCFG() local
721 ++SuccCounts[CondBr->getOperand(0).getMBB()]; in tracePredStateThroughCFG()
786 for (auto *CondBr : CondBrs) { in tracePredStateThroughCFG() local
787 MachineBasicBlock &Succ = *CondBr->getOperand(0).getMBB(); in tracePredStateThroughCFG()
790 X86::CondCode Cond = X86::getCondFromBranch(*CondBr); in tracePredStateThroughCFG()
794 BuildCheckingBlockForSuccAndConds(MBB, Succ, SuccCount, CondBr, UncondBr, in tracePredStateThroughCFG()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp355 auto *CondBr = BranchInst::Create(NewBB, nullptr, NewCond); in execute() local
356 CondBr->setSuccessor(0, nullptr); in execute()
357 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
H A DLoopVectorize.cpp9751 auto *CondBr = BranchInst::Create(State.CFG.PrevBB, nullptr, ConditionBit); in execute() local
9752 CondBr->setSuccessor(0, nullptr); in execute()
9753 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2499 MachineInstr *CondBr = in insertBranch() local
2504 preserveCondRegFlags(CondBr->getOperand(1), Cond[1]); in insertBranch()
2505 fixImplicitOperands(*CondBr); in insertBranch()
2514 MachineInstr *CondBr = in insertBranch() local
2517 fixImplicitOperands(*CondBr); in insertBranch()
2521 MachineOperand &CondReg = CondBr->getOperand(1); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.td916 let Name = "CondBr"; let PredicateMethod = "isCondBr";