Home
last modified time | relevance | path

Searched refs:OtherBB (Results 1 – 25 of 53) sorted by relevance

123

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/CISACodeGen/
H A DAdvMemOpt.cpp136 BasicBlock* OtherBB = *BI; in runOnFunction() local
137 if (CurrBB == OtherBB || !L->contains(OtherBB)) in runOnFunction()
139 if (DT->dominates(CurrBB, OtherBB) && PDT->dominates(OtherBB, CurrBB)) { in runOnFunction()
140 BB = OtherBB; in runOnFunction()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/4.0/
H A DInstCombineLoadStoreAlloca.cpp1334 BasicBlock *OtherBB = nullptr; in SimplifyStoreAtEndOfBlock() local
1337 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1344 if (OtherBB) in SimplifyStoreAtEndOfBlock()
1346 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1353 if (StoreBB == DestBB || OtherBB == DestBB) in SimplifyStoreAtEndOfBlock()
1357 BasicBlock::iterator BBI(OtherBB->getTerminator()); in SimplifyStoreAtEndOfBlock()
1359 if (!OtherBr || BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1370 if (BBI==OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1401 BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1420 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in SimplifyStoreAtEndOfBlock()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombineLoadStoreAlloca.cpp1549 BasicBlock* OtherBB = nullptr; in SimplifyStoreAtEndOfBlock() local
1552 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1559 if (OtherBB) in SimplifyStoreAtEndOfBlock()
1561 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1568 if (StoreBB == DestBB || OtherBB == DestBB) in SimplifyStoreAtEndOfBlock()
1572 BasicBlock::iterator BBI(OtherBB->getTerminator()); in SimplifyStoreAtEndOfBlock()
1574 if (!OtherBr || BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1585 if (BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1617 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1636 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in SimplifyStoreAtEndOfBlock()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1538 BasicBlock *OtherBB = nullptr; in SimplifyStoreAtEndOfBlock() local
1541 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1548 if (OtherBB) in SimplifyStoreAtEndOfBlock()
1550 OtherBB = P; in SimplifyStoreAtEndOfBlock()
1557 if (StoreBB == DestBB || OtherBB == DestBB) in SimplifyStoreAtEndOfBlock()
1561 BasicBlock::iterator BBI(OtherBB->getTerminator()); in SimplifyStoreAtEndOfBlock()
1563 if (!OtherBr || BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1574 if (BBI==OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1605 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in SimplifyStoreAtEndOfBlock()
1624 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in SimplifyStoreAtEndOfBlock()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1462 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1466 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1470 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1472 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1483 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1514 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1535 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1526 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1530 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1534 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1536 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1547 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1578 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1599 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1485 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1489 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1493 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1495 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1506 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1537 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1558 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1450 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1454 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1458 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1460 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1471 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1502 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1523 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1526 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1530 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1534 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1536 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1547 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1578 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1599 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1485 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1489 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1493 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1495 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1506 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1537 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1558 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1472 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1476 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1480 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1482 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1493 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1524 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1545 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1450 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1454 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1458 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1460 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1471 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1502 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1523 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1526 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1530 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1534 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1536 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1547 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1578 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1599 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1485 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1489 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1493 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1495 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1506 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1537 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1558 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1472 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1476 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1480 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1482 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1493 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1524 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1545 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1485 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1489 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1493 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1495 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1506 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1537 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1558 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1472 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1476 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1480 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1482 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1493 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1524 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1545 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1535 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1539 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1543 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1545 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1556 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1587 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1608 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1485 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1489 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1493 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1495 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1506 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1537 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1558 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1545 BasicBlock *OtherBB = *PredIter; in mergeStoreIntoSuccessor() local
1549 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1553 BasicBlock::iterator BBI(OtherBB->getTerminator()); in mergeStoreIntoSuccessor()
1555 if (!OtherBr || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1566 if (BBI==OtherBB->begin()) in mergeStoreIntoSuccessor()
1597 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor()
1618 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp317 for (MachineBasicBlock &OtherBB : MF) { in emitEntryFunctionPrologue()
318 if (&OtherBB == &MBB) in emitEntryFunctionPrologue()
322 OtherBB.addLiveIn(ScratchWaveOffsetReg); in emitEntryFunctionPrologue()
325 OtherBB.addLiveIn(ScratchRsrcReg); in emitEntryFunctionPrologue()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp317 for (MachineBasicBlock &OtherBB : MF) { in emitEntryFunctionPrologue()
318 if (&OtherBB == &MBB) in emitEntryFunctionPrologue()
322 OtherBB.addLiveIn(ScratchWaveOffsetReg); in emitEntryFunctionPrologue()
325 OtherBB.addLiveIn(ScratchRsrcReg); in emitEntryFunctionPrologue()
/dports/devel/llvm90/llvm-9.0.1.src/lib/CodeGen/
H A DMachineBlockPlacement.cpp1793 MachineBasicBlock *OtherBB = *Pred->succ_begin(); in canMoveBottomBlockToTop() local
1794 if (OtherBB == BottomBlock) in canMoveBottomBlockToTop()
1795 OtherBB = *Pred->succ_rbegin(); in canMoveBottomBlockToTop()
1796 if (OtherBB == OldTop) in canMoveBottomBlockToTop()
1978 MachineBasicBlock *OtherBB = nullptr; in findBestLoopTopHelper() local
1980 OtherBB = *Pred->succ_begin(); in findBestLoopTopHelper()
1981 if (OtherBB == OldTop) in findBestLoopTopHelper()
1982 OtherBB = *Pred->succ_rbegin(); in findBestLoopTopHelper()
1988 BlockFrequency Gains = FallThroughGains(Pred, OldTop, OtherBB, in findBestLoopTopHelper()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp1889 MachineBasicBlock *OtherBB = *Pred->succ_begin(); in canMoveBottomBlockToTop() local
1890 if (OtherBB == BottomBlock) in canMoveBottomBlockToTop()
1891 OtherBB = *Pred->succ_rbegin(); in canMoveBottomBlockToTop()
1892 if (OtherBB == OldTop) in canMoveBottomBlockToTop()
2074 MachineBasicBlock *OtherBB = nullptr; in findBestLoopTopHelper() local
2076 OtherBB = *Pred->succ_begin(); in findBestLoopTopHelper()
2077 if (OtherBB == OldTop) in findBestLoopTopHelper()
2078 OtherBB = *Pred->succ_rbegin(); in findBestLoopTopHelper()
2084 BlockFrequency Gains = FallThroughGains(Pred, OldTop, OtherBB, in findBestLoopTopHelper()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp1850 MachineBasicBlock *OtherBB = *Pred->succ_begin(); in canMoveBottomBlockToTop() local
1851 if (OtherBB == BottomBlock) in canMoveBottomBlockToTop()
1852 OtherBB = *Pred->succ_rbegin(); in canMoveBottomBlockToTop()
1853 if (OtherBB == OldTop) in canMoveBottomBlockToTop()
2035 MachineBasicBlock *OtherBB = nullptr; in findBestLoopTopHelper() local
2037 OtherBB = *Pred->succ_begin(); in findBestLoopTopHelper()
2038 if (OtherBB == OldTop) in findBestLoopTopHelper()
2039 OtherBB = *Pred->succ_rbegin(); in findBestLoopTopHelper()
2045 BlockFrequency Gains = FallThroughGains(Pred, OldTop, OtherBB, in findBestLoopTopHelper()

123