reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/RegAllocPBQP.cpp
  439     MachineFunction &MF = G.getMetadata().MF;
  440     MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI;
  461           PBQPRAGraph::NodeId NId = G.getMetadata().getNodeIdForVReg(SrcReg);
  464             G.getNodeMetadata(NId).getAllowedRegs();
  471             PBQPRAGraph::RawVector NewCosts(G.getNodeCosts(NId));
  473             G.setNodeCosts(NId, std::move(NewCosts));
  476           PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg);
  477           PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg);
  479             &G.getNodeMetadata(N1Id).getAllowedRegs();
  481             &G.getNodeMetadata(N2Id).getAllowedRegs();
  483           PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id);
  484           if (EId == G.invalidEdgeId()) {
  488             G.addEdge(N1Id, N2Id, std::move(Costs));
  490             if (G.getEdgeNode1Id(EId) == N2Id) {
  494             PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId));
  496             G.updateEdgeCosts(EId, std::move(Costs));