Home
last modified time | relevance | path

Searched refs:DeadBlocks (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp51 std::vector<BasicBlock*> DeadBlocks; in eliminateUnreachableBlock() local
55 DeadBlocks.push_back(BB); in eliminateUnreachableBlock()
66 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in eliminateUnreachableBlock()
67 DeadBlocks[i]->eraseFromParent(); in eliminateUnreachableBlock()
70 return !DeadBlocks.empty(); in eliminateUnreachableBlock()
146 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local
152 DeadBlocks.push_back(BB); in runOnMachineFunction()
179 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) in runOnMachineFunction()
180 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction()
219 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
/external/llvm-project/clang/lib/AST/Interp/
DInterpState.cpp36 while (DeadBlocks) { in ~InterpState()
37 DeadBlock *Next = DeadBlocks->Next; in ~InterpState()
38 free(DeadBlocks); in ~InterpState()
39 DeadBlocks = Next; in ~InterpState()
64 auto *D = new (Memory) DeadBlock(DeadBlocks, B); in deallocate()
DInterpState.h92 DeadBlock *DeadBlocks = nullptr; variable
/external/llvm-project/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp116 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local
122 DeadBlocks.push_back(BB); in runOnMachineFunction()
149 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in runOnMachineFunction()
151 for (auto &I : DeadBlocks[i]->instrs()) in runOnMachineFunction()
153 DeadBlocks[i]->getParent()->eraseCallSiteInfo(&I); in runOnMachineFunction()
155 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction()
209 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp118 std::vector<MachineBasicBlock*> DeadBlocks; in runOnMachineFunction() local
124 DeadBlocks.push_back(BB); in runOnMachineFunction()
151 for (unsigned i = 0, e = DeadBlocks.size(); i != e; ++i) { in runOnMachineFunction()
153 for (auto &I : DeadBlocks[i]->instrs()) in runOnMachineFunction()
155 DeadBlocks[i]->getParent()->eraseCallSiteInfo(&I); in runOnMachineFunction()
157 DeadBlocks[i]->eraseFromParent(); in runOnMachineFunction()
211 return (!DeadBlocks.empty() || ModifiedPHI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp993 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability()
2170 DeadBlocks.clear(); in runImpl()
2180 if (DeadBlocks.count(BB)) in processBlock()
2560 if (DeadBlocks.count(D)) in addDeadBlock()
2566 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
2571 if (DeadBlocks.count(S)) in addDeadBlock()
2576 if (!DeadBlocks.count(P)) { in addDeadBlock()
2600 if (DeadBlocks.count(B)) in addDeadBlock()
2607 if (!DeadBlocks.count(P)) in addDeadBlock()
2614 DeadBlocks.insert(P = S); in addDeadBlock()
[all …]
DMergeICmps.cpp748 SmallVector<BasicBlock *, 16> DeadBlocks; in simplify() local
751 DeadBlocks.push_back(Cmp.BB); in simplify()
753 DeleteDeadBlocks(DeadBlocks, &DTU); in simplify()
DSimpleLoopUnswitch.cpp1471 SmallVector<BasicBlock *, 16> DeadBlocks; in deleteDeadClonedBlocks() local
1478 DeadBlocks.push_back(ClonedBB); in deleteDeadClonedBlocks()
1483 SmallSetVector<BasicBlock *, 8> DeadBlockSet(DeadBlocks.begin(), in deleteDeadClonedBlocks()
1484 DeadBlocks.end()); in deleteDeadClonedBlocks()
1489 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks()
1492 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks()
/external/llvm-project/llvm/lib/IR/
DSafepointIRVerifier.cpp73 SetVector<const BasicBlock *> DeadBlocks; member in __anon4ae1c8d10111::CFGDeadness
103 return DeadBlocks.count(BB); in isDeadBlock()
133 DeadBlocks.insert(&BB); in processFunction()
176 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DSafepointIRVerifier.cpp72 SetVector<const BasicBlock *> DeadBlocks; member in __anon92b42b450111::CFGDeadness
102 return DeadBlocks.count(BB); in isDeadBlock()
132 DeadBlocks.insert(&BB); in processFunction()
175 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGVN.cpp1094 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability()
2352 DeadBlocks.clear(); in runImpl()
2365 if (DeadBlocks.count(BB)) in processBlock()
2757 if (DeadBlocks.count(D)) in addDeadBlock()
2763 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
2768 if (DeadBlocks.count(S)) in addDeadBlock()
2773 if (!DeadBlocks.count(P)) { in addDeadBlock()
2797 if (DeadBlocks.count(B)) in addDeadBlock()
2804 if (!DeadBlocks.count(P)) in addDeadBlock()
2810 DeadBlocks.insert(P = S); in addDeadBlock()
[all …]
DMergeICmps.cpp749 SmallVector<BasicBlock *, 16> DeadBlocks; in simplify() local
752 DeadBlocks.push_back(Cmp.BB); in simplify()
754 DeleteDeadBlocks(DeadBlocks, &DTU); in simplify()
DSimpleLoopUnswitch.cpp1508 SmallVector<BasicBlock *, 16> DeadBlocks; in deleteDeadClonedBlocks() local
1515 DeadBlocks.push_back(ClonedBB); in deleteDeadClonedBlocks()
1520 SmallSetVector<BasicBlock *, 8> DeadBlockSet(DeadBlocks.begin(), in deleteDeadClonedBlocks()
1521 DeadBlocks.end()); in deleteDeadClonedBlocks()
1526 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks()
1529 for (BasicBlock *BB : DeadBlocks) in deleteDeadClonedBlocks()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1361 if (DeadBlocks.count(DepBB)) { in AnalyzeLoadAvailability()
2240 DeadBlocks.clear(); in runImpl()
2250 if (DeadBlocks.count(BB)) in processBlock()
2579 if (DeadBlocks.count(D)) in addDeadBlock()
2585 DeadBlocks.insert(Dom.begin(), Dom.end()); in addDeadBlock()
2590 if (DeadBlocks.count(S)) in addDeadBlock()
2595 if (!DeadBlocks.count(P)) { in addDeadBlock()
2619 if (DeadBlocks.count(B)) in addDeadBlock()
2624 if (!DeadBlocks.count(P)) in addDeadBlock()
2629 DeadBlocks.insert(P = S); in addDeadBlock()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp126 std::vector<BasicBlock*> DeadBlocks; in EliminateUnreachableBlocks() local
130 DeadBlocks.push_back(BB); in EliminateUnreachableBlocks()
134 DeleteDeadBlocks(DeadBlocks, DTU, KeepOneInputPHIs); in EliminateUnreachableBlocks()
136 return !DeadBlocks.empty(); in EliminateUnreachableBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h247 void removeBlocks(const SmallSetVector<BasicBlock *, 8> &DeadBlocks);
/external/llvm-project/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h233 void removeBlocks(const SmallSetVector<BasicBlock *, 8> &DeadBlocks);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp247 SetVector<BasicBlock *> DeadBlocks; member in __anon18c107e60111::CallAnalyzer
554 if (DeadBlocks.count(L->getHeader())) in finalizeAnalysis()
772 if (DeadBlocks.count(Pred)) in visitPHI()
1869 return (DeadBlocks.count(Pred) || in findDeadBlocks()
1875 return (!DeadBlocks.count(BB) && in findDeadBlocks()
1887 if (DeadBlocks.insert(Dead)) in findDeadBlocks()
DMemorySSAUpdater.cpp1346 const SmallSetVector<BasicBlock *, 8> &DeadBlocks) { in removeBlocks() argument
1348 for (BasicBlock *BB : DeadBlocks) { in removeBlocks()
1352 if (!DeadBlocks.count(Succ)) in removeBlocks()
1364 for (BasicBlock *BB : DeadBlocks) { in removeBlocks()
/external/llvm/include/llvm/Transforms/Scalar/
DGVN.h111 SetVector<BasicBlock *> DeadBlocks;
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp126 std::vector<BasicBlock*> DeadBlocks; in EliminateUnreachableBlocks() local
130 DeadBlocks.push_back(BB); in EliminateUnreachableBlocks()
134 DeleteDeadBlocks(DeadBlocks, DTU, KeepOneInputPHIs); in EliminateUnreachableBlocks()
136 return !DeadBlocks.empty(); in EliminateUnreachableBlocks()
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp305 SetVector<BasicBlock *> DeadBlocks; member in __anonae1cb0f20111::CallAnalyzer
644 if (DeadBlocks.count(L->getHeader())) in finalizeAnalysis()
921 if (DeadBlocks.count(Pred)) in visitPHI()
2042 return (DeadBlocks.count(Pred) || in findDeadBlocks()
2048 return (!DeadBlocks.count(BB) && in findDeadBlocks()
2060 if (DeadBlocks.insert(Dead)) in findDeadBlocks()
DMemorySSAUpdater.cpp1368 const SmallSetVector<BasicBlock *, 8> &DeadBlocks) { in removeBlocks() argument
1370 for (BasicBlock *BB : DeadBlocks) { in removeBlocks()
1374 if (!DeadBlocks.count(Succ)) in removeBlocks()
1386 for (BasicBlock *BB : DeadBlocks) { in removeBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DGVN.h162 SetVector<BasicBlock *> DeadBlocks;
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DGVN.h219 SetVector<BasicBlock *> DeadBlocks;

12