Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp616 auto StoreBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP() local
620 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP()
621 MF->insert(++StoreBB->getIterator(), DoneBB); in expandCMP_SWAP()
643 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP()
648 StoreBB->addLiveIn(Addr.getReg()); in expandCMP_SWAP()
649 StoreBB->addLiveIn(New.getReg()); in expandCMP_SWAP()
650 addPostLoopLiveIns(StoreBB, LiveRegs); in expandCMP_SWAP()
652 BuildMI(StoreBB, DL, TII->get(StlrOp), StatusReg) in expandCMP_SWAP()
655 BuildMI(StoreBB, DL, TII->get(AArch64::CBNZW)) in expandCMP_SWAP()
658 StoreBB->addSuccessor(LoadCmpBB); in expandCMP_SWAP()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp500 BasicBlock *StoreBB = SI.getParent(); in SimplifyStoreAtEndOfBlock() local
505 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0); in SimplifyStoreAtEndOfBlock()
513 if (P != StoreBB) in SimplifyStoreAtEndOfBlock()
520 if (P != StoreBB) { in SimplifyStoreAtEndOfBlock()
530 if (StoreBB == DestBB || OtherBB == DestBB) in SimplifyStoreAtEndOfBlock()
560 if (OtherBr->getSuccessor(0) != StoreBB && in SimplifyStoreAtEndOfBlock()
561 OtherBr->getSuccessor(1) != StoreBB) in SimplifyStoreAtEndOfBlock()
585 for (BasicBlock::iterator I = StoreBB->begin(); &*I != &SI; ++I) { in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Target/ARM/
DARMExpandPseudoInsts.cpp784 auto StoreBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in ExpandCMP_SWAP() local
788 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in ExpandCMP_SWAP()
789 MF->insert(++StoreBB->getIterator(), DoneBB); in ExpandCMP_SWAP()
826 LoadCmpBB->addSuccessor(StoreBB); in ExpandCMP_SWAP()
832 StoreBB->addLiveIn(Addr.getReg()); in ExpandCMP_SWAP()
833 StoreBB->addLiveIn(New.getReg()); in ExpandCMP_SWAP()
834 addPostLoopLiveIns(StoreBB, LiveRegs); in ExpandCMP_SWAP()
837 MIB = BuildMI(StoreBB, DL, TII->get(StrexOp), StatusReg); in ExpandCMP_SWAP()
845 AddDefaultPred(BuildMI(StoreBB, DL, TII->get(CMPri)) in ExpandCMP_SWAP()
848 BuildMI(StoreBB, DL, TII->get(Bcc)) in ExpandCMP_SWAP()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp1283 BasicBlock *StoreBB = SI.getParent(); in SimplifyStoreAtEndOfBlock() local
1288 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0); in SimplifyStoreAtEndOfBlock()
1296 if (P != StoreBB) in SimplifyStoreAtEndOfBlock()
1303 if (P != StoreBB) { in SimplifyStoreAtEndOfBlock()
1313 if (StoreBB == DestBB || OtherBB == DestBB) in SimplifyStoreAtEndOfBlock()
1343 if (OtherBr->getSuccessor(0) != StoreBB && in SimplifyStoreAtEndOfBlock()
1344 OtherBr->getSuccessor(1) != StoreBB) in SimplifyStoreAtEndOfBlock()
1368 for (BasicBlock::iterator I = StoreBB->begin(); &*I != &SI; ++I) { in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp342 BasicBlock *StoreBB = OnlyStore->getParent(); in rewriteSingleStoreAlloca() local
361 if (LI->getParent() == StoreBB) { in rewriteSingleStoreAlloca()
370 Info.UsingBlocks.push_back(StoreBB); in rewriteSingleStoreAlloca()
374 } else if (LI->getParent() != StoreBB && in rewriteSingleStoreAlloca()
375 !DT.dominates(StoreBB, LI->getParent())) { in rewriteSingleStoreAlloca()
DSimplifyCFG.cpp1521 BasicBlock *StoreBB, BasicBlock *EndBB) { in isSafeToSpeculateStore() argument
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp836 BasicBlock *StoreBB = OnlyStore->getParent(); in RewriteSingleStoreAlloca() local
855 if (LI->getParent() == StoreBB) { in RewriteSingleStoreAlloca()
864 Info.UsingBlocks.push_back(StoreBB); in RewriteSingleStoreAlloca()
868 } else if (LI->getParent() != StoreBB && in RewriteSingleStoreAlloca()
869 !dominates(StoreBB, LI->getParent())) { in RewriteSingleStoreAlloca()
/external/clang/lib/CodeGen/
DCGCall.cpp2652 llvm::BasicBlock *StoreBB = store->getParent(); in findDominatingStoreToReturnValue() local
2654 while (IP != StoreBB) { in findDominatingStoreToReturnValue()