Searched refs:ErrorInfo (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Writer/
H A DBitWriter.cpp19 std::string ErrorInfo; local
20 raw_fd_ostream OS(Path, ErrorInfo,
23 if (!ErrorInfo.empty())
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DToolOutputFile.cpp36 tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo, argument
39 OS(filename, ErrorInfo, Flags) {
41 if (!ErrorInfo.empty())
H A Draw_ostream.cpp417 /// occurs, information about the error is put into ErrorInfo, and the
420 raw_fd_ostream::raw_fd_ostream(const char *Filename, std::string &ErrorInfo, argument
429 ErrorInfo.clear();
460 ErrorInfo = "Error opening output file '" + std::string(Filename) + "'";
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DCFGPrinter.cpp83 std::string ErrorInfo; local
84 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
86 if (ErrorInfo.empty())
117 std::string ErrorInfo; local
118 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
120 if (ErrorInfo.empty())
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DVerifier.h63 std::string *ErrorInfo = 0 ///< Information about failures.
H A DDOTGraphTraitsPass.h61 std::string ErrorInfo; local
62 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
69 if (ErrorInfo.empty())
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DToolOutputFile.h49 tool_output_file(const char *filename, std::string &ErrorInfo,
H A DGraphWriter.h326 std::string ErrorInfo; local
327 raw_fd_ostream O(Filename.c_str(), ErrorInfo);
329 if (ErrorInfo.empty()) {
H A Draw_ostream.h356 /// information about the error is put into ErrorInfo, and the stream should
365 raw_fd_ostream(const char *Filename, std::string &ErrorInfo,
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-as/
H A Dllvm-as.cpp71 std::string ErrorInfo; local
73 (new tool_output_file(OutputFilename.c_str(), ErrorInfo,
75 if (!ErrorInfo.empty()) {
76 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-link/
H A Dllvm-link.cpp119 std::string ErrorInfo; local
120 tool_output_file Out(OutputFilename.c_str(), ErrorInfo,
122 if (!ErrorInfo.empty()) {
123 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-dis/
H A Dllvm-dis.cpp170 std::string ErrorInfo; local
172 Out(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
174 if (!ErrorInfo.empty()) {
175 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-extract/
H A Dllvm-extract.cpp219 std::string ErrorInfo; local
220 tool_output_file Out(OutputFilename.c_str(), ErrorInfo,
222 if (!ErrorInfo.empty()) {
223 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp49 MCStreamer &Out, unsigned &ErrorInfo,
319 MCStreamer &Out, unsigned &ErrorInfo,
322 switch (MatchInstructionImpl(Operands, Inst, ErrorInfo,
334 if (ErrorInfo != ~0U) {
335 if (ErrorInfo >= Operands.size())
338 ErrorLoc = ((MBlazeOperand*)Operands[ErrorInfo])->getStartLoc();
317 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCStreamer &Out, unsigned &ErrorInfo, bool MatchingInlineAsm) argument
/macosx-10.10.1/llvmCore-3425.0.34/tools/opt/
H A Dopt.cpp542 std::string ErrorInfo; local
543 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
545 if (!ErrorInfo.empty()) {
546 errs() << ErrorInfo << '\n';
595 std::string ErrorInfo; local
596 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
598 if (!ErrorInfo.empty()) {
599 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/MC/
H A DMCTargetAsmParser.h142 MCStreamer &Out, unsigned &ErrorInfo,
/macosx-10.10.1/llvmCore-3425.0.34/lib/AsmParser/
H A DLLLexer.h32 SMDiagnostic &ErrorInfo; member in class:llvm::LLLexer
H A DLLLexer.cpp32 ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
168 : CurBuf(StartBuf), ErrorInfo(Err), SM(sm), Context(C), APFloatVal(0.0) {
/macosx-10.10.1/llvmCore-3425.0.34/tools/bugpoint/
H A DExtractFunction.cpp376 std::string ErrorInfo; local
377 tool_output_file BlocksToNotExtractFile(uniqueFilename.c_str(), ErrorInfo);
378 if (!ErrorInfo.empty()) {
380 errs() << "Error writing list of blocks to not extract: " << ErrorInfo
396 errs() << "Error writing list of blocks to not extract: " << ErrorInfo
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp46 MCStreamer &Out, unsigned &ErrorInfo,
264 MCStreamer &Out, unsigned &ErrorInfo,
267 unsigned MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
282 if (ErrorInfo != ~0U) {
283 if (ErrorInfo >= Operands.size())
286 ErrorLoc = ((MipsOperand*)Operands[ErrorInfo])->getStartLoc();
262 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCStreamer &Out, unsigned &ErrorInfo, bool MatchingInlineAsm) argument
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-stress/
H A Dllvm-stress.cpp705 std::string ErrorInfo; local
706 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
708 if (!ErrorInfo.empty()) {
709 errs() << ErrorInfo << '\n';
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineVerifier.cpp271 std::string ErrorInfo; local
272 OutFile = new raw_fd_ostream(OutFileName, ErrorInfo,
274 if (!ErrorInfo.empty()) {
275 errs() << "Error opening '" << OutFileName << "': " << ErrorInfo << '\n'; local
782 StringRef ErrorInfo; local
783 if (!TII->verifyInstruction(MI, ErrorInfo))
784 report(ErrorInfo.data(), MI);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp76 MCStreamer &Out, unsigned &ErrorInfo,
1754 MCStreamer &Out, unsigned &ErrorInfo,
1796 ErrorInfo, MatchingInlineAsm,
1918 if (ErrorInfo != ~0U) {
1919 if (ErrorInfo >= Operands.size())
1923 X86Operand *Operand = (X86Operand*)Operands[ErrorInfo];
1752 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCStreamer &Out, unsigned &ErrorInfo, bool MatchingInlineAsm) argument
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp372 std::string ErrorInfo; local
373 raw_fd_ostream out(mangleName(CU, "gcno").c_str(), ErrorInfo,
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DVerifier.cpp1945 std::string *ErrorInfo) {
1951 if (ErrorInfo && V->Broken)
1952 *ErrorInfo = V->MessagesStr.str();
1944 verifyModule(const Module &M, VerifierFailureAction action, std::string *ErrorInfo) argument

Completed in 199 milliseconds

12