58 if (
debug) { icfgDep->output(*
mIR); }
62 std::cout <<
"Calling usefulman->performAnalysis() ...\n";
69 interUseful = usefulman->performAnalysis(icfg, paramBind, interAlias,
73 retval->setNumIterUseful(interUseful->getNumIter());
74 if (
debug) { interUseful->output(*
mIR); }
79 std::cout <<
"Calling varyman->performAnalysis() ...\n";
86 interAlias, icfgDep, interUseful,algorithm);
88 retval->setNumIterVary(active->getNumIter());
188 for ( ; nodeIter->isValid(); (*nodeIter)++) {
200 for ( ; stmtIter->isValid(); (*stmtIter)++) {
204 if (active->isActive(stmt)) {
207 for (; useIter->isValid(); (*useIter)++ ) {
210 std::cout <<
"\tuse = ";
217 = active->getActiveLocsIterator();
218 for ( ; procActiveLocIter->isValid(); (*procActiveLocIter)++ ) {
221 std::cout <<
"\t activeLoc = ";
222 activeLoc->
dump(std::cout,
mIR);
227 for ( ; mayLocIter->isValid(); (*mayLocIter)++ ) {
230 std::cout <<
"\t\t may loc for use, useLoc = ";
234 active->insertMemRef(use);
236 std::cout <<
"\t\tinserting active memref use = ";
238 std::cout << std::endl;
262 std::map<ProcHandle,OA_ptr<ActiveStandard> >::iterator mapIter;
264 retval->mapProcToActive(mapIter->first,mapIter->second);
339 std::cout <<
"In transfer, stmt(hval=" << stmt.
hval() <<
")= ";
341 std::cout <<
"\toutRecast = ";
342 outRecast->
dump(std::cout,
mIR);
358 bool activeStmt =
false;
360 for (; defIter->isValid(); (*defIter)++ ) {
363 std::cout <<
"\tdef = ";
367 bool activeMemRef =
false;
370 for ( ; locIter->isValid()&&!activeMemRef; (*locIter)++ ) {
373 std::cout <<
"\t\t mayloc for def = ";
382 active->insertMemRef(def);
390 active->insertStmt(stmt);
403 for ( ; locIter->isValid(); (*locIter)++ ) {
404 active->insertLoc(locIter->current());