Home | History | Annotate | Download | only in Reader

Lines Matching refs:Index

167   /// The set of attributes by index.  Index zero in the file is for null, and
206 /// its index into the vector.
413 /// Class to manage reading and parsing function summary index bitcode
418 /// Eventually points to the function index built during parsing.
427 /// If false, the summary section is fully parsed into the index during
447 /// index this maps the ValueID to the parsed function summary, and
448 /// for the combined index this maps the summary record's bitcode
449 /// offset to the function summary (since in the combined index the
455 /// module ID to a string reference owned by the index's module
456 /// path string table, used to correlate with combined index function
1372 uint64_t Idx = Record[1]; // Index of the object this attribute refers to.
1703 /// Associate a value with its name from the given index in the provided record.
3259 // Either this is an old form VST without function index and an
3333 // index in the VST, nor a VST forward declaration record, as
4203 uint64_t Index = Record[OpNum];
4207 if ((unsigned)Index != Index)
4209 if (IsStruct && Index >= CurTy->subtypes().size())
4210 return error("EXTRACTVAL: Invalid struct index");
4211 if (IsArray && Index >= CurTy->getArrayNumElements())
4212 return error("EXTRACTVAL: Invalid array index");
4213 EXTRACTVALIdx.push_back((unsigned)Index);
4216 CurTy = CurTy->subtypes()[Index];
4245 uint64_t Index = Record[OpNum];
4249 if ((unsigned)Index != Index)
4251 if (IsStruct && Index >= CurTy->subtypes().size())
4252 return error("INSERTVAL: Invalid struct index");
4253 if (IsArray && Index >= CurTy->getArrayNumElements())
4254 return error("INSERTVAL: Invalid array index");
4256 INSERTVALIdx.push_back((unsigned)Index);
4258 CurTy = CurTy->subtypes()[Index];
5204 // didn't contain the function index in the VST, or when we have
5407 // Specialized value symbol table parser used when reading function index
5409 // At the end of this routine the function index is populated with a map
5481 // Parse just the blocks needed for function index building out of the module.
5482 // At the end of this routine the function Index is populated with a map
5491 // Read the function index for this module.
5550 // in the index). This populates the FunctionSummary objects in
5551 // the index.
5573 // is a per-module index or a combined index file. In the per-module
5575 // with VST entries. In the combined index the correlation is done
5577 // in the combined index VST entries). The records also contain
5593 // index's module string table. Since we don't have a module path
5594 // string table section in the per-module index, we create a single
5615 // Parse the module string table block into the Index.
5616 // This populates the ModulePathStringTable map in the index.
5657 // Parse the function info index from the bitcode streamer into the given index.
5684 // building the function summary index.
5694 // the index. Used to support lazy parsing of function summaries from the
5695 // combined index during importing.
5914 // Parse the specified bitcode buffer, returning the function info index.
5916 // the index. Otherwise skip the function summary section, and only create
5917 // an index object with a map from function name to function summary offset.
5918 // The index is used to perform lazy function summary reading later.
5926 auto Index = llvm::make_unique<FunctionInfoIndex>();
5933 if (std::error_code EC = R.parseSummaryIndexInto(nullptr, Index.get()))
5937 return std::move(Index);
5959 // index during ThinLTO function importing. When reading the combined index
5963 // the index.
5966 StringRef FunctionName, std::unique_ptr<FunctionInfoIndex> Index) {
5979 for (const auto &FI : Index->getFunctionInfoList(FunctionName)) {
5982 R.parseFunctionSummary(nullptr, Index.get(), FunctionSummaryOffset))