Home
last modified time | relevance | path

Searched refs:BCOrErr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Object/
DModuleSummaryIndexObjectFile.cpp75 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in hasGlobalValueSummaryInMemBuffer() local
76 if (!BCOrErr) in hasGlobalValueSummaryInMemBuffer()
79 return hasGlobalValueSummary(BCOrErr.get(), DiagnosticHandler); in hasGlobalValueSummaryInMemBuffer()
91 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local
92 if (!BCOrErr) in create()
93 return BCOrErr.getError(); in create()
96 getModuleSummaryIndex(BCOrErr.get(), DiagnosticHandler); in create()
DIRObjectFile.cpp313 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local
314 if (!BCOrErr) in create()
315 return BCOrErr.getError(); in create()
318 MemoryBuffer::getMemBuffer(BCOrErr.get(), false); in create()
/external/llvm/lib/LTO/
DLTOModule.cpp91 ErrorOr<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() local
93 if (!BCOrErr) in isBitcodeForTarget()
96 std::string Triple = getBitcodeTargetTriple(*BCOrErr, Context); in isBitcodeForTarget()
101 ErrorOr<MemoryBufferRef> BCOrErr = in getProducerString() local
103 if (!BCOrErr) in getProducerString()
106 return getBitcodeProducerString(*BCOrErr, Context); in getProducerString()