Lines Matching refs:mCallDag
663 mFunctionMetadata.resize(mCallDag.size()); in checkAndSimplifyAST()
1328 mCallDag.clear(); in initCallDag()
1330 switch (mCallDag.init(root, &mDiagnostics)) in initCallDag()
1347 std::vector<int> depths(mCallDag.size()); in checkCallDepth()
1349 for (size_t i = 0; i < mCallDag.size(); i++) in checkCallDepth()
1352 const CallDAG::Record &record = mCallDag.getRecordFromIndex(i); in checkCallDepth()
1376 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()
1379 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()
1404 for (size_t i = mCallDag.size(); i-- > 0;) in tagUsedFunctions()
1406 if (mCallDag.getRecordFromIndex(i).node->getFunction()->isMain()) in tagUsedFunctions()
1426 for (int calleeIndex : mCallDag.getRecordFromIndex(index).callees) in internalTagUsedFunction()
1437 : mCallDag(callDag), mMetadatas(metadatas) in UnusedPredicate()
1460 size_t callDagIndex = mCallDag->findIndex(func->uniqueId()); in operator ()()
1473 const CallDAG *mCallDag; member in sh::TCompiler::UnusedPredicate
1479 UnusedPredicate isUnused(&mCallDag, &mFunctionMetadata); in pruneUnusedFunctions()