Home
last modified time | relevance | path

Searched refs:Succ1 (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp171 BasicBlock &Succ1 = *BI->getSuccessor(1); in runOnBasicBlock() local
173 if (&B == &Succ0 || &B == &Succ1 || &Succ0 == &Succ1) { in runOnBasicBlock()
179 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
184 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
185 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
186 return considerHoistingFromTo(Succ1, B); in runOnBasicBlock()
192 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
193 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
194 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
195 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
[all …]
DMergedLoadStoreMotion.cpp176 BasicBlock *Succ1 = BI->getSuccessor(1); in isDiamondHead() local
180 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
184 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
327 BasicBlock *Succ1 = BI->getSuccessor(1); in mergeLoads() local
329 int Size1 = Succ1->size(); in mergeLoads()
344 if (LoadInst *L1 = canHoistFromBlock(Succ1, L0)) { in mergeLoads()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp176 BasicBlock &Succ1 = *BI->getSuccessor(1); in runOnBasicBlock() local
178 if (&B == &Succ0 || &B == &Succ1 || &Succ0 == &Succ1) { in runOnBasicBlock()
184 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
189 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
190 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
191 return considerHoistingFromTo(Succ1, B); in runOnBasicBlock()
197 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
198 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
199 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
200 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
[all …]
DMergedLoadStoreMotion.cpp142 BasicBlock *Succ1 = BI->getSuccessor(1); in isDiamondHead() local
146 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
150 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp348 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvertIf() local
352 std::swap(Succ0, Succ1); in canConvertIf()
360 if (Tail != Succ1) { in canConvertIf()
362 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
363 Succ1->succ_begin()[0] != Tail) in canConvertIf()
367 << printMBBReference(*Succ1) << " -> " in canConvertIf()
403 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
DMachineBlockPlacement.cpp1024 MachineBasicBlock *Succ1 = BestA.Dest; in getBestTrellisSuccessor() local
1029 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor()
1249 const MachineBasicBlock *Succ1 = *BB->succ_begin(); in getLayoutSuccessorProbThreshold() local
1251 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp347 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvertIf() local
351 std::swap(Succ0, Succ1); in canConvertIf()
359 if (Tail != Succ1) { in canConvertIf()
361 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
362 Succ1->succ_begin()[0] != Tail) in canConvertIf()
366 << "/BB#" << Succ1->getNumber() in canConvertIf()
402 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
DMachineBlockPlacement.cpp527 const MachineBasicBlock *Succ1 = *BB->succ_begin(); in getLayoutSuccessorProbThreshold() local
529 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp563 auto GetReturnBlock = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument
564 if (IsReturnBlock(Succ1)) in computeOutliningInfo()
565 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo()
567 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo()
573 auto GetCommonSucc = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument
574 if (IsSuccessor(Succ1, Succ2)) in computeOutliningInfo()
575 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo()
576 if (IsSuccessor(Succ2, Succ1)) in computeOutliningInfo()
577 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo()
597 BasicBlock *Succ1 = *succ_begin(CurrEntry); in computeOutliningInfo() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp440 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvert() local
444 std::swap(Succ0, Succ1); in canConvert()
451 Tail = Succ1; in canConvert()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp446 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvert() local
450 std::swap(Succ0, Succ1); in canConvert()
457 Tail = Succ1; in canConvert()