Searched refs:Branch (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DUninitializedValues.h32 struct Branch { struct in class:clang::UninitUse
52 SmallVector<Branch, 2> UninitBranches;
58 void addUninitBranch(Branch B) {
96 using branch_iterator = SmallVectorImpl<Branch>::const_iterator;
H A DThreadSafetyTIL.h1343 /// Base class for basic block terminators: Branch, Goto, and Return.
1403 /// Note that unlike Goto, Branch does not have an index. The target blocks
1405 class Branch : public Terminator { class in namespace:clang::threadSafety
1407 Branch(SExpr *C, BasicBlock *T, BasicBlock *E) function in class:clang::threadSafety::Branch
1413 Branch(const Branch &Br, SExpr *C, BasicBlock *T, BasicBlock *E) function in class:clang::threadSafety::Branch
1444 typename C::CType compare(const Branch *E, C &Cmp) const {
1487 case COP_Branch: return cast<Branch>(this)->successors();
1497 /// instructions. It ends with a Terminator, which is a Branch or Goto to
H A DThreadSafetyTraverse.h263 R_SExpr reduceBranch(Branch &O, R_SExpr C, BasicBlock *B0, BasicBlock *B1) {
880 void printBranch(const Branch *E, StreamType &SS) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp1 //===-- SystemZLongBranch.cpp - Branch lengthening for SystemZ ------------===//
102 MachineInstr *Branch = nullptr; member in struct:__anon5368::TerminatorInfo
110 // If Branch is nonnull, this is the number of the target block,
114 // If Branch is nonnull, this is the length of the longest relaxed form,
141 StringRef getPassName() const override { return "SystemZ Long Branch"; }
258 Terminator.Branch = &MI;
314 if (!Terminator.Branch || Terminator.ExtraRelaxSize == 0)
391 MachineInstr *Branch = Terminator.Branch; local
392 switch (Branch
[all...]
H A DSystemZElimCompare.cpp210 MachineInstr *Branch = CCUsers[0];
211 if (Branch->getOpcode() != SystemZ::BRC ||
212 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP ||
213 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE)
218 // Compare and Branch.
220 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch;
225 // The transformation is OK. Rebuild Branch as a BRCT(G) or BRCTH.
226 MachineOperand Target(Branch->getOperand(2));
227 while (Branch->getNumOperands())
228 Branch
[all...]
H A DSystemZInstrInfo.h111 class Branch { class in namespace:llvm::SystemZII
125 Branch(BranchType type, unsigned ccValid, unsigned ccMask, function in class:llvm::SystemZII::Branch
286 SystemZII::Branch getBranchInfo(const MachineInstr &MI) const;
H A DSystemZInstrInfo.cpp379 SystemZII::Branch Branch(getBranchInfo(*I));
380 if (!Branch.hasMBBTarget())
384 if (Branch.Type != SystemZII::BranchNormal)
387 if (Branch.CCMask == SystemZ::CCMASK_ANY) {
390 TBB = Branch.getMBBTarget();
402 if (MBB.isLayoutSuccessor(Branch.getMBBTarget())) {
410 TBB = Branch.getMBBTarget();
418 TBB = Branch.getMBBTarget();
419 Cond.push_back(MachineOperand::CreateImm(Branch
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp681 UninitUse::Branch Branch; local
682 Branch.Terminator = Label;
683 Branch.Output = 0; // Ignored.
684 Use.addUninitBranch(Branch);
686 UninitUse::Branch Branch; local
687 Branch.Terminator = Term;
688 Branch.Output = I - Block->succ_begin();
689 Use.addUninitBranch(Branch);
[all...]
H A DThreadSafetyCommon.cpp919 auto *Tm = new (Arena) til::Branch(C, BB1, BB2);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h149 Branch, enumerator in enum:llvm::MCID::Flag
305 bool isBranch() const { return Flags & (1ULL << MCID::Branch); }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp250 Iter replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch,
559 // Replace Branch with the compact branch instruction.
561 Iter Branch,
566 unsigned NewOpcode = TII->getEquivalentCompactForm(Branch);
567 Branch = TII->genInstrWithNewOpc(NewOpcode, Branch);
569 std::next(Branch)->eraseFromParent();
570 return Branch;
560 replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch, const DebugLoc &DL) argument
H A DMipsInstructionSelector.cpp377 MachineInstr *Branch = local
380 if (!constrainSelectedInstRegOperands(*Branch, TII, TRI, RBI))
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h211 // 4 4 24 0 Branch<4> (32-bit pointers)
212 // 8 4 16 0 Leaf<4,4>, Branch<4>
213 // 8 8 12 0 Leaf<4,8>, Branch<8>
936 using Branch =
1160 NR = NR.get<Branch>().safeLookup(x);
1205 // splitRoot - Split the current BranchRoot into multiple Branch nodes.
1212 const unsigned Nodes = RootBranch::Capacity / Branch::Capacity + 1;
1229 Branch *B = newNode<Branch>();
1236 rootBranch().stop(n) = Node[n].template get<Branch>()
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILowerControlFlow.cpp325 MachineInstr *Branch = local
341 LIS->InsertMachineInstrInMaps(*Branch);
407 MachineInstr *Branch = local
413 LIS->InsertMachineInstrInMaps(*Branch);
H A DSIInstrInfo.cpp1917 // Unconditional Branch
6070 bool SIInstrInfo::isNonUniformBranchInstr(MachineInstr &Branch) const {
6071 return Branch.getOpcode() == AMDGPU::SI_NON_UNIFORM_BRCOND_PSEUDO;
6079 MachineInstr *Branch = &(*TI);
6083 if (Branch->getOpcode() == AMDGPU::SI_NON_UNIFORM_BRCOND_PSEUDO) {
6086 BuildMI(*MF, Branch->getDebugLoc(), get(AMDGPU::SI_IF), DstReg)
6087 .add(Branch->getOperand(0))
6088 .add(Branch->getOperand(1));
6090 BuildMI(*MF, Branch->getDebugLoc(), get(AMDGPU::SI_END_CF))
6105 MachineInstr *Branch
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h321 void Select_INLINEASM(SDNode *N, bool Branch);
H A DMachineInstr.h707 return hasProperty(MCID::Branch, Type);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp657 MachineInstr *Branch = local
682 computeBranchTargetAndInversion(Opc, Branch->getOpcode(), UsingDef1,
691 LLVM_DEBUG(dbgs() << "Original branch instruction: "; Branch->dump());
692 BlockSplitInfo BSI { Branch, SplitBefore, SplitCond, InvertNewBranch,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp803 << "Branch not biased";
881 // // Branch insert point here.
884 // if (c3) { // Branch
897 auto *Branch = RI.HasBranch ? local
938 if (RI.HasBranch && InsertPoint != Branch) {
940 bool IsHoistable = checkHoistValue(Branch->getCondition(), InsertPoint,
946 assert(InsertPoint != Branch && "Branch must not be the hoist point");
964 InsertPoint = Branch;
970 assert(!DT.dominates(Branch, InsertPoin
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp717 llvm::Instruction *Branch = Builder.CreateCondBr(IsRNaN, INaNBB, ContBB); local
718 llvm::BasicBlock *OrigBB = Branch->getParent();
723 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight);
729 Branch = Builder.CreateCondBr(IsINaN, LibCallBB, ContBB);
730 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp585 // Branch from the entry to the appropriate place.
603 auto Branch = cast<BranchInst>(MappedCS->getNextNode()); local
604 assert(Branch->isUnconditional());
605 Builder.CreateBr(Branch->getSuccessor(0));
1270 auto Branch = cast<BranchInst>(SuspendBB->getTerminator()); local
1317 // Branch to the return block.
1318 Branch->setSuccessor(0, ReturnBB);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp415 bool Branch = HexagonMCInstrInfo::getDesc(MCII, I).isBranch(); local
482 if (Branch && HexagonMCInstrInfo::isFloat(MCII, *std::get<0>(Producer))) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp1152 // Branch conditionally.
1153 auto Branch =
1157 if (!constrainSelectedInstRegOperands(*Branch, TII, TRI, RBI))
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3360 LLVMBool LLVMIsConditional(LLVMValueRef Branch);
3369 LLVMValueRef LLVMGetCondition(LLVMValueRef Branch);
3378 void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp2901 LLVMBool LLVMIsConditional(LLVMValueRef Branch) {
2902 return unwrap<BranchInst>(Branch)->isConditional();
2905 LLVMValueRef LLVMGetCondition(LLVMValueRef Branch) {
2906 return wrap(unwrap<BranchInst>(Branch)->getCondition());
2909 void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond) {
2910 return unwrap<BranchInst>(Branch)->setCondition(unwrap(Cond));

Completed in 387 milliseconds

12