Home
last modified time | relevance | path

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

12345678910>>...16

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupport.cpp66 if (auto Err = PC.AddrToBlock.addBlocks(Sec.blocks(), in operator ()() local
82 if (auto Err = processBlock(PC, *B)) in operator ()() local
91 if (auto Err = R.readInteger(Length)) in readCFIRecordLength() local
100 if (auto Err = R.readInteger(ExtendedLength)) in readCFIRecordLength() local
166 if (auto Err = BlockReader.readInteger(CIEDelta)) in processBlock() local
170 if (auto Err = processCIE(PC, B, RecordStartOffset, in processBlock() local
175 if (auto Err = processFDE(PC, B, RecordStartOffset, in processBlock() local
209 if (auto Err = RecordReader.readInteger(Version)) in processCIE() local
222 if (auto Err = RecordReader.skip(PC.G.getPointerSize())) in processCIE() local
228 if (auto Err = RecordReader.readULEB128(CodeAlignmentFactor)) in processCIE() local
[all …]
H A DJITLinkGeneric.cpp32 if (auto Err = runPasses(Passes.PrePrunePasses)) in linkPhase1() local
48 if (auto Err = runPasses(Passes.PostPrunePasses)) in linkPhase1() local
77 if (auto Err = runPasses(Passes.PostAllocationPasses)) in linkPhase2() local
83 if (auto Err = Ctx->notifyResolved(*G)) in linkPhase2() local
146 if (auto Err = runPasses(Passes.PreFixupPasses)) in linkPhase3() local
155 if (auto Err = fixUpBlocks(*G)) in linkPhase3() local
163 if (auto Err = runPasses(Passes.PostFixupPasses)) in linkPhase3() local
192 if (auto Err = P(*G)) in runPasses() local
259 Error Err) { in abandonAllocAndBailOut()
H A DDWARFRecordSectionSplitter.cpp56 if (auto Err = processBlock(G, B, BCache)) in operator ()() local
90 if (auto Err = BlockReader.readInteger(Length)) in processBlock() local
93 if (auto Err = BlockReader.skip(Length)) in processBlock() local
97 if (auto Err = BlockReader.readInteger(ExtendedLength)) in processBlock() local
99 if (auto Err = BlockReader.skip(ExtendedLength)) in processBlock() local
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp254 if (Error Err = writeToOutput( in saveSeparateDebugInfo() local
257 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo() local
279 if (Error Err = writeToOutput( in saveNonDebugInfo() local
281 if (Error Err = in saveNonDebugInfo() local
299 if (Error Err = in splitDebugIntoSeparateFile() local
317 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) in addSectionsFromLinkedData() local
325 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) in addSectionsFromLinkedData() local
333 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) in addSectionsFromLinkedData() local
341 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) in addSectionsFromLinkedData() local
361 if (Error Err = in saveSeparateLinkedDebugInfo() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDataLayout.cpp196 if (Error Err = setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, in reset() local
200 if (Error Err = setPointerAlignmentInBits(0, Align(8), Align(8), 64, 64)) in reset() local
203 if (Error Err = parseSpecifier(Desc)) in reset() local
209 if (Error Err = Layout.parseSpecifier(LayoutDescription)) in parse() local
242 if (Error Err = getInt<IntTy>(R, Result)) in getIntInBytes() local
251 if (Error Err = getInt(R, AddrSpace)) in getAddrSpace() local
263 if (Error Err = ::split(Desc, '-', Split)) in parseSpecifier() local
268 if (Error Err = ::split(Split.first, ':', Split)) in parseSpecifier() local
277 if (Error Err = ::split(Rest, ':', Split)) in parseSpecifier() local
281 if (Error Err = getInt(Split.first, AS)) in parseSpecifier() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp77 if (auto Err = readULEB128(Result)) in readIntMax() local
85 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 = compression::zlib::decompress( 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 …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp176 if (Error Err = writeVariableSizedInteger(Descriptor.Address, AddrSize, in emitDebugAranges() local
211 if (Error Err = writeVariableSizedInteger(Entry.LowOffset, AddrSize, OS, in emitDebugRanges() local
304 if (Error Err = writeVariableSizedInteger( in writeDIE() local
310 if (Error Err = writeVariableSizedInteger(FormVal->Value, in writeDIE() local
654 if (Error Err = writeVariableSizedInteger(Pair.Segment, in emitDebugAddr() local
661 if (Error Err = writeVariableSizedInteger(Pair.Address, AddrSize, OS, in emitDebugAddr() local
710 if (Error Err = writeVariableSizedInteger(Addr, AddrSize, OS, IsLittleEndian)) in writeListEntryAddress() local
732 if (Error Err = CheckOperands(1)) in writeDWARFExpression() local
737 if (Error Err = CheckOperands(0)) in writeDWARFExpression() local
772 if (Error Err = CheckOperands(0)) in writeListEntry() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DDXContainer.cpp67 if (Error Err = readStruct(Part, Current, Header)) in parseDXILHeader() local
78 if (Error Err = readInteger(Part, Part.begin(), FlagValue)) in parseShaderFlags() local
88 if (Error Err = readStruct(Part, Part.begin(), ReadHash)) in parseHash() local
100 if (Error Err = readInteger(Data.getBuffer(), Current, PartOffset)) in parsePartOffsets() local
124 if (Error Err = readInteger(Data.getBuffer(), in parsePartOffsets() local
132 if (Error Err = parseDXILHeader(PartData)) in parsePartOffsets() local
136 if (Error Err = parseShaderFlags(PartData)) in parsePartOffsets() local
140 if (Error Err = parseHash(PartData)) in parsePartOffsets() local
152 if (Error Err = Container.parseHeader()) in create() local
154 if (Error Err = Container.parsePartOffsets()) in create() local
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DParser.cpp24 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
38 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
46 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly()
59 SMDiagnostic &Err, in parseAssemblyFile()
74 parseAssemblyWithIndex(MemoryBufferRef F, SMDiagnostic &Err, in parseAssemblyWithIndex()
91 SMDiagnostic &Err, in parseAssemblyWithIndex()
101 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex()
119 llvm::parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex()
128 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndexNoUpgradeDebugInfo()
136 SMDiagnostic &Err, in parseAssemblyString()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp25 if (Error Err = createReaders()) in process() local
27 if (Error Err = printReaders()) in process() local
29 if (Error Err = compareReaders()) in process() local
65 Error Err = Error::success(); in handleArchive() local
68 if (Error Err = BuffOrErr.takeError()) in handleArchive() local
72 if (Error Err = NameOrErr.takeError()) in handleArchive() local
76 if (Error Err = handleBuffer(Readers, Name, BuffOrErr.get())) in handleArchive() local
121 if (Error Err = in handleMach() local
129 if (Error Err = handleArchive(Readers, ObjName, *ArchiveOrErr.get())) in handleMach() local
159 if (Error Err = createReader(Object, Readers)) in createReaders() local
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTImporter.cpp692 template <typename T> T importChecked(Error &Err, const T &From) { in importChecked()
756 if (auto Err = ImportTemplateArgumentListInfo(Container, ToTAInfo)) in ImportTemplateArgumentListInfo() local
787 if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate())) in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local
791 if (Error Err = ImportTemplateArguments(FTSInfo->TemplateArguments->asArray(), in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local
802 if (Error Err = ImportContainerChecked(*From, To)) in import() local
893 if (Error Err = ImportTemplateArguments(From.pack_elements(), ToPack)) in import() local
1018 if (Error Err = importInto(EllipsisLoc, From.getEllipsisLoc())) in import() local
1206 Error Err = Error::success(); in VisitConstantArrayType() local
1230 Error Err = Error::success(); in VisitVariableArrayType() local
1243 Error Err = Error::success(); in VisitDependentSizedArrayType() local
[all …]
/openbsd-src/gnu/llvm/llvm/tools/opt/
H A DNewPMDriver.cpp225 if (auto Err = PB.parsePassPipeline(PM, PipelineOpt)) { in tryParsePipelineText() local
240 ExitOnError Err("Unable to parse PeepholeEP pipeline: "); in registerEPCallbacks() local
247 ExitOnError Err("Unable to parse LateLoopOptimizationsEP pipeline: "); in registerEPCallbacks() local
253 ExitOnError Err("Unable to parse LoopOptimizerEndEP pipeline: "); in registerEPCallbacks() local
260 ExitOnError Err("Unable to parse ScalarOptimizerLateEP pipeline: "); in registerEPCallbacks() local
266 ExitOnError Err("Unable to parse CGSCCOptimizerLateEP pipeline: "); in registerEPCallbacks() local
272 ExitOnError Err("Unable to parse VectorizerStartEP pipeline: "); in registerEPCallbacks() local
278 ExitOnError Err("Unable to parse PipelineStartEP pipeline: "); in registerEPCallbacks() local
285 ExitOnError Err("Unable to parse EarlySimplification pipeline: "); in registerEPCallbacks() local
291 ExitOnError Err("Unable to parse OptimizerEarlyEP pipeline: "); in registerEPCallbacks() local
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A Dfallible_iterator.h84 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()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp435 if (Error Err = tryRead(Signature[0], 8)) in ReadSignature() local
437 if (Error Err = tryRead(Signature[1], 8)) in ReadSignature() local
442 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local
444 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local
449 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local
451 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local
456 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() local
458 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() local
463 if (Error Err = tryRead(Signature[2], 4)) in ReadSignature() local
465 if (Error Err = tryRead(Signature[3], 4)) in ReadSignature() local
[all …]
H A DBitcodeReader.cpp150 if (Error Err = hasInvalidBitcodeHeader(Stream)) in initStream() local
180 if (Error Err = Stream.EnterSubBlock(bitc::IDENTIFICATION_BLOCK_ID)) in readIdentificationBlock() local
248 if (Error Err = Stream.SkipBlock()) in readIdentificationCode() local
260 if (Error Err = Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in hasObjCCategoryInModule() local
325 if (Error Err = Stream.SkipBlock()) in hasObjCCategory() local
338 if (Error Err = Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in readModuleTriple() local
402 if (Error Err = Stream.SkipBlock()) in readTriple() local
957 Error Err) { in errorToErrorCodeAndEmitErrors()
1003 if (Error Err = materialize(F)) in materializeForwardReferencedFunctions() local
1009 if (Error Err = materialize(F)) in materializeForwardReferencedFunctions() local
[all …]
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsRemovableCode/
H A DOrcV2CBindingsRemovableCode.c18 int handleError(LLVMErrorRef Err) { in handleError()
88 LLVMErrorRef Err; in main() local
103 LLVMErrorRef Err; in main() local
117 LLVMErrorRef Err; in main() local
133 LLVMErrorRef Err; in main() local
145 LLVMErrorRef Err = LLVMOrcLLJITLookup(J, &ThrowAwayAddress, "sum"); in main() local
166 LLVMErrorRef Err; in main() local
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp51 if (auto Err = callSPSWrapper<rt::SPSRunAsMainSignature>( in runAsMain() local
59 if (auto Err = callSPSWrapper<rt::SPSRunAsVoidFunctionSignature>( in runAsVoidFunction() local
68 if (auto Err = callSPSWrapper<rt::SPSRunAsIntFunctionSignature>( in runAsIntFunction() local
85 if (auto Err = sendMessage(SimpleRemoteEPCOpcode::CallWrapper, SeqNo, in callWrapperAsync() local
157 if (auto Err = handleSetup(SeqNo, TagAddr, std::move(ArgBytes))) in handleMessage() local
162 if (auto Err = handleHangup(std::move(ArgBytes))) in handleMessage() local
166 if (auto Err = handleResult(SeqNo, TagAddr, std::move(ArgBytes))) in handleMessage() local
176 void SimpleRemoteEPC::handleDisconnect(Error Err) { in handleDisconnect()
202 if (auto Err = SREPC.getBootstrapSymbols( in createDefaultMemoryManager() local
247 auto Err = T->sendMessage(OpC, SeqNo, TagAddr, ArgBytes); in sendMessage() local
[all …]
H A DCOFFVCRuntimeSupport.cpp44 if (auto Err = loadVCRuntime(JD, ImportedLibraries, ArrayRef(VCLibs), in loadStaticVCRuntime() local
56 if (auto Err = loadVCRuntime(JD, ImportedLibraries, ArrayRef(VCLibs), in loadDynamicVCRuntime() local
97 if (auto Err = LoadLibrary(Path.UCRTSdkLib, Lib)) in loadVCRuntime() local
101 if (auto Err = LoadLibrary(Path.VCToolchainLib, Lib)) in loadVCRuntime() local
113 if (auto Err = lookupAndRecordAddrs( in initializeStaticVCRuntime() local
136 if (auto Err = RunVoidInitFunc(jit_scrt_dllmain_before_initialize_c)) in initializeStaticVCRuntime() local
139 if (auto Err = RunVoidInitFunc(jit_scrt_initialize_type_info)) in initializeStaticVCRuntime() local
142 if (auto Err = in initializeStaticVCRuntime() local
149 if (auto Err = JD.define(symbolAliases(Alias))) in initializeStaticVCRuntime() local
/openbsd-src/gnu/llvm/clang/tools/nvptx-arch/
H A DNVPTXArch.cpp72 static int handleError(CUresult Err) { in handleError()
83 if (llvm::Error Err = loadCUDA()) { in main() local
88 if (CUresult Err = cuInit(0)) { in main() local
96 if (CUresult Err = cuDeviceGetCount(&Count)) in main() local
102 if (CUresult Err = cuDeviceGet(&Device, DeviceId)) in main() local
106 if (CUresult Err = cuDeviceGetAttribute( in main() local
109 if (CUresult Err = cuDeviceGetAttribute( in main() local
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DInterpreter.cpp168 if (auto Err = ErrOrCC1Args.takeError()) in create() local
175 llvm::Error &Err) { in Interpreter()
185 if (llvm::Error Err = IncrExecutor->cleanUp()) in ~Interpreter() local
194 llvm::Error Err = llvm::Error::success(); in create() local
222 llvm::Error Err = llvm::Error::success(); in Execute() local
229 if (auto Err = IncrExecutor->addModule(T)) in Execute() local
232 if (auto Err = IncrExecutor->runCtors()) in Execute() local
277 if (llvm::Error Err = IncrExecutor->removeModule(PTUs.back())) in Undo() local
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsVeryLazy/
H A DOrcV2CBindingsVeryLazy.c21 int handleError(LLVMErrorRef Err) { in handleError()
92 LLVMErrorRef Err = LLVMCreateStringError(ErrMsg); in parseExampleModule() local
123 LLVMErrorRef Err; in Materialize() local
180 LLVMErrorRef Err; in main() local
191 LLVMErrorRef Err; in main() local
235 LLVMErrorRef Err; in main() local
262 LLVMErrorRef Err; in main() local
287 LLVMErrorRef Err; in main() local
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp156 if (Error Err = LHS->doPrint(/*Split=*/false, /*Match=*/false, in execute() local
172 if (Error Err = CompareViews(ReferenceRoot, TargetRoot)) in execute() local
179 if (Error Err = CompareViews(TargetRoot, ReferenceRoot)) in execute() local
241 if (Error Err = Element->doPrint(/*Split=*/false, /*Match=*/false, in execute() local
255 if (Error Err = FindMatch(LHS->getScopes(), RHS->getScopes(), "Scopes")) in execute() local
258 if (Error Err = in execute() local
262 if (Error Err = FindMatch(LHS->getTypes(), RHS->getTypes(), "Types")) in execute() local
265 if (Error Err = FindMatch(LHS->getLines(), RHS->getLines(), "Lines")) in execute() local
282 if (Error Err = CompareReaders(ReferenceReader, TargetReader, ElementsToAdd, in execute() local
286 if (Error Err = CompareReaders(TargetReader, ReferenceReader, ElementsToAdd, in execute() local
[all …]
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsLazy/
H A DOrcV2CBindingsLazy.c19 int handleError(LLVMErrorRef Err) { in handleError()
116 LLVMErrorRef Err; in main() local
127 LLVMErrorRef Err; in main() local
177 LLVMErrorRef Err; in main() local
206 LLVMErrorRef Err; in main() local
231 LLVMErrorRef Err; in main() local
/openbsd-src/gnu/llvm/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp129 static void error(Error Err) { in error()
136 static void error(StringRef Prefix, llvm::Error Err) { in error()
297 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile() local
301 if (auto Err = ObjectFileTransformer::convert(Obj, OS, Gsym)) in handleObjectFile() local
307 if (auto Err = Gsym.finalize(OS)) in handleObjectFile() local
313 if (auto Err = Gsym.save(OutFile, Endian)) in handleObjectFile() local
319 if (auto Err = DT.verify(OutFile)) in handleObjectFile() local
335 if (auto Err = handleObjectFile(*Obj, OutFile)) in handleBuffer() local
369 if (auto Err = handleObjectFile(*Obj, ArchOutFile)) in handleBuffer() local
407 if (auto Err = handleFileConversionToGSYM(Object, OutFile)) in convertFileToGSYM() local
[all …]
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsBasicUsage/
H A DOrcV2CBindingsBasicUsage.c18 int handleError(LLVMErrorRef Err) { in handleError()
88 LLVMErrorRef Err; in main() local
101 LLVMErrorRef Err; in main() local
114 LLVMErrorRef Err; in main() local
134 LLVMErrorRef Err; in main() local

12345678910>>...16