Home
last modified time | relevance | path

Searched refs:StoreBB (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp202 auto StoreBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP() local
206 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP()
207 MF->insert(++StoreBB->getIterator(), DoneBB); in expandCMP_SWAP()
228 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP()
233 BuildMI(StoreBB, DL, TII->get(StlrOp), StatusReg) in expandCMP_SWAP()
236 BuildMI(StoreBB, DL, TII->get(AArch64::CBNZW)) in expandCMP_SWAP()
239 StoreBB->addSuccessor(LoadCmpBB); in expandCMP_SWAP()
240 StoreBB->addSuccessor(DoneBB); in expandCMP_SWAP()
253 computeAndAddLiveIns(LiveRegs, *StoreBB); in expandCMP_SWAP()
256 StoreBB->clearLiveIns(); in expandCMP_SWAP()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp1607 auto StoreBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in ExpandCMP_SWAP() local
1611 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in ExpandCMP_SWAP()
1612 MF->insert(++StoreBB->getIterator(), DoneBB); in ExpandCMP_SWAP()
1646 LoadCmpBB->addSuccessor(StoreBB); in ExpandCMP_SWAP()
1652 MIB = BuildMI(StoreBB, DL, TII->get(StrexOp), TempReg) in ExpandCMP_SWAP()
1660 BuildMI(StoreBB, DL, TII->get(CMPri)) in ExpandCMP_SWAP()
1664 BuildMI(StoreBB, DL, TII->get(Bcc)) in ExpandCMP_SWAP()
1668 StoreBB->addSuccessor(LoadCmpBB); in ExpandCMP_SWAP()
1669 StoreBB->addSuccessor(DoneBB); in ExpandCMP_SWAP()
1682 computeAndAddLiveIns(LiveRegs, *StoreBB); in ExpandCMP_SWAP()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1464 BasicBlock *StoreBB = SI.getParent(); in mergeStoreIntoSuccessor() local
1465 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0); in mergeStoreIntoSuccessor()
1471 if (*PredIter == StoreBB) in mergeStoreIntoSuccessor()
1477 if (StoreBB == DestBB || OtherBB == DestBB) in mergeStoreIntoSuccessor()
1507 if (OtherBr->getSuccessor(0) != StoreBB && in mergeStoreIntoSuccessor()
1508 OtherBr->getSuccessor(1) != StoreBB) in mergeStoreIntoSuccessor()
1531 for (BasicBlock::iterator I = StoreBB->begin(); &*I != &SI; ++I) { in mergeStoreIntoSuccessor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp359 BasicBlock *StoreBB = OnlyStore->getParent(); in rewriteSingleStoreAlloca() local
376 if (LI->getParent() == StoreBB) { in rewriteSingleStoreAlloca()
385 Info.UsingBlocks.push_back(StoreBB); in rewriteSingleStoreAlloca()
388 } else if (!DT.dominates(StoreBB, LI->getParent())) { in rewriteSingleStoreAlloca()
H A DSimplifyCFG.cpp2223 BasicBlock *StoreBB, BasicBlock *EndBB) { in isSafeToSpeculateStore() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCall.cpp3194 llvm::BasicBlock *StoreBB = store->getParent(); in findDominatingStoreToReturnValue() local
3196 while (IP != StoreBB) { in findDominatingStoreToReturnValue()