| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZElimCompare.cpp | 200 MachineInstr *Branch = CCUsers[0]; in convertToBRCT() local 201 if (Branch->getOpcode() != SystemZ::BRC || in convertToBRCT() 202 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP || in convertToBRCT() 203 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE) in convertToBRCT() 210 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT() 216 MachineOperand Target(Branch->getOperand(2)); in convertToBRCT() 217 while (Branch->getNumOperands()) in convertToBRCT() 218 Branch->removeOperand(0); in convertToBRCT() 219 Branch->setDesc(TII->get(BRCT)); in convertToBRCT() 220 MachineInstrBuilder MIB(*Branch->getParent()->getParent(), Branch); in convertToBRCT() [all …]
|
| H A D | SystemZLongBranch.cpp | 102 MachineInstr *Branch = nullptr; member 275 Terminator.Branch = &MI; in describeTerminator() 331 if (!Terminator.Branch || Terminator.ExtraRelaxSize == 0) in mustRelaxBranch() 413 MachineInstr *Branch = Terminator.Branch; in relaxBranch() local 414 switch (Branch->getOpcode()) { in relaxBranch() 416 Branch->setDesc(TII->get(SystemZ::JG)); in relaxBranch() 419 Branch->setDesc(TII->get(SystemZ::BRCL)); in relaxBranch() 422 splitBranchOnCount(Branch, SystemZ::AHI); in relaxBranch() 425 splitBranchOnCount(Branch, SystemZ::AGHI); in relaxBranch() 428 splitCompareBranch(Branch, SystemZ::CR); in relaxBranch() [all …]
|
| H A D | SystemZInstrInfo.cpp | 445 SystemZII::Branch Branch(getBranchInfo(*I)); in analyzeBranch() local 446 if (!Branch.hasMBBTarget()) in analyzeBranch() 450 if (Branch.Type != SystemZII::BranchNormal) in analyzeBranch() 453 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in analyzeBranch() 456 TBB = Branch.getMBBTarget(); in analyzeBranch() 467 if (MBB.isLayoutSuccessor(Branch.getMBBTarget())) { in analyzeBranch() 475 TBB = Branch.getMBBTarget(); in analyzeBranch() 483 TBB = Branch.getMBBTarget(); in analyzeBranch() 484 Cond.push_back(MachineOperand::CreateImm(Branch.CCValid)); in analyzeBranch() 485 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in analyzeBranch() [all …]
|
| H A D | SystemZInstrInfo.h | 122 class Branch { 136 Branch(BranchType type, unsigned ccValid, unsigned ccMask, in Branch() function 324 SystemZII::Branch getBranchInfo(const MachineInstr &MI) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ControlFlowUtils.cpp | 39 auto *Branch = cast<BranchInst>(BB->getTerminator()); in redirectToHub() local 40 auto *Condition = Branch->isConditional() ? Branch->getCondition() : nullptr; in redirectToHub() 44 if (Branch->isUnconditional()) { in redirectToHub() 45 assert(Succ0 == Branch->getSuccessor(0)); in redirectToHub() 47 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub() 49 assert(!Succ1 || Succ1 == Branch->getSuccessor(1)); in redirectToHub() 51 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub() 53 Branch->setSuccessor(1, FirstGuardBlock); in redirectToHub() 55 Branch->eraseFromParent(); in redirectToHub()
|
| H A D | FixIrreducible.cpp | 245 auto *Branch = cast<BranchInst>(P->getTerminator()); in fixIrreducible() local 247 BasicBlock *Succ0 = Branch->getSuccessor(0) == Header ? Header : nullptr; in fixIrreducible() 250 assert(Branch->getSuccessor(1) == Header); in fixIrreducible() 269 auto *Branch = cast<BranchInst>(P->getTerminator()); in fixIrreducible() local 270 BasicBlock *Succ0 = Branch->getSuccessor(0); in fixIrreducible() 273 Branch->isUnconditional() ? nullptr : Branch->getSuccessor(1); in fixIrreducible()
|
| H A D | UnifyLoopExits.cpp | 156 auto *Branch = cast<BranchInst>(BB->getTerminator()); in unifyLoopExits() local 157 BasicBlock *Succ0 = Branch->getSuccessor(0); in unifyLoopExits() 161 Branch->isUnconditional() ? nullptr : Branch->getSuccessor(1); in unifyLoopExits()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | UninitializedValues.h | 32 struct Branch { struct 58 SmallVector<Branch, 2> UninitBranches; 64 void addUninitBranch(Branch B) { in addUninitBranch() 108 using branch_iterator = SmallVectorImpl<Branch>::const_iterator;
|
| H A D | ThreadSafetyOps.def | 49 TIL_OPCODE_DEF(Branch)
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MCDCState.h | 39 struct Branch { struct 44 llvm::DenseMap<const Stmt *, Branch> BranchByStmt;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIPreEmitPeephole.cpp | 38 bool mustRetainExeczBranch(const MachineInstr &Branch, 319 BranchWeightCostModel(const SIInstrInfo &TII, const MachineInstr &Branch, in BranchWeightCostModel() argument 322 const MachineBasicBlock &Head = *Branch.getParent(); in BranchWeightCostModel() 329 BranchTakenCost = SchedModel.computeInstrLatency(&Branch); in BranchWeightCostModel() 355 const MachineInstr &Branch, const MachineBasicBlock &From, in mustRetainExeczBranch() argument 357 assert(is_contained(Branch.getParent()->successors(), &From)); in mustRetainExeczBranch() 358 BranchWeightCostModel CostModel{*TII, Branch, From}; in mustRetainExeczBranch()
|
| H A D | SILowerControlFlow.cpp | 351 MachineInstr *Branch = in emitElse() local 367 LIS->InsertMachineInstrInMaps(*Branch); in emitElse() 443 MachineInstr *Branch = in emitLoop() local 450 LIS->InsertMachineInstrInMaps(*Branch); in emitLoop()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 643 UninitUse::Branch Branch; in getUninitUse() local 644 Branch.Terminator = Label; in getUninitUse() 645 Branch.Output = 0; // Ignored. in getUninitUse() 646 Use.addUninitBranch(Branch); in getUninitUse() 648 UninitUse::Branch Branch; in getUninitUse() local 649 Branch.Terminator = Term; in getUninitUse() 650 Branch.Output = I - Block->succ_begin(); in getUninitUse() 651 Use.addUninitBranch(Branch); in getUninitUse()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysis.h | 126 void transferBranchTypeErased(bool Branch, const Stmt *Stmt, in transferBranchTypeErased() argument 128 transferBranchInternal(Rank0{}, *static_cast<Derived *>(this), Branch, Stmt, in transferBranchTypeErased() 156 static auto transferBranchInternal(Rank0, Analysis &A, bool Branch, 160 Branch, Stmt, std::declval<LatticeT &>(), Env))> { 161 A.transferBranch(Branch, Stmt, llvm::any_cast<Lattice &>(L.Value), Env);
|
| H A D | TypeErasedDataflowAnalysis.h | 108 virtual void transferBranchTypeErased(bool Branch, const Stmt *,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsDelaySlotFiller.cpp | 243 Iter replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch, 553 Iter Branch, in replaceWithCompactBranch() argument 558 unsigned NewOpcode = TII->getEquivalentCompactForm(Branch); in replaceWithCompactBranch() 559 Branch = TII->genInstrWithNewOpc(NewOpcode, Branch); in replaceWithCompactBranch() 561 auto *ToErase = cast<MachineInstr>(&*std::next(Branch)); in replaceWithCompactBranch() 565 cast<MachineInstr>(&*Branch)); in replaceWithCompactBranch() 567 return Branch; in replaceWithCompactBranch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | IntervalMap.h | 940 using Branch = variable 1208 NR = NR.get<Branch>().safeLookup(x); in treeSafeLookup() 1260 const unsigned Nodes = RootBranch::Capacity / Branch::Capacity + 1; in splitRoot() 1277 Branch *B = newNode<Branch>(); in splitRoot() 1284 rootBranch().stop(n) = Node[n].template get<Branch>().stop(Size[n]-1); in splitRoot() 1324 deleteNode(&Node.get<Branch>()); in deleteNode() 1513 unsigned p = NR.get<Branch>().safeFind(0, x); in pathFillFind() 1547 if (!Traits::stopLess(path.node<Branch>(l).stop(path.offset(l)), x)) { in treeAdvanceTo() 1550 path.node<Branch>(l + 1).safeFind(path.offset(l + 1), x); in treeAdvanceTo() 1557 path.offset(1) = path.node<Branch>(1).safeFind(path.offset(1), x); in treeAdvanceTo() [all …]
|
| /freebsd/sys/contrib/openzfs/ |
| H A D | META | 3 Branch: 1.0
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | int_div_impl.inc | 33 // Branch-less version of: 62 // Branch-less version of:
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCInstrDesc.h | 160 Branch, enumerator 308 bool isBranch() const { return Flags & (1ULL << MCID::Branch); } in isBranch()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMapping.cpp | 396 for (const auto *Branch : Branches) { in NextIDsBuilder() local 397 const auto &BranchParams = Branch->getBranchParams(); in NextIDsBuilder() 728 Result addBranch(const CounterMappingRegion &Branch) { in addBranch() 729 assert(Branch.Kind == CounterMappingRegion::MCDCBranchRegion); in addBranch() 731 auto ConditionID = Branch.getBranchParams().ID; in addBranch() 737 if (!this->dominates(Branch)) in addBranch() 745 MCDCBranches.insert(MCDCBranches.begin(), &Branch); in addBranch() 747 MCDCBranches.push_back(&Branch); in addBranch() 801 processBranch(const CounterMappingRegion &Branch) { in processBranch() argument 805 switch (DecisionIter->addBranch(Branch)) { in processBranch()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Schedule.td | 40 def WriteBr : SchedWrite; // Branch 41 def WriteBrReg : SchedWrite; // Indirect Branch
|
| H A D | AArch64SchedThunderX.td | 24 let MispredictPenalty = 8; // Branch mispredict penalty. 41 def THXT8XUnitBr : ProcResource<1> { let BufferSize = 0; } // Branch 142 // Branch 248 // Branch
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 655 MachineInstr *Branch = in splitBlockOnBinaryCROp() local 680 computeBranchTargetAndInversion(Opc, Branch->getOpcode(), UsingDef1, in splitBlockOnBinaryCROp() 693 LLVM_DEBUG(dbgs() << "Original branch instruction: "; Branch->dump()); in splitBlockOnBinaryCROp() 695 Branch, SplitBefore, SplitCond, CRI.SubregDef1, in splitBlockOnBinaryCROp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 722 auto Branch = cast<BranchInst>(MappedCS->getNextNode()); in replaceEntryBlock() local 723 assert(Branch->isUnconditional()); in replaceEntryBlock() 724 Builder.CreateBr(Branch->getSuccessor(0)); in replaceEntryBlock() 822 if (auto *Branch = dyn_cast_or_null<BranchInst>(Successor); in updateScopeLine() local 823 Branch && Branch->isUnconditional()) in updateScopeLine() 824 Successor = Branch->getSuccessor(0)->getFirstNonPHIOrDbg(); in updateScopeLine() 1774 auto *Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitCoroutine() local 1779 Branch->setSuccessor(0, ReturnBB); in splitCoroutine() 1874 auto Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitCoroutine() local 1922 Branch->setSuccessor(0, ReturnBB); in splitCoroutine()
|