/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | Serialization.h | 285 if (auto Err = in serialize() local 289 if (auto Err = SequenceTraits<ChannelT>::emitSeparator(C)) in serialize() local 297 if (auto Err = in deserialize() local 300 if (auto Err = SequenceTraits<ChannelT>::consumeSeparator(C)) in deserialize() local 353 if (auto Err = serializeSeq(C, *KeyName)) in registerErrorType() local 360 static Error serialize(ChannelT &C, Error &&Err) { in serialize() 374 static Error deserialize(ChannelT &C, Error &Err) { in deserialize() 378 if (auto Err = deserializeSeq(C, Key)) in deserialize() local 465 if (auto Err = serializeSeq(C, true)) in serialize() local 469 if (auto Err = serializeSeq(C, false)) in serialize() local [all …]
|
H A D | RPCUtils.h | 247 static ErrorReturnType returnError(Error Err) { return std::move(Err); } in returnError() 277 static void consumeAbandoned(ErrorReturnType Err) { in consumeAbandoned() 281 static ErrorReturnType returnError(Error Err) { return Err; } in returnError() 331 if (auto Err = C.startSendMessage(ResponseId, SeqNo)) in sendResult() local 335 if (auto Err = in sendResult() local 341 if (auto Err = C.endSendMessage()) in sendResult() local 348 SequenceNumberT SeqNo, Error Err) { in sendResult() 369 if (auto Err = ResultOrErr.takeError()) in sendResult() local 373 if (auto Err = C.startSendMessage(ResponseId, SeqNo)) in sendResult() local 377 if (auto Err = in sendResult() local [all …]
|
H A D | RawByteChannel.h | 44 if (auto Err = serializeSeq(*this, FnId, SeqNo)) { in startSendMessage() local 63 if (auto Err = deserializeSeq(*this, FnId, SeqNo)) { in startReceiveMessage() local 104 if (auto Err = C.readBytes(reinterpret_cast<char *>(&V), sizeof(T))) in deserialize() local 118 if (auto Err = C.appendBytes(reinterpret_cast<const char *>(&Tmp), 1)) in serialize() local 125 if (auto Err = C.readBytes(reinterpret_cast<char *>(&Tmp), 1)) in deserialize() local 139 if (auto Err = serializeSeq(C, static_cast<uint64_t>(S.size()))) in serialize() local 172 if (auto Err = deserializeSeq(C, Count)) in deserialize() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
H A D | EHFrameSupport.cpp | 60 if (auto Err = processBlock(G, B, BCache)) in operator ()() local 97 if (auto Err = BlockReader.readInteger(Length)) in processBlock() local 100 if (auto Err = BlockReader.skip(Length)) in processBlock() local 104 if (auto Err = BlockReader.readInteger(ExtendedLength)) in processBlock() local 106 if (auto Err = BlockReader.skip(ExtendedLength)) in processBlock() local 155 if (auto Err = PC.AddrToBlock.addBlocks(Sec.blocks(), in operator ()() local 171 if (auto Err = processBlock(PC, *B)) in operator ()() local 223 if (auto Err = BlockReader.readInteger(Length)) in processBlock() local 231 if (auto Err = BlockReader.readInteger(ExtendedLength)) in processBlock() local 245 if (auto Err = BlockReader.readInteger(CIEDelta)) in processBlock() local [all …]
|
H A D | JITLinkGeneric.cpp | 32 if (auto Err = runPasses(Passes.PrePrunePasses)) in linkPhase1() local 48 if (auto Err = runPasses(Passes.PostPrunePasses)) in linkPhase1() local 55 if (auto Err = allocateSegments(Layout)) in linkPhase1() local 65 if (auto Err = runPasses(Passes.PostAllocationPasses)) in linkPhase1() local 71 if (auto Err = Ctx->notifyResolved(*G)) in linkPhase1() local 140 if (auto Err = runPasses(Passes.PreFixupPasses)) in linkPhase2() local 149 if (auto Err = fixUpBlocks(*G)) in linkPhase2() local 157 if (auto Err = runPasses(Passes.PostFixupPasses)) in linkPhase2() local 162 auto Phase3Continuation = [UnownedSelf](Error Err) { in linkPhase2() 170 void JITLinkerBase::linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err) { in linkPhase3() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | DataLayout.cpp | 194 if (Error Err = setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, in reset() local 198 if (Error Err = setPointerAlignment(0, Align(8), Align(8), 8, 8)) in reset() local 201 if (Error Err = parseSpecifier(Desc)) in reset() local 207 if (Error Err = Layout.parseSpecifier(LayoutDescription)) in parse() local 240 if (Error Err = getInt<IntTy>(R, Result)) in getIntInBytes() local 249 if (Error Err = getInt(R, AddrSpace)) in getAddrSpace() local 261 if (Error Err = split(Desc, '-', Split)) in parseSpecifier() local 266 if (Error Err = split(Split.first, ':', Split)) in parseSpecifier() local 275 if (Error Err = split(Rest, ':', Split)) in parseSpecifier() local 279 if (Error Err = getInt(Split.first, AS)) in parseSpecifier() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 76 if (auto Err = readULEB128(Result)) in readIntMax() local 84 if (auto Err = readULEB128(Result)) in readSize() local 94 if (auto Err = readSize(Length)) in readString() local 103 if (auto Err = readSize(NumFilenames)) in read() local 114 if (auto Err = readULEB128(UncompressedLen)) in read() local 118 if (auto Err = readSize(CompressedLen)) in read() local 132 auto Err = in read() local 155 if (auto Err = readString(Filename)) in readUncompressed() local 161 if (auto Err = readString(CWD)) in readUncompressed() local 167 if (auto Err = readString(Filename)) in readUncompressed() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
H A D | Parser.cpp | 26 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() 40 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() 48 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() 61 SMDiagnostic &Err, in parseAssemblyFile() 76 parseAssemblyWithIndex(MemoryBufferRef F, SMDiagnostic &Err, in parseAssemblyWithIndex() 93 SMDiagnostic &Err, in parseAssemblyWithIndex() 102 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex() 120 llvm::parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex() 129 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndexNoUpgradeDebugInfo() 137 SMDiagnostic &Err, in parseAssemblyString() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | DWARFEmitter.cpp | 175 if (Error Err = writeVariableSizedInteger(Descriptor.Address, AddrSize, in emitDebugAranges() local 210 if (Error Err = writeVariableSizedInteger(Entry.LowOffset, AddrSize, OS, in emitDebugRanges() local 303 if (Error Err = writeVariableSizedInteger( in writeDIE() local 309 if (Error Err = writeVariableSizedInteger(FormVal->Value, in writeDIE() local 653 if (Error Err = writeVariableSizedInteger(Pair.Segment, in emitDebugAddr() local 660 if (Error Err = writeVariableSizedInteger(Pair.Address, AddrSize, OS, in emitDebugAddr() local 709 if (Error Err = writeVariableSizedInteger(Addr, AddrSize, OS, IsLittleEndian)) in writeListEntryAddress() local 731 if (Error Err = CheckOperands(1)) in writeDWARFExpression() local 736 if (Error Err = CheckOperands(0)) in writeDWARFExpression() local 771 if (Error Err = CheckOperands(0)) in writeListEntry() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | fallible_iterator.h | 84 static fallible_iterator itr(Underlying I, Error &Err) { in itr() 127 if (auto Err = I.inc()) variable 143 if (auto Err = I.dec()) variable 195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator() 204 void handleError(Error Err) { in handleError() 221 fallible_iterator<Underlying> make_fallible_itr(Underlying I, Error &Err) { in make_fallible_itr() 234 make_fallible_range(Underlying I, Underlying E, Error &Err) { in make_fallible_range()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsRemovableCode/ |
H A D | OrcV2CBindingsRemovableCode.c | 18 int handleError(LLVMErrorRef Err) { in handleError() 85 LLVMErrorRef Err; in main() local 100 LLVMErrorRef Err; in main() local 114 LLVMErrorRef Err; in main() local 130 LLVMErrorRef Err; in main() local 142 LLVMErrorRef Err = LLVMOrcLLJITLookup(J, &ThrowAwayAddress, "sum"); in main() local 163 LLVMErrorRef Err; in main() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ASTImporter.cpp | 193 template <typename T> T importChecked(Error &Err, const T &From) { in importChecked() 704 if (auto Err = ImportTemplateArgumentListInfo(Container, ToTAInfo)) in ImportTemplateArgumentListInfo() local 735 if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate())) in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local 740 if (Error Err = ImportTemplateArguments(TemplArgs.data(), TemplArgs.size(), in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local 751 if (Error Err = ImportContainerChecked(*From, To)) in import() local 842 if (Error Err = ImportTemplateArguments( in import() local 968 if (Error Err = importInto(EllipsisLoc, From.getEllipsisLoc())) in import() local 1156 Error Err = Error::success(); in VisitConstantArrayType() local 1180 Error Err = Error::success(); in VisitVariableArrayType() local 1193 Error Err = Error::success(); in VisitDependentSizedArrayType() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 160 if (auto Err = PB.parsePassPipeline(PM, PipelineOpt)) { in tryParsePipelineText() local 175 ExitOnError Err("Unable to parse PeepholeEP pipeline: "); in registerEPCallbacks() local 182 ExitOnError Err("Unable to parse LateLoopOptimizationsEP pipeline: "); in registerEPCallbacks() local 188 ExitOnError Err("Unable to parse LoopOptimizerEndEP pipeline: "); in registerEPCallbacks() local 195 ExitOnError Err("Unable to parse ScalarOptimizerLateEP pipeline: "); in registerEPCallbacks() local 201 ExitOnError Err("Unable to parse CGSCCOptimizerLateEP pipeline: "); in registerEPCallbacks() local 207 ExitOnError Err("Unable to parse VectorizerStartEP pipeline: "); in registerEPCallbacks() local 213 ExitOnError Err("Unable to parse PipelineStartEP pipeline: "); in registerEPCallbacks() local 220 ExitOnError Err("Unable to parse EarlySimplification pipeline: "); in registerEPCallbacks() local 226 ExitOnError Err("Unable to parse OptimizerLastEP pipeline: "); in registerEPCallbacks() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 426 if (Error Err = tryRead(Signature[0], 8)) in ReadSignature() local 428 if (Error Err = tryRead(Signature[1], 8)) in ReadSignature() local 433 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local 435 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local 440 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local 442 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local 447 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local 449 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local 454 if (Error Err = tryRead(Signature[2], 4)) in ReadSignature() local 456 if (Error Err = tryRead(Signature[3], 4)) in ReadSignature() local [all …]
|
H A D | BitcodeReader.cpp | 143 if (Error Err = hasInvalidBitcodeHeader(Stream)) in initStream() local 173 if (Error Err = Stream.EnterSubBlock(bitc::IDENTIFICATION_BLOCK_ID)) in readIdentificationBlock() local 245 if (Error Err = Stream.SkipBlock()) in readIdentificationCode() local 258 if (Error Err = Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in hasObjCCategoryInModule() local 325 if (Error Err = Stream.SkipBlock()) in hasObjCCategory() local 339 if (Error Err = Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in readModuleTriple() local 403 if (Error Err = Stream.SkipBlock()) in readTriple() local 849 Error Err) { in errorToErrorCodeAndEmitErrors() 892 if (Error Err = materialize(F)) in materializeForwardReferencedFunctions() local 1339 if (Error Err = Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID)) in parseAttributeBlock() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsBasicUsage/ |
H A D | OrcV2CBindingsBasicUsage.c | 18 int handleError(LLVMErrorRef Err) { in handleError() 85 LLVMErrorRef Err; in main() local 98 LLVMErrorRef Err; in main() local 111 LLVMErrorRef Err; in main() local 131 LLVMErrorRef Err; in main() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/ |
H A D | OrcV2CBindingsAddObjectFile.c | 19 int handleError(LLVMErrorRef Err) { in handleError() 71 LLVMErrorRef Err; in main() local 115 LLVMErrorRef Err; in main() local 125 LLVMErrorRef Err; in main() local 145 LLVMErrorRef Err; in main() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 170 if (auto Err = ErrOrCC1Args.takeError()) in create() local 177 llvm::Error &Err) { in Interpreter() 189 llvm::Error Err = llvm::Error::success(); in create() local 210 llvm::Error Err = llvm::Error::success(); in Execute() local 217 if (auto Err = IncrExecutor->addModule(std::move(T.TheModule))) in Execute() local 220 if (auto Err = IncrExecutor->runCtors()) in Execute() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | SerializedDiagnosticReader.cpp | 98 if (llvm::Error Err = Stream.SkipBlock()) { in readDiagnostics() local 146 if (llvm::Error Err = Stream.ReadAbbrevRecord()) in skipUntilRecordOrBlock() local 163 if (llvm::Error Err = in readMetaBlock() local 182 if (llvm::Error Err = Stream.SkipBlock()) { in readMetaBlock() local 212 if (llvm::Error Err = in readDiagnosticBlock() local 236 } else if (llvm::Error Err = Stream.SkipBlock()) { in readDiagnosticBlock() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsReflectProcessSymbols/ |
H A D | OrcV2CBindingsReflectProcessSymbols.c | 19 int handleError(LLVMErrorRef Err) { in handleError() 130 LLVMErrorRef Err; in main() local 147 LLVMErrorRef Err; in main() local 165 LLVMErrorRef Err; in main() local 178 LLVMErrorRef Err; in main() local 207 LLVMErrorRef Err; in main() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
H A D | COFFModuleDefinition.cpp | 83 static Error createError(const Twine &Err) { in createError() 153 if (Error Err = parseOne()) in parse() local 197 if (Error Err = parseExport()) in parseOne() local 208 if (Error Err = parseName(&Name, &Info.ImageBase)) in parseOne() local 301 if (Error Err = readAsInt(Reserve)) in parseNumbers() local 309 if (Error Err = readAsInt(Commit)) in parseNumbers() local 326 if (Error Err = expect(Equal, "'=' expected")) in parseName() local 328 if (Error Err = readAsInt(Baseaddr)) in parseName() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/ |
H A D | llvm-gsymutil.cpp | 126 static void error(StringRef Prefix, llvm::Error Err) { in error() 321 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile() local 325 if (auto Err = ObjectFileTransformer::convert(Obj, OS, Gsym)) in handleObjectFile() local 331 if (auto Err = Gsym.finalize(OS)) in handleObjectFile() local 337 if (auto Err = Gsym.save(OutFile.c_str(), Endian)) in handleObjectFile() local 343 if (auto Err = DT.verify(OutFile)) in handleObjectFile() local 359 if (auto Err = handleObjectFile(*Obj, OutFile.c_str())) in handleBuffer() local 393 if (auto Err = handleObjectFile(*Obj, ArchOutFile)) in handleBuffer() local 424 if (auto Err = handleFileConversionToGSYM(Object, OutFile)) in convertFileToGSYM() local 485 if (auto Err = convertFileToGSYM(OS)) in main() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ |
H A D | RefactoringCallbacks.cpp | 52 llvm::Error Err = in HandleTranslationUnit() local 91 auto Err = Replace.add(tooling::Replacement( in run() local 111 auto Err = Replace.add( in run() local 131 auto Err = in run() local 142 auto Err = in run() local 231 llvm::Error Err = Replace.add(Replacement); in run() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | Error.cpp | 93 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() 140 void report_fatal_error(Error Err, bool GenCrashDiag) { in report_fatal_error() 152 LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err) { in LLVMGetErrorTypeId() 156 void LLVMConsumeError(LLVMErrorRef Err) { consumeError(unwrap(Err)); } in LLVMConsumeError() 158 char *LLVMGetErrorMessage(LLVMErrorRef Err) { in LLVMGetErrorMessage()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 33 llvm::getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule() 53 SMDiagnostic &Err, in getLazyIRFileModule() 68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR() 92 llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseIRFile()
|