Home
last modified time | relevance | path

Searched refs:Reachable (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Analysis/
DReachableCode.cpp268 llvm::BitVector &Reachable, in scanFromBlock() argument
278 if (!Reachable[Start->getBlockID()]) { in scanFromBlock()
280 Reachable[Start->getBlockID()] = true; in scanFromBlock()
322 if (!Reachable[blockID]) { in scanFromBlock()
323 Reachable.set(blockID); in scanFromBlock()
335 llvm::BitVector &Reachable) { in scanMaybeReachableFromBlock() argument
336 return scanFromBlock(Start, Reachable, &PP, true); in scanMaybeReachableFromBlock()
346 llvm::BitVector &Reachable; member in __anon17ba708d0111::DeadCodeScan
358 Reachable(reachable), in DeadCodeScan()
377 if (Reachable[blockID] || Visited[blockID]) in enqueue()
[all …]
DThreadSafety.cpp311 bool Reachable; // Is this block reachable? member
322 : EntryContext(EmptyCtx), ExitContext(EmptyCtx), Reachable(false) in CFGBlockInfo()
2127 BlockInfo[CFGraph->getEntry().getBlockID()].Reachable = true; in runAnalysis()
2228 if (neverReturns(*PI) || !PrevBlockInfo->Reachable) in runAnalysis()
2232 CurrBlockInfo->Reachable = true; in runAnalysis()
2259 if (!CurrBlockInfo->Reachable) in runAnalysis()
2350 if (!Final->Reachable) in runAnalysis()
DCFG.cpp4421 bool Reachable = true; in print_block() local
4423 Reachable = false; in print_block()
4428 if (!Reachable) in print_block()
4460 bool Reachable = true; in print_block() local
4462 Reachable = false; in print_block()
4468 if (!Reachable) in print_block()
DConsumed.cpp1161 if (this->From && this->From == Other.From && !Other.Reachable) { in intersect()
1199 this->Reachable = false; in markUnreachable()
/external/llvm/unittests/ADT/
DSCCIteratorTest.cpp138 NodeSubset Reachable; in NodesReachableFrom() local
141 Reachable.AddNode(Idx); in NodesReachableFrom()
143 NodeSubset Previous(Reachable); in NodesReachableFrom()
148 Reachable = Reachable.Join(Nodes[i].second); in NodesReachableFrom()
151 if (Reachable == Previous) in NodesReachableFrom()
152 return Reachable; in NodesReachableFrom()
/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp64 SmallPtrSet<BasicBlock*, 8> Reachable; in runOnFunction() local
67 for (BasicBlock *BB : depth_first_ext(&F, Reachable)) in runOnFunction()
74 if (!Reachable.count(&*I)) { in runOnFunction()
119 SmallPtrSet<MachineBasicBlock*, 8> Reachable; in runOnMachineFunction() local
127 for (MachineBasicBlock *BB : depth_first_ext(&F, Reachable)) in runOnMachineFunction()
137 if (!Reachable.count(BB)) { in runOnMachineFunction()
DPrologEpilogInserter.cpp816 SmallPtrSet<MachineBasicBlock*, 8> Reachable; in replaceFrameIndices() local
819 for (auto DFI = df_ext_begin(&Fn, Reachable), DFE = df_ext_end(&Fn, Reachable); in replaceFrameIndices()
825 assert(Reachable.count(StackPred) && in replaceFrameIndices()
836 if (Reachable.count(&BB)) in replaceFrameIndices()
DMachineVerifier.cpp1782 SmallPtrSet<const MachineBasicBlock*, 8> Reachable; in verifyStackFrame() local
1787 DFI = df_ext_begin(MF, Reachable), DFE = df_ext_end(MF, Reachable); in verifyStackFrame()
1795 assert(Reachable.count(StackPred) && in verifyStackFrame()
1842 if (Reachable.count(*I) && in verifyStackFrame()
1858 if (Reachable.count(*I) && in verifyStackFrame()
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h139 bool Reachable;
145 ConsumedStateMap() : Reachable(true), From(nullptr) {} in ConsumedStateMap()
147 : Reachable(Other.Reachable), From(Other.From), VarMap(Other.VarMap), in ConsumedStateMap()
172 bool isReachable() const { return Reachable; } in isReachable()
DReachableCode.h62 llvm::BitVector &Reachable);
/external/valgrind/memcheck/tests/
Dleak-segv-jmp.stderr.exp11 Reachable blocks (those to which a pointer was found) are not shown.
26 Reachable blocks (those to which a pointer was found) are not shown.
42 Reachable blocks (those to which a pointer was found) are not shown.
58 Reachable blocks (those to which a pointer was found) are not shown.
79 Reachable blocks (those to which a pointer was found) are not shown.
Dlks.stderr.exp57 Reachable blocks (those to which a pointer was found) are not shown.
Dleak_cpp_interior.stderr.exp-64bit19 Reachable blocks (those to which a pointer was found) are not shown.
Dleak_cpp_interior.stderr.exp19 Reachable blocks (those to which a pointer was found) are not shown.
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1240 SmallPtrSetImpl<BasicBlock*> &Reachable) { in markAliveBlocks() argument
1245 Reachable.insert(BB); in markAliveBlocks()
1328 if (Reachable.insert(*SI).second) in markAliveBlocks()
1372 SmallPtrSet<BasicBlock*, 128> Reachable; in removeUnreachableBlocks() local
1373 bool Changed = markAliveBlocks(F, Reachable); in removeUnreachableBlocks()
1376 if (Reachable.size() == F.size()) in removeUnreachableBlocks()
1379 assert(Reachable.size() < F.size()); in removeUnreachableBlocks()
1380 NumRemoved += F.size()-Reachable.size(); in removeUnreachableBlocks()
1385 if (Reachable.count(&*BB)) in removeUnreachableBlocks()
1390 if (Reachable.count(*SI)) in removeUnreachableBlocks()
[all …]
/external/clang/lib/Sema/
DJumpDiagnostics.cpp642 llvm::BitVector Reachable(Scopes.size(), false); in VerifyIndirectJumps() local
648 Reachable.reset(); in VerifyIndirectJumps()
655 Reachable.set(Min); in VerifyIndirectJumps()
679 if (Reachable.test(Scope)) { in VerifyIndirectJumps()
683 Reachable.set(S); in VerifyIndirectJumps()
/external/valgrind/memcheck/
Dmc_leakcheck.c893 if (ex->state == Reachable) { in lc_push_without_clique_if_a_chunk_ptr()
907 ch_via_ptr = Reachable; in lc_push_without_clique_if_a_chunk_ptr()
913 ch_via_ptr = Reachable; in lc_push_without_clique_if_a_chunk_ptr()
919 if (ch_via_ptr == Reachable && is_prior_definite) { in lc_push_without_clique_if_a_chunk_ptr()
923 ex->state = Reachable; in lc_push_without_clique_if_a_chunk_ptr()
1477 } else if (Reachable == lr->key.state) { in print_results()
1552 MC_(blocks_reachable) > 0 && !RiS(Reachable,lcp->show_leak_kinds)) { in print_results()
1681 if (ex->state != Reachable) { in MC_()
Dmc_errors.c235 case Reachable: loss = "still reachable"; break; in str_leak_lossmode()
247 case Reachable: loss = "Leak_StillReachable"; break; in xml_leak_kind()
274 case Reachable: return "reachable"; in pp_Reachedness_for_leak_kinds()
Dmc_include.h371 Reachable =0, // Definitely reachable from root-set. enumerator
Dmc_main.c5777 MC_(clo_show_leak_kinds) &= ~R2S(Reachable); in mc_process_cmd_line_options()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyPEI.cpp832 SmallPtrSet<MachineBasicBlock*, 8> Reachable; in replaceFrameIndices() local
835 for (auto DFI = df_ext_begin(&Fn, Reachable), DFE = df_ext_end(&Fn, Reachable); in replaceFrameIndices()
841 assert(Reachable.count(StackPred) && in replaceFrameIndices()
852 if (Reachable.count(&BB)) in replaceFrameIndices()
/external/selinux/sepolgen/src/sepolgen/
Dyacc.py801 Reachable = { }
803 Reachable[s] = 0
805 mark_reachable_from( Productions[0].prod[0], Reachable )
808 if not Reachable[s]:
811 def mark_reachable_from(s, Reachable): argument
815 if Reachable[s]:
818 Reachable[s] = 1
821 mark_reachable_from(r, Reachable)
/external/llvm/test/Transforms/GVN/
Dcrash.ll194 ;; Reachable code.