Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Object/
DIRObjectFile.cpp112 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local
113 if (!BCOrErr) in create()
114 return BCOrErr.takeError(); in create()
117 getBitcodeModuleList(*BCOrErr); in create()
133 new IRObjectFile(*BCOrErr, std::move(Mods))); in create()
138 Expected<MemoryBufferRef> BCOrErr = in readIRSymtab() local
140 if (!BCOrErr) in readIRSymtab()
141 return BCOrErr.takeError(); in readIRSymtab()
143 Expected<BitcodeFileContents> BFCOrErr = getBitcodeFileContents(*BCOrErr); in readIRSymtab()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRObjectFile.cpp111 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() local
112 if (!BCOrErr) in create()
113 return BCOrErr.takeError(); in create()
116 getBitcodeModuleList(*BCOrErr); in create()
132 new IRObjectFile(*BCOrErr, std::move(Mods))); in create()
137 Expected<MemoryBufferRef> BCOrErr = in readIRSymtab() local
139 if (!BCOrErr) in readIRSymtab()
140 return BCOrErr.takeError(); in readIRSymtab()
142 Expected<BitcodeFileContents> BFCOrErr = getBitcodeFileContents(*BCOrErr); in readIRSymtab()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp83 Expected<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() local
85 if (errorToBool(BCOrErr.takeError())) in isBitcodeForTarget()
89 expectedToErrorOrAndEmitErrors(Context, getBitcodeTargetTriple(*BCOrErr)); in isBitcodeForTarget()
96 Expected<MemoryBufferRef> BCOrErr = in getProducerString() local
98 if (errorToBool(BCOrErr.takeError())) in getProducerString()
102 Context, getBitcodeProducerString(*BCOrErr)); in getProducerString()
/external/llvm-project/llvm/lib/LTO/
DLTOModule.cpp85 Expected<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() local
87 if (errorToBool(BCOrErr.takeError())) in isBitcodeForTarget()
91 expectedToErrorOrAndEmitErrors(Context, getBitcodeTargetTriple(*BCOrErr)); in isBitcodeForTarget()
98 Expected<MemoryBufferRef> BCOrErr = in getProducerString() local
100 if (errorToBool(BCOrErr.takeError())) in getProducerString()
104 Context, getBitcodeProducerString(*BCOrErr)); in getProducerString()