Home
last modified time | relevance | path

Searched refs:FBB (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp98 MachineBasicBlock *FBB; member in __anon1fac302f0111::SSAIfConv
102 bool isTriangle() const { return TBB == Tail || FBB == Tail; } in isTriangle()
108 MachineBasicBlock *getFPred() const { return FBB == Tail ? Head : FBB; } in getFPred()
434 TBB = FBB = Tail = nullptr; in canConvertIf()
482 if (TII->analyzeBranch(*Head, TBB, FBB, Cond)) { in canConvertIf()
502 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
536 if (FBB != Tail && !canPredicateInstrs(FBB)) in canConvertIf()
541 if (FBB != Tail && !canSpeculateInstrs(FBB)) in canConvertIf()
626 assert(Head && Tail && TBB && FBB && "Call canConvertIf first."); in convertIf()
640 if (FBB != Tail) { in convertIf()
[all …]
DBranchRelaxation.cpp304 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in fixupConditionalBranch() local
316 MachineBasicBlock *FBB, in fixupConditionalBranch()
320 TII->insertBranch(*MBB, TBB, FBB, Cond, DL, &NewBrSize); in fixupConditionalBranch()
340 bool Fail = TII->analyzeBranch(*MBB, TBB, FBB, Cond); in fixupConditionalBranch()
354 if (FBB && isBlockInRange(MI, *FBB)) { in fixupConditionalBranch()
367 insertBranch(MBB, FBB, TBB, Cond); in fixupConditionalBranch()
371 if (FBB) { in fixupConditionalBranch()
376 insertUncondBranch(NewBB, FBB); in fixupConditionalBranch()
379 MBB->replaceSuccessor(FBB, NewBB); in fixupConditionalBranch()
380 NewBB->addSuccessor(FBB); in fixupConditionalBranch()
[all …]
DBranchFolding.cpp207 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
209 if (!TII->analyzeBranch(MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
210 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
468 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in FixTail() local
471 if (I != MF->end() && !TII->analyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
473 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
1138 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in TailMergeBlocks() local
1140 if (!TII->analyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
1148 if (!FBB) { in TailMergeBlocks()
1151 FBB = &*Next; in TailMergeBlocks()
[all …]
DMachineLoopUtils.cpp120 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in PeelSingleBlockLoop() local
122 bool CanAnalyzeBr = !TII->analyzeBranch(*Loop, TBB, FBB, Cond); in PeelSingleBlockLoop()
127 FBB == Exit ? NewBB : FBB, Cond, DL); in PeelSingleBlockLoop()
DMachineBasicBlock.cpp538 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in updateTerminator() local
541 bool B = TII->analyzeBranch(*this, TBB, FBB, Cond); in updateTerminator()
574 if (FBB) { in updateTerminator()
582 TII->insertBranch(*this, FBB, nullptr, Cond, DL); in updateTerminator()
583 } else if (isLayoutSuccessor(FBB)) { in updateTerminator()
838 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in getFallThrough() local
841 if (TII->analyzeBranch(*this, TBB, FBB, Cond)) { in getFallThrough()
858 MachineFunction::iterator(FBB) == Fallthrough) in getFallThrough()
867 return (FBB == nullptr) ? &*Fallthrough : nullptr; in getFallThrough()
1122 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in canSplitCriticalEdge() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp90 MachineBasicBlock *FBB; member
150 assert(SaveMBB == PredMBBInfo->TBB || SaveMBB == PredMBBInfo->FBB); in findPath()
151 bool IsFalseBranch = (SaveMBB == PredMBBInfo->FBB); in findPath()
233 MBBInfo->FBB = NewDest; in replaceBrDest()
259 .addMBB(MBBInfo->FBB); in fixupModifiedCond()
297 replaceBrDest(PredMBB, &MBB, MBBInfo->FBB); in optimizeCondBr()
322 .addMBB(RootMBBInfo->FBB).addImm(NewCC); in optimizeCondBr()
369 fixBranchProb(MBBInfo->FBB); in optimizeCondBr()
481 MachineBasicBlock *FBB; in analyzeMBB() local
494 FBB = TBB = nullptr; in analyzeMBB()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp177 MachineBasicBlock *&FBB, in analyzeBranch() argument
214 FBB = nullptr; in analyzeBranch()
238 FBB = TBB; in analyzeBranch()
267 MachineBasicBlock *FBB, in insertBranch() argument
279 assert(!FBB && "Unconditional branch with multiple successors!"); in insertBranch()
289 if (FBB) { in insertBranch()
291 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB); in insertBranch()
DMSP430InstrInfo.h61 MachineBasicBlock *&FBB,
68 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCInstrInfo.cpp172 MachineBasicBlock *&FBB, in analyzeBranch() argument
175 TBB = FBB = nullptr; in analyzeBranch()
205 assert(!FBB && "FBB should have been null."); in analyzeBranch()
206 FBB = TBB; in analyzeBranch()
226 FBB = nullptr; in analyzeBranch()
372 MachineBasicBlock *FBB, in insertBranch() argument
394 if (!FBB) { in insertBranch()
399 BuildMI(&MBB, dl, get(ARC::BR)).addMBB(FBB); in insertBranch()
DARCInstrInfo.h54 MachineBasicBlock *&FBB,
59 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp97 MachineBasicBlock *&FBB, in analyzeBranch() argument
135 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
182 MachineBasicBlock *FBB, in insertBranch() argument
194 if (!FBB) { in insertBranch()
205 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(FBB); in insertBranch()
DNVPTXInstrInfo.h57 MachineBasicBlock *&FBB,
63 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SpeculationHardening.cpp153 MachineBasicBlock *&FBB,
187 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in endsWithCondControlFlow() argument
190 if (TII->analyzeBranch(MBB, TBB, FBB, analyzeBranchCondCode, false)) in endsWithCondControlFlow()
201 if (FBB == nullptr) in endsWithCondControlFlow()
202 FBB = MBB.getFallThrough(); in endsWithCondControlFlow()
207 if (TBB == FBB) in endsWithCondControlFlow()
246 MachineBasicBlock *FBB = nullptr; in instrumentControlFlow() local
249 if (!endsWithCondControlFlow(MBB, TBB, FBB, CondCode)) { in instrumentControlFlow()
259 MachineBasicBlock *SplitEdgeFBB = MBB.SplitCriticalEdge(FBB, *this); in instrumentControlFlow()
DAArch64A53Fix835769.cpp139 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in getBBFallenThrough() local
144 if (S == PrevBB && !TII->analyzeBranch(*PrevBB, TBB, FBB, Cond) && !TBB && in getBBFallenThrough()
145 !FBB) in getBBFallenThrough()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp104 MachineBasicBlock *&FBB, in analyzeBranch() argument
140 FBB = MI.getOperand(0).getMBB(); in analyzeBranch()
181 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in insertBranch() argument
213 if (!FBB) in insertBranch()
216 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(FBB); in insertBranch()
DWebAssemblyInstrInfo.h57 MachineBasicBlock *&FBB,
63 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp161 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in isJumpOutOfRange() local
165 if (HII->analyzeBranch(B, TBB, FBB, Cond, false)) { in isJumpOutOfRange()
177 if (FBB) { in isJumpOutOfRange()
186 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRInstrInfo.cpp265 MachineBasicBlock *&FBB, in analyzeBranch() argument
307 FBB = 0; in analyzeBranch()
369 FBB = TBB; in analyzeBranch()
400 MachineBasicBlock *FBB, in insertBranch() argument
412 assert(!FBB && "Unconditional branch with multiple successors!"); in insertBranch()
427 if (FBB) { in insertBranch()
429 auto &MI = *BuildMI(&MBB, DL, get(AVR::RJMPk)).addMBB(FBB); in insertBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrInfo.h64 MachineBasicBlock *&FBB,
72 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
80 MachineBasicBlock *&FBB,
DMipsInstrInfo.cpp96 MachineBasicBlock *&FBB, in analyzeBranch() argument
100 BranchType BT = analyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs); in analyzeBranch()
122 MachineBasicBlock *FBB, in insertBranch() argument
139 if (FBB) { in insertBranch()
141 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(FBB); in insertBranch()
191 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in analyzeBranch() argument
203 TBB = FBB = nullptr; in analyzeBranch()
273 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrInfo.cpp166 MachineBasicBlock *&FBB, in analyzeBranch() argument
198 FBB = nullptr; in analyzeBranch()
221 MachineBasicBlock *FBB, in insertBranch() argument
232 assert(!FBB && "Unconditional branch with multiple successors!"); in insertBranch()
DBPFInstrInfo.h49 MachineBasicBlock *&FBB,
56 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp191 MachineBasicBlock *&FBB, in analyzeBranch() argument
244 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
273 MachineBasicBlock *FBB, in insertBranch() argument
283 if (!FBB) { // One way branch. in insertBranch()
301 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(FBB); in insertBranch()
DXCoreInstrInfo.h53 MachineBasicBlock *&FBB,
58 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcInstrInfo.h68 MachineBasicBlock *&FBB,
76 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,

123456