Searched refs:BCOrErr (Results 1 – 3 of 3) sorted by relevance
75 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in hasGlobalValueSummaryInMemBuffer() local76 if (!BCOrErr) in hasGlobalValueSummaryInMemBuffer()79 return hasGlobalValueSummary(BCOrErr.get(), DiagnosticHandler); in hasGlobalValueSummaryInMemBuffer()91 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local92 if (!BCOrErr) in create()93 return BCOrErr.getError(); in create()96 getModuleSummaryIndex(BCOrErr.get(), DiagnosticHandler); in create()
313 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local314 if (!BCOrErr) in create()315 return BCOrErr.getError(); in create()318 MemoryBuffer::getMemBuffer(BCOrErr.get(), false); in create()
91 ErrorOr<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() local93 if (!BCOrErr) in isBitcodeForTarget()96 std::string Triple = getBitcodeTargetTriple(*BCOrErr, Context); in isBitcodeForTarget()101 ErrorOr<MemoryBufferRef> BCOrErr = in getProducerString() local103 if (!BCOrErr) in getProducerString()106 return getBitcodeProducerString(*BCOrErr, Context); in getProducerString()