Lines Matching defs:FunctionIndexObjectFile
1 //===- FunctionIndexObjectFile.cpp - Function index file implementation ---===//
10 // Part of the FunctionIndexObjectFile class implementation.
14 #include "llvm/Object/FunctionIndexObjectFile.h"
25 FunctionIndexObjectFile::FunctionIndexObjectFile(
29 FunctionIndexObjectFile::~FunctionIndexObjectFile() {}
31 std::unique_ptr<FunctionInfoIndex> FunctionIndexObjectFile::takeIndex() {
36 FunctionIndexObjectFile::findBitcodeInObject(const ObjectFile &Obj) {
53 FunctionIndexObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) {
74 bool FunctionIndexObjectFile::hasFunctionSummaryInMemBuffer(
84 // Return new FunctionIndexObjectFile instance containing parsed
86 ErrorOr<std::unique_ptr<FunctionIndexObjectFile>>
87 FunctionIndexObjectFile::create(MemoryBufferRef Object,
104 return llvm::make_unique<FunctionIndexObjectFile>(Object, std::move(Index));
110 std::error_code FunctionIndexObjectFile::findFunctionSummaryInMemBuffer(
135 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr =
136 object::FunctionIndexObjectFile::create(BufferRef, DiagnosticHandler);
141 object::FunctionIndexObjectFile &Obj = **ObjOrErr;