Searched refs:FBB (Results 51 - 72 of 72) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h282 MachineBasicBlock *&FBB,
287 MachineBasicBlock *&FBB,
295 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
H A DSIInstrInfo.cpp2116 MachineBasicBlock *&FBB,
2149 FBB = I->getOperand(0).getMBB();
2157 MachineBasicBlock *&FBB,
2196 return analyzeBranchImpl(MBB, I, TBB, FBB, Cond, AllowModify);
2204 if (analyzeBranchImpl(MBB, I, TBB, FBB, Cond, AllowModify))
2259 MachineBasicBlock *FBB,
2263 if (!FBB && Cond.empty()) {
2283 if (!FBB) {
2298 assert(TBB && FBB);
2304 .addMBB(FBB);
2113 analyzeBranchImpl(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
2156 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
2257 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h575 /// just return false, leaving TBB/FBB null.
584 /// 'false' destination in FBB, and a list of operands that evaluate the
597 MachineBasicBlock *&FBB,
668 MachineBasicBlock *FBB,
596 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify = false) const argument
667 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded = nullptr) const argument
H A DMachinePipeliner.h80 MachineBasicBlock *FBB = nullptr; member in struct:llvm::MachinePipeliner::LoopInfo
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1227 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
1239 std::swap(TBB, FBB);
1255 finishCondBranch(BI->getParent(), TBB, FBB);
1271 std::swap(TBB, FBB);
1279 finishCondBranch(BI->getParent(), TBB, FBB);
1285 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
1309 std::swap(TBB, FBB);
1316 finishCondBranch(BI->getParent(), TBB, FBB);
H A DARMBaseInstrInfo.h140 MachineBasicBlock *&FBB,
146 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
H A DARMBaseInstrInfo.cpp314 MachineBasicBlock *&FBB,
318 FBB = nullptr;
352 assert(!FBB && "FBB should have been null.");
353 FBB = TBB;
374 FBB = nullptr;
431 MachineBasicBlock *FBB,
450 if (!FBB) {
470 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB).add(predOps(ARMCC::AL));
472 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB);
312 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
429 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
2076 isProfitableToIfCvt(MachineBasicBlock &TBB, unsigned TCycles, unsigned TExtra, MachineBasicBlock &FBB, unsigned FCycles, unsigned FExtra, BranchProbability Probability) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp836 MachineBasicBlock *&FBB,
941 FBB = LastInst.getOperand(0).getMBB();
951 FBB = LastInst.getOperand(0).getMBB();
961 FBB = LastInst.getOperand(0).getMBB();
975 FBB = LastInst.getOperand(0).getMBB();
989 FBB = LastInst.getOperand(0).getMBB();
1043 MachineBasicBlock *FBB,
1056 if (!FBB) {
1089 BuildMI(&MBB, DL, get(PPC::B)).addMBB(FBB);
834 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
1041 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
H A DPPCFastISel.cpp774 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
787 std::swap(TBB, FBB);
801 finishCondBranch(BI->getParent(), TBB, FBB);
807 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
H A DPPCISelDAGToDAG.cpp543 const BasicBlock *FBB = BBTerm->getSuccessor(1); local
546 auto FProb = FuncInfo.BPI->getEdgeProbability(BB, FBB);
569 << " -> " << FBB->getName() << ": " << FProb << "\n");
573 // If Dest BasicBlock is False-BasicBlock (FBB), swap branch probabilities,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp2315 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
2319 std::swap(TBB, FBB);
2414 finishCondBranch(BI->getParent(), TBB, FBB);
2427 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
2437 fastEmitBranch(FBB, DbgLoc);
2450 std::swap(TBB, FBB);
2488 finishCondBranch(BI->getParent(), TBB, FBB);
2493 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
2519 finishCondBranch(BI->getParent(), TBB, FBB);
2532 std::swap(TBB, FBB);
[all...]
H A DAArch64InstrInfo.cpp233 MachineBasicBlock *&FBB,
297 FBB = LastInst->getOperand(0).getMBB();
418 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
423 if (!FBB) {
437 BuildMI(&MBB, DL, get(AArch64::B)).addMBB(FBB);
231 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
417 insertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp865 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
867 if (!TII->analyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
H A DIfConversion.cpp115 /// TargetInstrInfo::analyzeBranch() (i.e. TBB, FBB, and Cond), and its
240 MachineBasicBlock &TBB, MachineBasicBlock &FBB,
741 MachineBasicBlock &TBB, MachineBasicBlock &FBB,
775 if (!TBB.succ_empty() || !FBB.succ_empty()) {
874 /// TBB FBB
1084 // | BB2 // if (c2) goto TBB; else goto FBB;
1089 // | FBB
1318 // TBB FBB
1331 // if TBB and FBB have a common tail that includes their conditional
1336 // TBB FBB
735 CountDuplicatedInstructions( MachineBasicBlock::iterator &TIB, MachineBasicBlock::iterator &FIB, MachineBasicBlock::iterator &TIE, MachineBasicBlock::iterator &FIE, unsigned &Dups1, unsigned &Dups2, MachineBasicBlock &TBB, MachineBasicBlock &FBB, bool SkipUnconditionalBranches) const argument
[all...]
H A DCodeGenPrepare.cpp7761 BasicBlock *TBB, *FBB; local
7762 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB)))
7770 if (TBB == FBB)
7808 auto *Br2 = IRBuilder<>(TmpBB).CreateCondBr(Cond2, TBB, FBB);
7824 std::swap(TBB, FBB);
7830 for (PHINode &PN : FBB->phis()) {
7844 // jmp FBB
7875 // jmp FBB
7878 // jmp FBB
H A DMachinePipeliner.cpp341 LI.FBB = nullptr;
343 if (TII->analyzeBranch(*L.getHeader(), LI.TBB, LI.FBB, LI.BrCond)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp393 MachineBasicBlock *&FBB,
397 FBB = nullptr;
521 FBB = LastInst->getOperand(0).getMBB();
533 FBB = LastInst->getOperand(0).getMBB();
552 FBB = LastInst->getOperand(0).getMBB();
586 MachineBasicBlock *FBB,
602 if (!FBB) {
678 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB);
391 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
584 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
H A DHexagonHardwareLoops.cpp1464 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
1466 if (TII->analyzeBranch(*MI->getParent(), TBB, FBB, Cond, false))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2955 // Given a MBB and its TBB, find the FBB which was a fallthrough MBB (it may
2977 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
3014 FBB = nullptr;
3080 FBB = TBB;
3108 if (NewTBB != (FBB ? FBB : getFallThroughMBB(&MBB, TBB)))
3144 MachineBasicBlock *&FBB,
3148 return AnalyzeBranchImpl(MBB, TBB, FBB, Cond, CondBranches, AllowModify);
3245 MachineBasicBlock *FBB,
3257 assert(!FBB
2976 AnalyzeBranchImpl( MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, SmallVectorImpl<MachineInstr *> &CondBranches, bool AllowModify) const argument
3142 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
3243 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1271 MachineBasicBlock *FBB = FuncInfo.MBBMap[Br->getSuccessor(1)]; local
1286 finishCondBranch(Br->getParent(), TBB, FBB);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp947 // FBB is the basic block for the case where the comparison is false.
949 // goto FBB
953 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
980 finishCondBranch(BI->getParent(), TBB, FBB);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2056 MachineBasicBlock *FBB,
2088 TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb);
2097 nullptr, TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb);
2103 MachineBasicBlock *FBB,
2115 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb,
2143 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB,
2161 // jmp FBB
2185 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc,
2192 // jmp FBB
2195 // jmp FBB
2054 EmitBranchForMergedCondition(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument
2101 FindMergedConditions(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, Instruction::BinaryOps Opc, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument
[all...]

Completed in 621 milliseconds

123