Searched refs:EC (Results 251 - 275 of 485) sorted by relevance

<<11121314151617181920

/openbsd-current/gnu/llvm/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp171 static void failIfError(std::error_code EC, Twine Context = "") { argument
172 if (!EC)
177 fail(EC.message());
178 fail(Context + ": " + EC.message());
1140 std::error_code EC = Buf.getError(); local
1141 if (EC && EC != errc::no_such_file_or_directory)
1142 fail("unable to open '" + ArchiveName + "': " + EC.message());
1144 if (!EC) {
1159 assert(EC
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DErrorOr.h82 ErrorOr(std::error_code EC) : HasError(true) { argument
83 new (getErrorStorage()) std::error_code(EC);
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DSpecialCaseList.cpp104 if (std::error_code EC = FileOrErr.getError()) {
105 Error = (Twine("can't open file '") + Path + "': " + EC.message()).str();
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h102 if (auto EC =
104 consumeError(std::move(EC));
/openbsd-current/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DRemoteJITUtils.cpp159 if (int EC = getaddrinfo(Host.c_str(), PortStr.c_str(), &Hints, &AI))
161 formatv("address resolution failed ({0})", gai_strerror(EC)),
/openbsd-current/gnu/llvm/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp164 if (std::error_code EC = ReaderOrErr.getError()) {
165 std::string Msg = "Could not open profile: " + EC.message();
/openbsd-current/gnu/llvm/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp64 if (std::error_code EC = MB.getError()) {
65 llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DDebugify.cpp514 std::error_code EC; local
515 raw_fd_ostream OS_FILE{OrigDIVerifyBugsReportFilePath, EC,
517 if (EC) {
518 errs() << "Could not open file: " << EC.message() << ", "
935 std::error_code EC;
936 raw_fd_ostream OS{Path, EC};
937 if (EC) {
938 errs() << "Could not open file: " << EC.message() << ", " << Path << '\n';
/openbsd-current/gnu/llvm/llvm/lib/Object/
H A DObjectFile.cpp197 if (std::error_code EC = FileOrErr.getError())
198 return errorCodeToError(EC);
/openbsd-current/gnu/llvm/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp266 std::error_code EC; local
267 auto Out = std::make_unique<ToolOutputFile>(OutputFilename, EC,
269 if (!EC)
271 return EC;
351 if (std::error_code EC = BufferPtr.getError()) {
352 WithColor::error() << InputFilename << ": " << EC.message() << '\n';
499 if (std::error_code EC = OF.getError()) {
500 WithColor::error() << EC.message() << '\n';
/openbsd-current/gnu/llvm/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp182 if (std::error_code EC = Buffer.getError())
183 errs() << File << ": " << EC.message() << '\n';
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeInlineSiteSymbol.cpp51 if (auto EC = InlineeLines.initialize(Reader)) {
52 consumeError(std::move(EC));
/openbsd-current/gnu/usr.bin/perl/lib/unicore/To/
H A DBmg.pl156 22EC 22ED
157 22ED 22EC
213 27EC 27ED
214 27ED 27EC
H A DBpt.pl66 27EC O
H A DNv.pl352 102EC 30
438 109EC 90000
548 111EC 30
566 118EC 30
/openbsd-current/gnu/llvm/clang/lib/Lex/
H A DHeaderSearch.cpp427 // For rare, surprising errors (e.g. "out of file handles"), diag the EC
429 std::error_code EC = llvm::errorToErrorCode(File.takeError()); local
430 if (EC != llvm::errc::no_such_file_or_directory &&
431 EC != llvm::errc::invalid_argument &&
432 EC != llvm::errc::is_a_directory && EC != llvm::errc::not_a_directory) {
434 << FileName << EC.message();
1838 std::error_code EC; local
1844 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC),
1846 Dir != DirEnd && !EC; Di
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DVectorUtils.h105 // parameters are mapped to VFParamKind::Vector with \p EC
108 static VFShape get(const CallInst &CI, ElementCount EC, bool HasGlobalPred) { argument
116 return {EC, Parameters};
298 /// the incoming type is void, we return void. If the EC represents a
300 inline Type *ToVectorTy(Type *Scalar, ElementCount EC) { argument
301 if (Scalar->isVoidTy() || Scalar->isMetadataTy() || EC.isScalar())
303 return VectorType::get(Scalar, EC);
/openbsd-current/gnu/llvm/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp209 if (auto EC = Reader.readLongestContiguousChunk(Data)) {
210 llvm::consumeError(std::move(EC));
282 if (std::error_code EC = resolveSymbol(Section, Offset, Symbol))
283 return EC;
1135 if (std::error_code EC = resolveSymbolName(Obj->getCOFFSection(Section),
1137 reportError(errorCodeToError(EC), Obj->getFileName());
1160 if (std::error_code EC =
1163 reportError(errorCodeToError(EC), Obj->getFileName());
1366 if (auto EC = Reader.readArray(Types, Reader.getLength())) {
1367 consumeError(std::move(EC));
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp206 static void check(std::error_code EC, std::string Msg) { argument
207 check(errorCodeToError(EC), Msg);
407 std::error_code EC;
408 auto S = std::make_unique<raw_fd_ostream>(Path, EC, sys::fs::OF_None);
409 check(EC, Path);
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DFrontendAction.cpp375 std::error_code EC; local
383 for (llvm::vfs::recursive_directory_iterator Dir(FS, DirNative, EC), End;
384 Dir != End && !EC; Dir.increment(EC)) {
418 if (EC)
419 return EC;
774 std::error_code EC; local
779 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC),
781 Dir != DirEnd && !EC; Dir.increment(EC)) {
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/
H A DProgram.inc531 std::error_code EC;
532 llvm::raw_fd_ostream OS(FileName, EC,
535 if (EC)
536 return EC;
543 return EC;
/openbsd-current/gnu/llvm/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp100 std::error_code EC; local
101 raw_fd_ostream OS(SaveTempPath, EC, sys::fs::OF_None);
102 if (EC)
846 std::error_code EC; local
847 if ((EC = EmitImportsFiles(ModuleIdentifier, OutputName,
1017 std::error_code EC; local
1018 raw_fd_ostream OS(SaveTempPath, EC, sys::fs::OF_None);
1019 if (EC)
1203 if (auto EC = ReloadedBufferOrErr.getError()) {
1206 << "': " << EC
[all...]
H A DLTO.cpp1228 std::error_code EC; local
1232 raw_fd_ostream OS(NewModulePath + ".thinlto.bc", EC,
1234 if (EC)
1235 return errorCodeToError(EC);
1239 EC = EmitImportsFiles(ModulePath, NewModulePath + ".imports",
1241 if (EC)
1242 return errorCodeToError(EC);
1409 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath))
1411 << "': " << EC.message() << '\n';
1676 std::error_code EC;
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp44 static void error(std::error_code EC) { argument
45 if (!EC)
47 WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
76 static void reportError(StringRef Input, std::error_code EC) { argument
77 reportError(Input, EC.message());
530 auto EC = errorToErrorCode(BinaryOrErr.takeError()); local
531 reportError(File, EC);
/openbsd-current/gnu/llvm/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp441 std::error_code EC = sys::fs::createTemporaryFile( local
445 if (EC) {
446 errs() << "Error making unique filename: " << EC.message() << "!\n";
751 if (std::error_code EC = FileOrErr.getError()) {
752 WithColor::error(errs(), ToolName) << EC.message() << '\n';
800 if (std::error_code EC = MB.getError()) {
802 << Filename << ": " << EC.message() << "\n";

Completed in 485 milliseconds

<<11121314151617181920