Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp93 bool knownRegValInBlock(MachineInstr &CondBr, MachineBasicBlock *MBB,
125 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()
145 AArch64CC::CondCode CC = (AArch64CC::CondCode)CondBr.getOperand(0).getImm(); in knownRegValInBlock()
149 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()
156 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
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()
1148 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in processBlock() local
1150 if (CondBr && CondConst) { in processBlock()
1154 assert(CondBr->isConditional() && "Threading on unconditional terminator"); in processBlock()
1158 CondConst, CondBr, /*UseBlockValue=*/false); in processBlock()
1162 BasicBlock *ToRemoveSucc = CondBr->getSuccessor(ToRemove); in processBlock()
1165 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in processBlock()
1166 UncondBr->setDebugLoc(CondBr->getDebugLoc()); in processBlock()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
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()
DLoopVectorize.cpp9757 auto *CondBr = BranchInst::Create(State.CFG.PrevBB, nullptr, ConditionBit); in execute() local
9758 CondBr->setSuccessor(0, nullptr); in execute()
9759 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
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-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.td916 let Name = "CondBr"; let PredicateMethod = "isCondBr";