Searched refs:mCallDag (Results 1 – 8 of 8) sorted by relevance
542 mFunctionMetadata.resize(mCallDag.size()); in checkAndSimplifyAST()1131 mCallDag.clear(); in initCallDag()1133 switch (mCallDag.init(root, &mDiagnostics)) in initCallDag()1150 std::vector<int> depths(mCallDag.size()); in checkCallDepth()1152 for (size_t i = 0; i < mCallDag.size(); i++) in checkCallDepth()1155 const CallDAG::Record &record = mCallDag.getRecordFromIndex(i); in checkCallDepth()1179 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()1182 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()1207 for (size_t i = mCallDag.size(); i-- > 0;) in tagUsedFunctions()1209 if (mCallDag.getRecordFromIndex(i).node->getFunction()->isMain()) in tagUsedFunctions()[all …]
244 CallDAG mCallDag; variable
220 CallDAG mCallDag; variable
395 CallDAG::InitResult success = mCallDag.init(treeRoot, nullptr); in output()397 mASTMetadataList = CreateASTMetadataHLSL(treeRoot, mCallDag); in output()2108 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionDefinition()2263 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionPrototype()2319 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
757 mFunctionMetadata.resize(mCallDag.size()); in checkAndSimplifyAST()1390 mCallDag.clear(); in initCallDag()1392 switch (mCallDag.init(root, &mDiagnostics)) in initCallDag()1409 std::vector<int> depths(mCallDag.size()); in checkCallDepth()1411 for (size_t i = 0; i < mCallDag.size(); i++) in checkCallDepth()1414 const CallDAG::Record &record = mCallDag.getRecordFromIndex(i); in checkCallDepth()1438 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()1441 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()1466 for (size_t i = mCallDag.size(); i-- > 0;) in tagUsedFunctions()1468 if (mCallDag.getRecordFromIndex(i).node->getFunction()->isMain()) in tagUsedFunctions()[all …]
296 CallDAG mCallDag; variable
226 CallDAG mCallDag; variable
424 CallDAG::InitResult success = mCallDag.init(treeRoot, nullptr); in output()426 mASTMetadataList = CreateASTMetadataHLSL(treeRoot, mCallDag); in output()2179 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionDefinition()2335 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionPrototype()2395 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()