Searched refs:Edge (Results 26 - 50 of 70) sorted by relevance

123

/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-elf.cpp27 static Expected<Edge &> getFirstRelocationEdge(LinkGraph &G, Block &B) {
29 [](Edge &E) { return E.isRelocation(); });
H A Dllvm-jitlink-macho.cpp29 static Expected<Edge &> getFirstRelocationEdge(LinkGraph &G, Block &B) {
31 [](Edge &E) { return E.isRelocation(); });
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DGCOV.h280 void addSrcEdge(GCOVArc *Edge) { pred.push_back(Edge); } argument
282 void addDstEdge(GCOVArc *Edge) { succ.push_back(Edge); } argument
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDominators.h122 static unsigned getHashValue(const BasicBlockEdge &Edge) { argument
123 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
124 BBInfo::getHashValue(Edge.getEnd()));
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h58 class Edge { class in namespace:llvm::jitlink
72 Edge(Kind K, OffsetT Offset, Symbol &Target, AddendT Addend) function in class:llvm::jitlink::Edge
99 const char *getGenericEdgeKindName(Edge::Kind K);
180 using EdgeVector = std::vector<Edge>;
235 void addEdge(Edge::Kind K, Edge::OffsetT Offset, Symbol &Target,
236 Edge::AddendT Addend) {
237 Edges.push_back(Edge(K, Offset, Target, Addend));
242 void addEdge(const Edge &E) { Edges.push_back(E); }
266 JITTargetAddress getFixupAddress(const Edge
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupport.cpp124 unsigned PointerSize, Edge::Kind Delta64,
125 Edge::Kind Delta32, Edge::Kind NegDelta32)
469 Edge::Kind PCBeginEdgeKind = PCBeginPtrInfo->second;
513 PCBeginBlock->addEdge(Edge::KeepAlive, 0, FDESymbol, 0);
535 Edge::Kind LSDAEdgeKind = LSDAPointerInfo->second;
649 Expected<std::pair<JITTargetAddress, Edge::Kind>>
668 Edge::Kind PointerEdgeKind;
704 if (PointerEdgeKind == Edge::Invalid)
H A DELF_x86_64.cpp45 bool isGOTEdgeToFix(Edge &E) const {
64 void fixGOTEdge(Edge &E, Symbol &GOTEntry) {
89 bool isExternalBranchEdge(Edge &E) {
102 void fixPLTEdge(Edge &E, Symbol &Stub) {
509 Edge GE(*Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol,
783 Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
932 const char *getELFX86RelocationKindName(Edge::Kind R) {
975 return getGenericEdgeKindName(static_cast<Edge::Kind>(R));
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp177 DependencyEdge &Edge = N.OutgoingEdges[I];
178 if (Edge.Frequency == Iterations)
180 double Factor = (double)Edge.Frequency / Iterations;
183 Nodes[Edge.ToIID].NumPredecessors--;
184 std::swap(Edge, N.OutgoingEdges[E - 1]);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp216 struct Edge { struct in namespace:__anon2883
228 Edge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W = 1) function in struct:__anon2883::Edge
756 static BasicBlock *getInstrBB(CFGMST<Edge, BBInfo> &MST, Edge &E,
801 static void dumpEdges(CFGMST<Edge, BBInfo> &MST, GCOVFunction &GF) {
806 dbgs() << " Edge " << ID++ << ": " << Src.Number << "->" << Dst.Number
865 CFGMST<Edge, BBInfo> MST(F, /*InstrumentFuncEntry_=*/false, BPI, BFI);
884 llvm::erase_if(MST.AllEdges, [](std::unique_ptr<Edge> &E) {
890 [](std::unique_ptr<Edge> &E) { return E->Place; }) -
893 Edge
[all...]
H A DPGOInstrumentation.cpp561 template <class Edge, class BBInfo> class FuncPGOInstrumentation {
586 CFGMST<Edge, BBInfo> MST;
594 BasicBlock *getInstrBB(Edge *E);
655 template <class Edge, class BBInfo>
656 void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() {
739 template <class Edge, class BBInfo>
740 void FuncPGOInstrumentation<Edge, BBInfo>::renameComdatFunction() {
777 template <class Edge, class BBInfo>
778 void FuncPGOInstrumentation<Edge, BBInfo>::getInstrumentBBs(
781 std::vector<Edge *> EdgeLis
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DGCOV.cpp398 for (const GCOVArc *Edge : pred)
399 OS << Edge->src.number << " (" << Edge->count << "), ";
404 for (const GCOVArc *Edge : succ) {
405 if (Edge->flags & GCOV_ARC_ON_TREE)
407 OS << Edge->dst.number << " (" << Edge->count << "), ";
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp392 for (auto &Edge : Summary.calls()) {
393 ValueInfo VI = Edge.first;
426 Threshold * GetBonusMultiplier(Edge.second.getHotness());
436 Edge.second.getHotness() == CalleeInfo::HotnessType::Hot;
438 Edge.second.getHotness() == CalleeInfo::HotnessType::Critical;
486 std::max(FailureInfo->MaxHotness, Edge.second.getHotness());
492 VI, Edge.second.getHotness(), Reason, 1);
738 for (auto &Edge : FS->calls())
739 NewExports.insert(Edge.first);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector.h253 Edge e = {(u16)added_edges[i], (u16)cur_idx,
258 // Printf("Edge%zd: %u %zd=>%zd in T%d\n",
396 struct Edge { struct in class:__sanitizer::DeadlockDetector
410 Edge edges_[BV::kSize * 32];
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_deadlock_detector.h251 Edge e = {(u16)added_edges[i], (u16)cur_idx,
256 // Printf("Edge%zd: %u %zd=>%zd in T%d\n",
394 struct Edge { struct in class:__sanitizer::DeadlockDetector
408 Edge edges_[BV::kSize * 32];
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DSparsePropagation.h129 using Edge = std::pair<BasicBlock *, BasicBlock *>;
133 std::set<Edge> KnownFeasibleEdges;
269 if (!KnownFeasibleEdges.insert(Edge(Source, Dest)).second)
272 LLVM_DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName()
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp396 EdgeType &Edge = N->back(); local
397 if (!Edge.isDefUse())
403 TargetInDegreeMap.insert({&Edge.getTargetNode(), 0});
H A DDomTreeUpdater.cpp40 // Edge does not exist in IR.
44 // Edge exists in IR.
257 auto Edge = std::make_pair(U.getFrom(), U.getTo()); local
280 if (!isSelfDominance(U) && Seen.count(Edge) == 0) {
281 Seen.insert(Edge);
H A DCFLGraph.h61 struct Edge { struct in class:llvm::cflaa::CFLGraph
66 using EdgeList = std::vector<Edge>;
132 FromInfo->Edges.push_back(Edge{To, Offset});
133 ToInfo->ReverseEdges.push_back(Edge{From, Offset});
H A DCFLSteensAliasAnalysis.cpp219 for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges)
220 SetBuilder.addWith(Src, Edge.Other);
H A DCGSCCPassManager.cpp891 using Edge = LazyCallGraph::Edge;
920 Edge *E = N->lookup(*CalleeN);
956 Edge *E = N->lookup(*RefereeN);
1010 for (Edge &E : *N) {
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_deadlock_detector.h249 Edge e = {(u16)added_edges[i], (u16)cur_idx,
390 struct Edge { struct in class:__sanitizer::DeadlockDetector
404 Edge edges_[BV::kSize * 32];
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h653 /// Record \p NewPred as a Machine predecessor to `Edge.second`, corresponding
654 /// to `Edge.first` at the IR level. This is used when IRTranslation creates
657 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
663 SmallVector<MachineBasicBlock *, 1> getMachinePredBBs(CFGEdge Edge) { argument
664 auto RemappedEdge = MachinePreds.find(Edge);
667 return SmallVector<MachineBasicBlock *, 4>(1, &getMBB(*Edge.first));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp559 if (const SDep *Edge = CriticalPathStep(CriticalPathSU)) {
560 const SUnit *NextSU = Edge->getSUnit();
563 if (Edge->getKind() == SDep::Anti) {
564 AntiDepReg = Edge->getReg();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp180 for (const auto &Edge : CFGProfile->operands()) {
181 MDNode *E = cast<MDNode>(Edge);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp1057 CFGEdge Edge = FlowQ.front();
1060 if (EdgeExec.count(Edge))
1062 EdgeExec.insert(Edge);
1063 ReachedBB.insert(Edge.second);
1065 const MachineBasicBlock &B = *MF.getBlockNumbered(Edge.second);
1077 if (BlockScanned[Edge.second])
1079 BlockScanned[Edge.second] = true;

Completed in 212 milliseconds

123