Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp203 MachineInstr *Branch = CCUsers[0]; in convertToBRCT() local
204 if (Branch->getOpcode() != SystemZ::BRC || in convertToBRCT()
205 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP || in convertToBRCT()
206 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE) in convertToBRCT()
213 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT()
219 MachineOperand Target(Branch->getOperand(2)); in convertToBRCT()
220 while (Branch->getNumOperands()) in convertToBRCT()
221 Branch->removeOperand(0); in convertToBRCT()
222 Branch->setDesc(TII->get(BRCT)); in convertToBRCT()
223 MachineInstrBuilder MIB(*Branch->getParent()->getParent(), Branch); in convertToBRCT()
[all …]
H A DSystemZLongBranch.cpp102 MachineInstr *Branch = nullptr; member
274 Terminator.Branch = &MI; in describeTerminator()
330 if (!Terminator.Branch || Terminator.ExtraRelaxSize == 0) in mustRelaxBranch()
407 MachineInstr *Branch = Terminator.Branch; in relaxBranch() local
408 switch (Branch->getOpcode()) { in relaxBranch()
410 Branch->setDesc(TII->get(SystemZ::JG)); in relaxBranch()
413 Branch->setDesc(TII->get(SystemZ::BRCL)); in relaxBranch()
416 splitBranchOnCount(Branch, SystemZ::AHI); in relaxBranch()
419 splitBranchOnCount(Branch, SystemZ::AGHI); in relaxBranch()
422 splitCompareBranch(Branch, SystemZ::CR); in relaxBranch()
[all …]
H A DSystemZInstrInfo.cpp397 SystemZII::Branch Branch(getBranchInfo(*I)); in analyzeBranch() local
398 if (!Branch.hasMBBTarget()) in analyzeBranch()
402 if (Branch.Type != SystemZII::BranchNormal) in analyzeBranch()
405 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in analyzeBranch()
408 TBB = Branch.getMBBTarget(); in analyzeBranch()
419 if (MBB.isLayoutSuccessor(Branch.getMBBTarget())) { in analyzeBranch()
427 TBB = Branch.getMBBTarget(); in analyzeBranch()
435 TBB = Branch.getMBBTarget(); in analyzeBranch()
436 Cond.push_back(MachineOperand::CreateImm(Branch.CCValid)); in analyzeBranch()
437 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in analyzeBranch()
[all …]
H A DSystemZInstrInfo.h122 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/clang/include/clang/Analysis/Analyses/
H A DUninitializedValues.h32 struct Branch { struct
52 SmallVector<Branch, 2> UninitBranches; argument
58 void addUninitBranch(Branch B) { in addUninitBranch()
96 using branch_iterator = SmallVectorImpl<Branch>::const_iterator;
H A DThreadSafetyOps.def49 TIL_OPCODE_DEF(Branch)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMCDCState.h39 struct Branch { struct
44 llvm::DenseMap<const Stmt *, Branch> BranchByStmt;
H A DCodeGenPGO.cpp1307 const auto &Branch = BranchStateIter->second; in emitMCDCCondBitmapUpdate() local
1308 assert(Branch.ID >= 0 && "Condition has no ID!"); in emitMCDCCondBitmapUpdate()
1309 assert(Branch.DecisionStmt); in emitMCDCCondBitmapUpdate()
1313 RegionMCDCState->DecisionByStmt.find(Branch.DecisionStmt); in emitMCDCCondBitmapUpdate()
1317 const auto &TVIdxs = DecisionIter->second.Indices[Branch.ID]; in emitMCDCCondBitmapUpdate()
1320 "mcdc." + Twine(Branch.ID + 1) + ".cur"); in emitMCDCCondBitmapUpdate()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp649 UninitUse::Branch Branch; in getUninitUse() local
650 Branch.Terminator = Label; in getUninitUse()
651 Branch.Output = 0; // Ignored. in getUninitUse()
652 Use.addUninitBranch(Branch); in getUninitUse()
654 UninitUse::Branch Branch; in getUninitUse() local
655 Branch.Terminator = Term; in getUninitUse()
656 Branch.Output = I - Block->succ_begin(); in getUninitUse()
657 Use.addUninitBranch(Branch); in getUninitUse()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysis.h126 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 DTypeErasedDataflowAnalysis.h108 virtual void transferBranchTypeErased(bool Branch, const Stmt *,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp248 Iter replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch,
558 Iter Branch, in replaceWithCompactBranch() argument
563 unsigned NewOpcode = TII->getEquivalentCompactForm(Branch); in replaceWithCompactBranch()
564 Branch = TII->genInstrWithNewOpc(NewOpcode, Branch); in replaceWithCompactBranch()
566 auto *ToErase = cast<MachineInstr>(&*std::next(Branch)); in replaceWithCompactBranch()
569 ToErase->getMF()->moveCallSiteInfo(ToErase, cast<MachineInstr>(&*Branch)); in replaceWithCompactBranch()
571 return Branch; in replaceWithCompactBranch()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h214 // 4 4 24 0 Branch<4> (32-bit pointers)
215 // 8 4 16 0 Leaf<4,4>, Branch<4>
216 // 8 8 12 0 Leaf<4,8>, Branch<8>
939 using Branch = variable
1207 NR = NR.get<Branch>().safeLookup(x); in treeSafeLookup()
1252 // splitRoot - Split the current BranchRoot into multiple Branch nodes.
1259 const unsigned Nodes = RootBranch::Capacity / Branch::Capacity + 1; in splitRoot()
1276 Branch *B = newNode<Branch>(); in splitRoot()
1283 rootBranch().stop(n) = Node[n].template get<Branch>() in splitRoot()
[all...]
/freebsd/sys/contrib/openzfs/
H A DMETA3 Branch: 1.0
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp340 for (const auto *Branch : Branches) { in NextIDsBuilder() local
341 const auto &BranchParams = Branch->getBranchParams(); in NextIDsBuilder()
702 Result addBranch(const CounterMappingRegion &Branch) { in addBranch()
703 assert(Branch.Kind == CounterMappingRegion::MCDCBranchRegion); in addBranch()
705 auto ConditionID = Branch.getBranchParams().ID; in addBranch()
711 if (!this->dominates(Branch)) in addBranch()
719 MCDCBranches.insert(MCDCBranches.begin(), &Branch); in addBranch()
721 MCDCBranches.push_back(&Branch); in addBranch()
775 processBranch(const CounterMappingRegion &Branch) { in processBranch() argument
779 switch (DecisionIter->addBranch(Branch)) { in processBranch()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_div_impl.inc33 // Branch-less version of:
62 // Branch-less version of:
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h159 Branch, enumerator
307 bool isBranch() const { return Flags & (1ULL << MCID::Branch); } in isBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Schedule.td40 def WriteBr : SchedWrite; // Branch
41 def WriteBrReg : SchedWrite; // Indirect Branch
H A DAArch64SchedThunderX.td24 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 DPPCReduceCRLogicals.cpp658 MachineInstr *Branch = in splitBlockOnBinaryCROp() local
683 computeBranchTargetAndInversion(Opc, Branch->getOpcode(), UsingDef1, in splitBlockOnBinaryCROp()
692 LLVM_DEBUG(dbgs() << "Original branch instruction: "; Branch->dump()); in splitBlockOnBinaryCROp()
693 BlockSplitInfo BSI { Branch, SplitBefore, SplitCond, InvertNewBranch, in splitBlockOnBinaryCROp()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaOperands.td106 // b4const predicate - Branch Immediate 4-bit signed operand
121 // b4constu predicate - Branch Immediate 4-bit unsigned operand
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1950 auto Branch = cast<BranchInst>(BB->getTerminator()); in redirectToHub() local
1951 auto Condition = Branch->isConditional() ? Branch->getCondition() : nullptr; in redirectToHub()
1953 BasicBlock *Succ0 = Branch->getSuccessor(0); in redirectToHub()
1957 if (Branch->isUnconditional()) { in redirectToHub()
1958 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub()
1961 Succ1 = Branch->getSuccessor(1); in redirectToHub()
1965 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub()
1967 Branch->setSuccessor(1, FirstGuardBlock); in redirectToHub()
1969 Branch->eraseFromParent(); in redirectToHub()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILowerControlFlow.cpp342 MachineInstr *Branch = in emitElse() local
358 LIS->InsertMachineInstrInMaps(*Branch); in emitElse()
434 MachineInstr *Branch = in emitLoop() local
441 LIS->InsertMachineInstrInMaps(*Branch); in emitLoop()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp236 for (const auto &Branch : FileCoverage.getBranches()) in renderFileBranches() local
237 BranchArray.push_back(renderBranch(Branch)); in renderFileBranches()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp877 auto *Branch = RI.HasBranch ? in checkScopeHoistable() local
918 if (RI.HasBranch && InsertPoint != Branch) { in checkScopeHoistable()
920 bool IsHoistable = checkHoistValue(Branch->getCondition(), InsertPoint, in checkScopeHoistable()
926 assert(InsertPoint != Branch && "Branch must not be the hoist point"); in checkScopeHoistable()
943 InsertPoint = Branch; in checkScopeHoistable()
949 assert(!DT.dominates(Branch, InsertPoint) && in checkScopeHoistable()
952 assert(checkHoistValue(Branch->getCondition(), InsertPoint, in checkScopeHoistable()
966 CHR_DEBUG(dbgs() << "BI " << *Branch << "\n"); in checkScopeHoistable()

123456