/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | EarlyIfConversion.cpp | 98 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 …]
|
D | BranchRelaxation.cpp | 304 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 …]
|
D | BranchFolding.cpp | 207 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 …]
|
D | MachineLoopUtils.cpp | 120 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()
|
D | MachineBasicBlock.cpp | 538 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/ |
D | X86CondBrFolding.cpp | 90 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/ |
D | MSP430InstrInfo.cpp | 177 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()
|
D | MSP430InstrInfo.h | 61 MachineBasicBlock *&FBB, 68 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCInstrInfo.cpp | 172 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()
|
D | ARCInstrInfo.h | 54 MachineBasicBlock *&FBB, 59 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.cpp | 97 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()
|
D | NVPTXInstrInfo.h | 57 MachineBasicBlock *&FBB, 63 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64SpeculationHardening.cpp | 153 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()
|
D | AArch64A53Fix835769.cpp | 139 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/ |
D | WebAssemblyInstrInfo.cpp | 104 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()
|
D | WebAssemblyInstrInfo.h | 57 MachineBasicBlock *&FBB, 63 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonBranchRelaxation.cpp | 161 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/ |
D | AVRInstrInfo.cpp | 265 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/ |
D | MipsInstrInfo.h | 64 MachineBasicBlock *&FBB, 72 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, 80 MachineBasicBlock *&FBB,
|
D | MipsInstrInfo.cpp | 96 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/ |
D | BPFInstrInfo.cpp | 166 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()
|
D | BPFInstrInfo.h | 49 MachineBasicBlock *&FBB, 56 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreInstrInfo.cpp | 191 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()
|
D | XCoreInstrInfo.h | 53 MachineBasicBlock *&FBB, 58 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcInstrInfo.h | 68 MachineBasicBlock *&FBB, 76 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
|