Home
last modified time | relevance | path

Searched defs:Err (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRPCSerialization.h334 if (auto Err = in serialize() local
338 if (auto Err = SequenceTraits<ChannelT>::emitSeparator(C)) in serialize() local
347 if (auto Err = in deserialize() local
350 if (auto Err = SequenceTraits<ChannelT>::consumeSeparator(C)) in deserialize() local
406 if (auto Err = serializeSeq(C, *KeyName)) in registerErrorType() local
413 static Error serialize(ChannelT &C, Error &&Err) { in serialize()
428 static Error deserialize(ChannelT &C, Error &Err) { in deserialize()
432 if (auto Err = deserializeSeq(C, Key)) in deserialize() local
524 if (auto Err = serializeSeq(C, true)) in serialize() local
528 if (auto Err = serializeSeq(C, false)) in serialize() local
[all …]
DRPCUtils.h231 MSVCPError(Error Err) : Error(std::move(Err)) {} in MSVCPError()
249 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {} in MSVCPExpected()
347 static void consumeAbandoned(ErrorReturnType Err) { in consumeAbandoned()
405 if (auto Err = C.startSendMessage(ResponseId, SeqNo)) in sendResult() local
409 if (auto Err = in sendResult() local
421 SequenceNumberT SeqNo, Error Err) { in sendResult()
443 if (auto Err = ResultOrErr.takeError()) in sendResult() local
447 if (auto Err = C.startSendMessage(ResponseId, SeqNo)) in sendResult() local
451 if (auto Err = in sendResult() local
462 SequenceNumberT SeqNo, Error Err) { in sendResult()
[all …]
DRawByteChannel.h45 if (auto Err = serializeSeq(*this, FnId, SeqNo)) { in startSendMessage() local
64 if (auto Err = deserializeSeq(*this, FnId, SeqNo)) { in startReceiveMessage() local
105 if (auto Err = C.readBytes(reinterpret_cast<char *>(&V), sizeof(T))) in deserialize() local
119 if (auto Err = in serialize() local
127 if (auto Err = C.readBytes(reinterpret_cast<char *>(&Tmp), 1)) in deserialize() local
141 if (auto Err = serializeSeq(C, static_cast<uint64_t>(S.size()))) in serialize() local
174 if (auto Err = deserializeSeq(C, Count)) in deserialize() local
DCompileOnDemandLayer.h218 else if (auto Err = Sym.takeError()) in findSymbol() local
225 if (auto Err = BaseLayer.removeModule(BLK)) in removeModulesFromBaseLayer() local
298 auto Err = I->second.removeModulesFromBaseLayer(BaseLayer); in removeModule() local
313 else if (auto Err = Sym.takeError()) in findSymbol() local
343 if (auto Err = LMResources->StubsMgr->updatePointer(CalledFnName, in updatePointer() local
382 else if (auto Err = Sym.takeError()) in addLogicalModule() local
410 if (auto Err = LD.StubsMgr->createStubs(StubInits)) in addLogicalModule() local
495 else if (auto Err = Sym.takeError()) in addLogicalModule() local
536 if (auto Err = BaseLayer.addModule(LD.K, std::move(GVsM))) in addLogicalModule() local
587 } else if (auto Err = FnBodySym.takeError()) in extractAndCompile() local
[all …]
DOrcRemoteTargetClient.h196 if (auto Err = Client.registerEHFrames(EHFrame.Addr, EHFrame.Size)) { variable
342 if (auto Err = reserveStubs(1)) in createStub() local
349 if (auto Err = reserveStubs(StubInits.size())) in createStubs() local
353 if (auto Err = createStubInternal(Entry.first(), Entry.second.first, in createStubs() local
481 Error Err = Error::success(); in Create() local
519 if (auto Err = callB<mem::CreateRemoteAllocator>(Id)) in createRemoteMemoryManager() local
530 if (auto Err = callB<stubs::CreateIndirectStubsOwner>(Id)) in createIndirectStubsManager() local
540 if (auto Err = callB<stubs::EmitResolverBlock>()) in enableCompileCallbacks() local
563 Error &Err) in OrcRemoteTargetClient()
584 if (auto Err = callB<eh::RegisterEHFrames>(Addr, Size)) in deregisterEHFrames() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp86 [](ChannelT &C, Error &Err) -> Error { in registerDummyErrorSerialization()
89 if (auto Err = deserializeSeq(C, Val)) in registerDummyErrorSerialization() local
191 auto Err = Server.handleOne(); in TEST() local
197 auto Err = Server.handleOne(); in TEST() local
204 auto Err = Client.callAsync<DummyRPCAPI::VoidBool>( in TEST() local
205 [](Error Err) { in TEST()
214 auto Err = Client.handleOne(); in TEST() local
235 auto Err = Server.handleOne(); in TEST() local
241 auto Err = Server.handleOne(); in TEST() local
247 auto Err = Client.callAsync<DummyRPCAPI::IntInt>( in TEST() local
[all …]
DRemoteObjectLayerTest.cpp59 else if (auto Err = Sym.takeError()) in findSymbol() local
116 [](Error Err) { in TEST()
174 [](Error Err) { in TEST()
229 [](Error Err) { in TEST()
277 [](Error Err) { in TEST()
313 auto Err = Client.removeObject(H); in TEST() local
333 [](Error Err) { in TEST()
387 auto Err = Sym2.takeError(); in TEST() local
398 auto Err = Sym3.takeError(); in TEST() local
415 [](Error Err) { in TEST()
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp56 if (auto Err = readULEB128(Result)) in readIntMax() local
64 if (auto Err = readULEB128(Result)) in readSize() local
74 if (auto Err = readSize(Length)) in readString() local
83 if (auto Err = readSize(NumFilenames)) in read() local
87 if (auto Err = readString(Filename)) in read() local
125 if (auto Err = in readCounter() local
128 if (auto Err = decodeCounter(EncodedCounter, C)) in readCounter() local
143 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() local
152 if (auto Err = readIntMax(EncodedCounterAndRegion, in readMappingRegionsSubArray() local
158 if (auto Err = decodeCounter(EncodedCounterAndRegion, C)) in readMappingRegionsSubArray() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp70 if (auto Err = readULEB128(Result)) in readIntMax() local
78 if (auto Err = readULEB128(Result)) in readSize() local
88 if (auto Err = readSize(Length)) in readString() local
97 if (auto Err = readSize(NumFilenames)) in read() local
101 if (auto Err = readString(Filename)) in read() local
139 if (auto Err = in readCounter() local
142 if (auto Err = decodeCounter(EncodedCounter, C)) in readCounter() local
157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() local
166 if (auto Err = readIntMax(EncodedCounterAndRegion, in readMappingRegionsSubArray() local
172 if (auto Err = decodeCounter(EncodedCounterAndRegion, C)) in readMappingRegionsSubArray() local
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h106 auto Err = deserialize(C, Val); in readResult() local
132 if (auto Err = startSendMessage(C)) in respond() local
134 if (auto Err = serializeSeq(C, ResponseId, SeqNo, *Result)) in respond() local
179 if (auto Err = startSendMessage(C)) in respond() local
181 if (auto Err = serializeSeq(C, ResponseId, SeqNo)) in respond() local
198 if (auto Err = startSendMessage(C)) in call() local
200 if (auto Err = serializeSeq(C, FuncId, SeqNo, Args...)) in call() local
232 if (auto Err = deserializeSeq(C, SeqNo, std::get<Is>(RPCArgs)...)) in readAndHandle() local
237 if (auto Err = endReceiveMessage(C)) in readAndHandle() local
409 if (auto Err = CallHelper<ChannelT, SequenceNumberT, Func>::call(C, SeqNo, in appendCallAsyncWithSeq() local
[all …]
DRPCChannel.h85 if (auto Err = serialize(C, Arg)) in serializeSeq() local
96 if (auto Err = deserialize(C, Arg)) in deserializeSeq() local
126 if (auto Err = C.readBytes(reinterpret_cast<char *>(&V), sizeof(T))) in deserialize() local
144 Error Err = deserialize(C, Tmp); in deserialize() local
158 if (auto Err = C.readBytes(reinterpret_cast<char *>(&VN), 1)) in deserialize() local
169 if (auto Err = serialize(C, static_cast<uint64_t>(S.size()))) in serialize() local
182 if (auto Err = deserialize(C, Count)) in deserialize() local
216 if (auto Err = serialize(C, static_cast<uint64_t>(A.size()))) in serialize() local
220 if (auto Err = serialize(C, E)) in serialize() local
234 if (auto Err = deserialize(C, Count)) in deserialize() local
[all …]
DOrcRemoteTargetClient.h177 auto Err = Client.deregisterEHFrames(LoadAddr, Size); in deregisterEHFrames() local
240 if (auto Err = variable
257 if (auto Err = Client.setProtections(Id, ObjAllocs.RemoteCodeAddr, variable
276 if (auto Err = variable
294 if (auto Err = Client.setProtections(Id, ObjAllocs.RemoteRODataAddr, variable
312 if (auto Err = variable
330 if (auto Err = Client.setProtections(Id, ObjAllocs.RemoteRWDataAddr, variable
347 if (auto Err = Client.registerEHFrames(EHFrame.first, EHFrame.second)) { variable
447 if (auto Err = Remote.destroyIndirectStubsManager(Id)) { in ~RCIndirectStubsManager() local
455 if (auto Err = reserveStubs(1)) in createStub() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DParser.cpp27 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
42 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly()
56 llvm::parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFile()
72 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyWithIndex()
87 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndex()
103 llvm::parseAssemblyString(StringRef AsmString, SMDiagnostic &Err, in parseAssemblyString()
113 SMDiagnostic &Err) { in parseSummaryIndexAssemblyInto()
125 llvm::parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err) { in parseSummaryIndexAssembly()
136 llvm::parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err) { in parseSummaryIndexAssemblyFile()
148 Constant *llvm::parseConstantValue(StringRef Asm, SMDiagnostic &Err, in parseConstantValue()
[all …]
/external/llvm/lib/AsmParser/
DParser.cpp25 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err, in parseAssemblyInto()
35 SMDiagnostic &Err, in parseAssembly()
48 SMDiagnostic &Err, in parseAssemblyFile()
63 SMDiagnostic &Err, in parseAssemblyString()
70 Constant *llvm::parseConstantValue(StringRef Asm, SMDiagnostic &Err, in parseConstantValue()
82 Type *llvm::parseType(StringRef Asm, SMDiagnostic &Err, const Module &M, in parseType()
99 SMDiagnostic &Err, const Module &M, in parseTypeAtBeginning()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp242 if (auto Err = writeSectionContent(OS, *S)) in writeSectionContent() local
245 if (auto Err = writeSectionContent(OS, *S)) in writeSectionContent() local
493 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
496 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
499 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
502 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
505 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
508 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
511 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
514 if (auto Err = writeSectionContent(StringStream, *S)) in writeWasm() local
[all …]
Dyaml2macho.cpp69 if (auto Err = writeHeader(OS)) in writeMachO() local
71 if (auto Err = writeLoadCommands(OS)) in writeMachO() local
73 if (auto Err = writeSectionData(OS)) in writeMachO() local
276 if (auto Err = writeLinkEditData(OS)) in writeSectionData() local
318 if (auto Err = writeLinkEditData(OS)) in writeSectionData() local
427 if (auto Err = (this->*writeOp.second)(OS)) in writeLinkEditData() local
503 if (auto Err = writeFatHeader(OS)) in writeMachO() local
505 if (auto Err = writeFatArchs(OS)) in writeMachO() local
512 if (auto Err = Writer.writeMachO(OS)) in writeMachO() local
587 if (auto Err = Writer.writeMachO(Out)) { in yaml2macho() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h139 else if (auto Err = Sym.takeError()) { in lookupFlags() local
162 } else if (auto Err = Sym.takeError()) { in lookup() local
187 else if (auto Err = Sym.takeError()) in findSymbol() local
251 if (auto Err = DtorRunner.runViaLayer(*this)) in shutdown() local
319 if (auto Err = Layer.addModule(RetKey, std::move(M))) in addIRModule() local
328 if (auto Err = CtorRunner.runViaLayer(*this)) in addIRModule() local
356 if (auto Err = KeyLayers[K]->removeModule(K)) in removeModule() local
374 if (auto Err = ObjectLayer.addObject(RetKey, std::move(ObjBuffer))) in addObject() local
408 } else if (auto Err = Sym.takeError()) { in findSymbolAddress() local
429 } else if (auto Err = Sym.takeError()) { in findSymbolAddressIn() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DCOFFModuleDefinition.cpp84 static Error createError(const Twine &Err) { in createError()
154 if (Error Err = parseOne()) in parse() local
198 if (Error Err = parseExport()) in parseOne() local
209 if (Error Err = parseName(&Name, &Info.ImageBase)) in parseOne() local
302 if (Error Err = readAsInt(Reserve)) in parseNumbers() local
310 if (Error Err = readAsInt(Commit)) in parseNumbers() local
327 if (Error Err = expect(Equal, "'=' expected")) in parseName() local
329 if (Error Err = readAsInt(Baseaddr)) in parseName() local
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp67 if (auto Err = ErrOrFile.getError()) in GetMemoryBuffersForFile() local
105 Error Err; in GetArchiveMemberBuffers() local
118 if (auto Err = ErrOrMem.getError()) in GetArchiveMemberBuffers() local
139 if (auto Err = ErrOrBuff.getError()) in MapArchiveAndGetMemberBuffers() local
185 if (auto Err = ErrOrMemBufferRefs.getError()) in GetObjectFiles() local
/external/llvm/lib/IRReader/
DIRReader.cpp33 getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
51 SMDiagnostic &Err, in getLazyIRFileModule()
66 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
85 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/
DError.h134 #define EXPECT_THAT_ERROR(Err, Matcher) \ argument
136 #define ASSERT_THAT_ERROR(Err, Matcher) \ argument
139 #define EXPECT_THAT_EXPECTED(Err, Matcher) \ argument
141 #define ASSERT_THAT_EXPECTED(Err, Matcher) \ argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp64 } else if (auto Err = Sym.takeError()) in lookup() local
73 } else if (auto Err = Sym.takeError()) in lookup() local
94 else if (auto Err = Sym.takeError()) in lookupFlags() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IRReader/
DIRReader.cpp34 getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
54 SMDiagnostic &Err, in getLazyIRFileModule()
69 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
96 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DBinaryHolder.cpp51 if (auto Err = ErrOrBuff.getError()) in load() local
90 if (auto Err = ErrOrBuff.getError()) in load() local
169 Error Err = Error::success(); in getObjectEntry() local
227 auto Err = AE.load(Filename, Timestamp, Verbose); in getObjectEntry() local
244 auto Err = OE.load(Filename, Verbose); in getObjectEntry() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp762 Error Err) { in errorToErrorCodeAndEmitErrors()
805 if (Error Err = materialize(F)) in materializeForwardReferencedFunctions() local
1462 if (Error Err = parseAttrKind(Record[++i], &Kind)) in parseAttributeGroupBlock() local
1468 if (Error Err = parseAttrKind(Record[++i], &Kind)) in parseAttributeGroupBlock() local
1934 if (Error Err = parseGlobalValueSymbolTable()) in parseValueSymbolTable() local
1990 if (Error Err = ValOrErr.takeError()) in parseValueSymbolTable() local
1998 if (Error Err = ValOrErr.takeError()) in parseValueSymbolTable() local
2689 if (Error Err = MDLoader->parseModuleMetadata()) in materializeMetadata() local
2733 if (Error Err = resolveGlobalAndIndirectSymbolInits()) in globalCleanup() local
2792 if (Error Err = rememberAndSkipFunctionBody()) in rememberAndSkipFunctionBodies() local
[all …]

12345678910>>...12