/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 42 ErrorAsOutParameter ErrAsOut(Err); in getU() 44 if (isError(Err)) in getU() 62 ErrorAsOutParameter ErrAsOut(Err); in getUs() 63 if (isError(Err)) in getUs() 130 return getU8(offset_ptr, Err); in getUnsigned() 158 if (isError(Err)) in getCStrRef() 167 if (Err) in getCStrRef() 184 if (isError(Err)) in getBytes() 202 if (isError(Err)) in getLEB128() 210 if (Err) in getLEB128() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporter.cpp | 985 if (Err) in import() 1213 if (Err) in VisitConstantArrayType() 1238 if (Err) in VisitVariableArrayType() 1251 if (Err) in VisitDependentSizedArrayType() 1267 if (Err) in VisitDependentSizedExtVectorType() 1345 if (Err) in VisitFunctionProtoType() 1357 if (Err) in VisitUnresolvedUsingType() 1711 if (Err) in VisitAdjustedType() 1728 if (Err) in VisitBTFTagAttributedType() 1751 if (Err) in VisitDependentAddressSpaceType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | Parser.cpp | 32 return LLParser(F.getBuffer(), SM, Err, M, Index, in parseAssemblyInto() 41 return ::parseAssemblyInto(F, M, Index, Err, Slots, in parseAssemblyInto() 65 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile() 74 parseAssemblyWithIndex(MemoryBufferRef F, SMDiagnostic &Err, in parseAssemblyWithIndex() argument 95 F, Err, Context, Slots, in parseAssemblyWithIndex() 108 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex() 140 return parseAssembly(F, Err, Context, Slots); in parseAssemblyString() 162 if (parseSummaryIndexAssemblyInto(F, *Index, Err)) in parseSummaryIndexAssembly() 173 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseSummaryIndexAssemblyFile() 184 return parseSummaryIndexAssembly(F, Err); in parseSummaryIndexAssemblyString() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | DXContainer.cpp | 69 return Err; in parseDXILHeader() 80 return Err; in parseShaderFlags() 90 return Err; in parseHash() 107 return Err; in initialize() 136 return Err; in parsePartOffsets() 162 return Err; in parsePartOffsets() 206 return Err; in parsePartOffsets() 236 return Err; in parse() 279 return Err; in parse() 308 return Err; in parse() [all …]
|
H A D | Archive.cpp | 140 if (Err) in BigArchiveMemberHeader() 148 if (Err) in BigArchiveMemberHeader() 480 Err); in Child() 492 if (*Err) in Child() 621 if (Err) in getNext() 679 if (Err) in create() 737 if (Err) in Archive() 991 if (Err) in child_begin() 1079 if (Err) in getMember() 1390 Err = in BigArchive() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 56 Error Err; variable 67 explicit operator bool() { return !Err; } 78 Error takeError() { return std::move(Err); } in takeError() 130 return getCStrRef(OffsetPtr, Err).data(); 170 return getCStrRef(&C.Offset, &C.Err); in getCStrRef() 234 Error *Err = nullptr) const; 240 return getBytes(&C.Offset, Length, &C.Err); in getBytes() 274 Error *Err = nullptr) const; 280 return getUnsigned(&C.Offset, Size, &C.Err); in getUnsigned() 354 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const; [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
H A D | llvm-dwarfutil.cpp | 292 return Err; in saveNonDebugInfo() 304 if (Error Err = in splitDebugIntoSeparateFile() local 306 return Err; in splitDebugIntoSeparateFile() 323 return Err; in addSectionsFromLinkedData() 331 return Err; in addSectionsFromLinkedData() 339 return Err; in addSectionsFromLinkedData() 347 return Err; in addSectionsFromLinkedData() 366 if (Error Err = in saveSeparateLinkedDebugInfo() local 396 return Err; in saveSingleLinkedDebugInfo() 402 return Err; in saveSingleLinkedDebugInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | EHFrameSupport.cpp | 68 return Err; in operator ()() 83 return Err; in operator ()() 167 return Err; in processBlock() 171 return Err; in processBlock() 174 return Err; in processBlock() 198 return Err; in processCIE() 211 return Err; in processCIE() 217 return Err; in processCIE() 224 return Err; in processCIE() 229 return Err; in processCIE() [all …]
|
/freebsd/contrib/llvm-project/clang/tools/nvptx-arch/ |
H A D | NVPTXArch.cpp | 78 static int handleError(CUresult Err) { in handleError() argument 104 if (llvm::Error Err = loadCUDA()) { in main() local 109 if (CUresult Err = cuInit(0)) { in main() local 110 if (Err == CUDA_ERROR_NO_DEVICE) in main() 113 return handleError(Err); in main() 118 return handleError(Err); in main() 124 return handleError(Err); in main() 127 if (CUresult Err = cuDeviceGetAttribute( in main() local 129 return handleError(Err); in main() 130 if (CUresult Err = cuDeviceGetAttribute( in main() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 259 return Err; in getIntInBytes() 268 return Err; in getAddrSpace() 280 return Err; in parseSpecifier() 285 return Err; in parseSpecifier() 335 return Err; in parseSpecifier() 338 return Err; in parseSpecifier() 347 return Err; in parseSpecifier() 350 return Err; in parseSpecifier() 382 return Err; in parseSpecifier() 413 return Err; in parseSpecifier() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/ |
H A D | Pipeline.cpp | 43 if (Error Err = runCycle()) in run() local 44 return std::move(Err); in run() 53 Error Err = ErrorSuccess(); in runCycle() local 58 Err = S->cycleResume(); in runCycle() 60 Err = S->cycleStart(); in runCycle() 69 Err = FirstStage.execute(IR); in runCycle() 71 if (Err.isA<InstStreamPause>()) { in runCycle() 73 return Err; in runCycle() 78 Err = S->cycleEnd(); in runCycle() 79 if (Err) in runCycle() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 79 return Err; in readIntMax() 89 return Err; in readSize() 99 return Err; in readString() 108 return Err; in read() 120 return Err; in read() 124 return Err; in read() 140 if (Err) { in read() 226 return Err; in readCounter() 228 return Err; in readCounter() 243 return Err; in readMappingRegionsSubArray() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/ |
H A D | LVReaderHandler.cpp | 31 return Err; in process() 32 if (Error Err = printReaders()) in process() local 33 return Err; in process() 35 return Err; in process() 75 Error Err = Error::success(); in handleArchive() local 225 if (Error Err = in handleMach() local 227 return Err; in handleMach() 234 return Err; in handleMach() 281 return Err; in createReaders() 295 return Err; in printReaders() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | SimpleExecutorMemoryManager.cpp | 97 Err = in finalize() 104 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in finalize() 106 return Err; in finalize() 168 Err = joinErrors( in deallocate() 179 Err = joinErrors(std::move(Err), deallocateImpl(P.first, P.second)); in deallocate() 183 return Err; in deallocate() 196 Err = joinErrors(std::move(Err), deallocateImpl(KV.first, KV.second)); in shutdown() 197 return Err; in shutdown() 215 Err = joinErrors(std::move(Err), in deallocateImpl() 222 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in deallocateImpl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | fallible_iterator.h | 84 static fallible_iterator itr(Underlying I, Error &Err) { in itr() argument 85 (void)!!Err; in itr() 86 return fallible_iterator(std::move(I), &Err); in itr() 127 if (auto Err = I.inc()) variable 128 handleError(std::move(Err)); 143 if (auto Err = I.dec()) variable 144 handleError(std::move(Err)); 195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator() argument 196 : I(std::move(I)), ErrState(Err, false) {} in fallible_iterator() 204 void handleError(Error Err) { in handleError() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | COFFVCRuntimeSupport.cpp | 46 return std::move(Err); in loadStaticVCRuntime() 58 return std::move(Err); in loadDynamicVCRuntime() 98 return Err; in loadVCRuntime() 102 return Err; in loadVCRuntime() 113 if (auto Err = lookupAndRecordAddrs( in initializeStaticVCRuntime() local 122 return Err; in initializeStaticVCRuntime() 137 return Err; in initializeStaticVCRuntime() 140 return Err; in initializeStaticVCRuntime() 142 if (auto Err = in initializeStaticVCRuntime() local 144 return Err; in initializeStaticVCRuntime() [all …]
|
H A D | SimpleRemoteEPC.cpp | 53 return std::move(Err); in runAsMain() 61 return std::move(Err); in runAsVoidFunction() 70 return std::move(Err); in runAsIntFunction() 157 return std::move(Err); in handleMessage() 162 return std::move(Err); in handleMessage() 166 return std::move(Err); in handleMessage() 207 return std::move(Err); in createDefaultMemoryManager() 247 if (Err) in sendMessage() 250 return Err; in sendMessage() 305 return Err; in setup() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | Parser.h | 46 std::unique_ptr<Module> parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, 62 SMDiagnostic &Err, 87 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 95 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 107 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err); 118 parseSummaryIndexAssemblyString(StringRef AsmString, SMDiagnostic &Err); 128 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, 143 SMDiagnostic &Err, 154 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err); 192 Type *parseType(StringRef Asm, SMDiagnostic &Err, const Module &M, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDataExtractor.cpp | 18 ErrorAsOutParameter ErrAsOut(Err); in getInitialLength() 19 if (Err && *Err) in getInitialLength() 30 if (Err) in getInitialLength() 31 *Err = createStringError( in getInitialLength() 41 if (Err) in getInitialLength() 42 *Err = C.takeError(); in getInitialLength() 50 Error *Err) const { in getRelocatedValue() 54 return getUnsigned(Off, Size, Err); in getRelocatedValue() 56 ErrorAsOutParameter ErrAsOut(Err); in getRelocatedValue() 58 uint64_t LocData = getUnsigned(Off, Size, Err); in getRelocatedValue() [all …]
|
H A D | DWARFAbbreviationDeclaration.cpp | 41 Error Err = Error::success(); in extract() local 43 if (Err) in extract() 44 return std::move(Err); in extract() 51 if (Err) in extract() 52 return std::move(Err); in extract() 60 if (Err) in extract() 61 return std::move(Err); in extract() 72 if (Err) in extract() 73 return std::move(Err); in extract() 76 if (Err) in extract() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | DWARFEmitter.cpp | 733 return std::move(Err); in writeDWARFExpression() 738 return std::move(Err); in writeDWARFExpression() 773 return std::move(Err); in writeListEntry() 777 return std::move(Err); in writeListEntry() 784 return std::move(Err); in writeListEntry() 790 return std::move(Err); in writeListEntry() 792 return std::move(Err); in writeListEntry() 1044 return Err; in emitDebugSectionImpl() 1075 Err = joinErrors(std::move(Err), in emitDebugSections() 1078 if (Err) in emitDebugSections() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 229 if (auto Err = PB.parsePassPipeline(PM, PipelineOpt)) { in tryParsePipelineText() local 231 << " pipeline: " << toString(std::move(Err)) in tryParsePipelineText() 245 Err(PB.parsePassPipeline(PM, PeepholeEPPipeline)); in registerEPCallbacks() 308 ExitOnError Err( in registerEPCallbacks() local 310 Err(PB.parsePassPipeline(PM, in registerEPCallbacks() 317 ExitOnError Err( in registerEPCallbacks() local 438 if (auto Err = PB.parseAAPipeline(AA, AAPipeline)) { in runPassPipeline() local 439 errs() << Arg0 << ": " << toString(std::move(Err)) << "\n"; in runPassPipeline() 464 if (auto Err = PB.parsePassPipeline(MPM, PassPipeline)) { in runPassPipeline() local 516 if (auto Err = PB.parsePassPipeline(TempPM, Pipeline)) { in runPassPipeline() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVCompare.cpp | 158 return Err; in execute() 173 return Err; in execute() 180 return Err; in execute() 255 return Err; in execute() 259 return Err; in execute() 262 return Err; in execute() 283 return Err; in execute() 287 return Err; in execute() 335 return Err; in execute() 340 return Err; in execute() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewReader.cpp | 422 return Err; in loadTypeServer() 544 return Err; in traverseTypeSection() 600 return Err; in traverseTypes() 667 return Err; in traverseSymbolSection() 853 return Err; in createScopes() 901 return Err; in createScopes() 955 return Err; in createScopes() 972 return Err; in createScopes() 1063 return Err; in createScopes() 1106 return Err; in createScopes() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | error.h | 160 if (Err.isA<ErrT>()) in error_cast() 161 return Err.takePayload<ErrT>(); in error_cast() 169 ErrorAsOutParameter(Error *Err) : Err(Err) { in ErrorAsOutParameter() argument 171 if (Err) in ErrorAsOutParameter() 172 (void)!!*Err; in ErrorAsOutParameter() 177 if (Err && !*Err) in ~ErrorAsOutParameter() 178 *Err = Error::success(); in ~ErrorAsOutParameter() 182 Error *Err; 380 if (Err) in consumeError() 386 inline void cantFail(Error Err) { in cantFail() argument [all …]
|