Lines Matching refs:mCallDag
589 mFunctionMetadata.resize(mCallDag.size()); in checkAndSimplifyAST()
1202 mCallDag.clear(); in initCallDag()
1204 switch (mCallDag.init(root, &mDiagnostics)) in initCallDag()
1221 std::vector<int> depths(mCallDag.size()); in checkCallDepth()
1223 for (size_t i = 0; i < mCallDag.size(); i++) in checkCallDepth()
1226 const CallDAG::Record &record = mCallDag.getRecordFromIndex(i); in checkCallDepth()
1250 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()
1253 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()
1278 for (size_t i = mCallDag.size(); i-- > 0;) in tagUsedFunctions()
1280 if (mCallDag.getRecordFromIndex(i).node->getFunction()->isMain()) in tagUsedFunctions()
1300 for (int calleeIndex : mCallDag.getRecordFromIndex(index).callees) in internalTagUsedFunction()
1311 : mCallDag(callDag), mMetadatas(metadatas) in UnusedPredicate()
1334 size_t callDagIndex = mCallDag->findIndex(func->uniqueId()); in operator ()()
1347 const CallDAG *mCallDag; member in sh::TCompiler::UnusedPredicate
1353 UnusedPredicate isUnused(&mCallDag, &mFunctionMetadata); in pruneUnusedFunctions()