void dumpGraphFilePrefixed(const string& nameComment) const { if (v3Global.opt.dumpTree()) { string filename = v3Global.debugFilename(nameComment)+".txt"; const vl_unique_ptr<std::ofstream> logp(V3File::new_ofstream(filename)); if (logp->fail()) v3fatal("Can't write "<<filename); dumpGraph(*logp, nameComment); } }
void dumpBayesNet(BayesNet* bayesnet) { int i; // Dump do grafo printf("Graph:"); dumpGraph(bayesnet->graph); // Dump das variáveis for (i=0;i<bnsize(bayesnet);i++) dumpVariable(bayesnet->variables[i]); // Dump dos potenciais for (i=0;i<bnsize(bayesnet);i++) dumpPotential(bayesnet->potentials[i]); }
void JITLinkerBase::linkPhase2(std::unique_ptr<JITLinkerBase> Self, Expected<AsyncLookupResult> LR) { // If the lookup failed, bail out. if (!LR) return deallocateAndBailOut(LR.takeError()); // Assign addresses to external atoms. applyLookupResult(*LR); LLVM_DEBUG({ dbgs() << "Atom graph \"" << G->getName() << "\" before copy-and-fixup:\n"; dumpGraph(dbgs()); });