Home
last modified time | relevance | path

Searched refs:addEdge (Results 1 – 25 of 33) sorted by relevance

12

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_bvgraph_test.cc46 bool addEdge(uptr from, uptr to) { in addEdge() function in SimpleGraph
87 EXPECT_EQ(g.addEdge(from, to), s_g.addEdge(from, to)); in BasicTest()
132 EXPECT_EQ(g.addEdge(from, to), s_g.addEdge(from, to)); in RemoveEdges()
186 g.addEdge(f0, f1); in Test_isReachable()
187 g.addEdge(f1, f2); in Test_isReachable()
188 g.addEdge(f2, f3); in Test_isReachable()
194 g.addEdge(f1, t0); in Test_isReachable()
207 g.addEdge(f3, t1); in Test_isReachable()
229 g.addEdge(i, i + 1); in LongCycle()
231 g.addEdge(i, j); in LongCycle()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
105 DAG->addEdge(&SU, Pred); in removeExportDependencies()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMacroFusion.cpp71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
127 DAG.addEdge(&FirstSU, SDep(&SU, SDep::Artificial)); in fuseInstructionPair()
H A DRegAllocPBQP.cpp428 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge()
486 G.addEdge(N1Id, N2Id, std::move(Costs)); in apply()
H A DMachineScheduler.cpp1637 if (!DAG->addEdge(SUb, SDep(SUa, SDep::Cluster))) in clusterNeighboringMemOps()
1654 DAG->addEdge(Succ.getSUnit(), SDep(SUb, SDep::Artificial)); in clusterNeighboringMemOps()
1668 DAG->addEdge(SUa, SDep(Pred.getSUnit(), SDep::Artificial)); in clusterNeighboringMemOps()
1933 DAG->addEdge(GlobalSU, SDep(LU, SDep::Weak)); in constrainLocalCopy()
1938 DAG->addEdge(FirstLocalSU, SDep(GU, SDep::Weak)); in constrainLocalCopy()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DCFGMST.h113 EntryIncoming = &addEdge(nullptr, Entry, EntryWeight); in buildEdges()
119 addEdge(Entry, nullptr, EntryWeight); in buildEdges()
145 auto *E = &addEdge(&BB, TargetBB, Weight); in buildEdges()
168 Edge *ExitO = &addEdge(&BB, nullptr, BBWeight); in buildEdges()
260 Edge &addEdge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W) { in addEdge() function
H A DGCOVProfiling.cpp330 void addEdge(GCOVBlock &Successor, uint32_t Flags) { in addEdge() function in __anon8d0cc8750611::GCOVBlock
793 MST.addEdge(SrcBB, InstrBB, 0); in getInstrBB()
794 MST.addEdge(InstrBB, DestBB, 0).InMST = true; in getInstrBB()
913 Src.addEdge(Dst, E.Place ? 0 : uint32_t(GCOV_ARC_ON_TREE)); in emitProfileNotes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCFLGraph.h126 void addEdge(Node From, Node To, int64_t Offset = 0) {
226 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 0},
244 Graph.addEdge(InstantiatedValue{From, 1}, InstantiatedValue{To, 0}); in addDerefEdge()
247 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 1}); in addDerefEdge()
409 Graph.addEdge(IRelation->From, IRelation->To); in tryInterproceduralAnalysis()
H A DLazyCallGraph.cpp63 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge() function
108 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*Callee), in populateSlow()
122 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(F), in populateSlow()
130 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*F), in populateSlow()
177 addEdge(EntryEdges.Edges, EntryEdges.EdgeIndexMap, get(F), Edge::Ref); in LazyCallGraph()
189 addEdge(EntryEdges.Edges, EntryEdges.EdgeIndexMap, get(*F), Edge::Ref); in LazyCallGraph()
205 addEdge(EntryEdges.Edges, EntryEdges.EdgeIndexMap, get(F), in LazyCallGraph()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h368 B.addEdge(Pointer64, 0, *InitialTarget, InitialAddend);
382 B.addEdge(Delta32, 2, PointerSymbol, -4); in createPointerJumpStubBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupport.cpp436 B.addEdge(NegDelta32, RecordOffset + CIEDeltaFieldOffset, in processFDE()
478 B.addEdge(PCBeginEdgeKind, RecordOffset + PCBeginFieldOffset, *PCBeginSym, in processFDE()
513 PCBeginBlock->addEdge(Edge::KeepAlive, 0, FDESymbol, 0); in processFDE()
544 B.addEdge(LSDAEdgeKind, RecordOffset + LSDAFieldOffset, *LSDASym, 0); in processFDE()
H A DMachO_arm64.cpp398 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations()
424 GOTEntryBlock.addEdge(Pointer64, 0, Target, 0); in createGOTEntry()
448 StubContentBlock.addEdge(LDRLiteral19, 0, GOTEntrySymbol, 0); in createPLTStub()
H A DELF_x86_64.cpp60 GOTEntryBlock.addEdge(Pointer64, 0, Target, 0); in createGOTEntry()
98 StubContentBlock.addEdge(PCRel32, 2, GOTEntrySymbol, -4); in createPLTStub()
515 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations()
H A DJITLink.cpp187 NewBlock.addEdge(*I); in splitBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DDirectedGraph.h126 bool addEdge(EdgeType &E) { return Edges.insert(&E); } in addEdge() function
269 return Src.addEdge(E); in connect()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp463 Builder.addEdge(MachineGadgetGraph::GadgetEdgeSentinel, in getGadgetGraph()
506 Builder.addEdge(ParentDepth, GI, BeginBB.first); in getGadgetGraph()
515 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph()
525 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp281 DAG->addEdge(&DAG->SUnits[su], SDep(LastSequentialCall, SDep::Barrier)); in apply()
285 DAG->addEdge(&DAG->SUnits[su], SDep(&DAG->SUnits[su-1], SDep::Barrier)); in apply()
322 DAG->addEdge(&DAG->SUnits[su], SDep(LastVRegUse[*AI], SDep::Barrier)); in apply()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_bvgraph.h42 bool addEdge(uptr from, uptr to) { in addEdge() function
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_bvgraph.h43 bool addEdge(uptr from, uptr to) { in addEdge() function
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h44 bool addEdge(uptr from, uptr to) { in addEdge() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DScheduleDAGInstrs.h361 bool addEdge(SUnit *SuccSU, const SDep &PredDep);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A DReductionRules.h132 YZEId = G.addEdge(YNId, ZNId, Delta); in applyR2()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDag.h199 template <class... Args> GIMatchDagEdge *addEdge(Args &&... args) { in addEdge() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h657 void addEdge(IrrNode &Irr, const BlockNode &Succ,
688 addEdge(Irr, I.first, OuterLoop);
1333 G.addEdge(Irr, BFI.getNode(Succ), OuterLoop);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp202 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint()

12