Searched refs:Error (Results 1 - 25 of 202) sorted by relevance

123456789

/freebsd-9.3-release/contrib/llvm/tools/bugpoint/
H A DFindBugs.cpp79 std::string Error; local
80 compileProgram(Program, &Error);
81 if (!Error.empty()) {
83 outs() << Error;
93 bool Diff = diffProgram(Program, Filename, "", false, &Error);
94 if (Error.empty() && Diff) {
96 debugMiscompilation(&Error);
97 if (Error.empty())
100 if (!Error.empty()) {
101 errs() << Error;
[all...]
H A DBugDriver.cpp174 std::string Error; local
175 compileProgram(Program, &Error);
176 if (!Error.empty()) {
177 outs() << Error;
204 bool Diff = diffProgram(Program, "", "", false, &Error);
205 if (!Error.empty()) {
206 errs() << Error;
211 debugMiscompilation(&Error);
212 if (!Error.empty()) {
213 errs() << Error;
[all...]
H A DListReducer.h46 std::string &Error) = 0;
52 bool reduceList(std::vector<ElTy> &TheList, std::string &Error) { argument
55 switch (doTest(TheList, empty, Error)) {
71 assert(!Error.empty());
100 if (doTest(ShuffledList, empty, Error) == KeepPrefix) {
119 switch (doTest(Prefix, Suffix, Error)) {
144 return true; // Error was set by doTest.
146 assert(Error.empty() && "doTest did not return InternalError for error");
180 if (doTest(EmptyList, TestList, Error) == KeepSuffix) {
186 if (!Error
[all...]
H A DMiscompilation.cpp53 std::string &Error);
63 std::string &Error) {
72 errs() << " Error running this sequence of passes"
81 true /*delete bitcode*/, &Error);
82 if (!Error.empty())
110 errs() << " Error running this sequence of passes"
118 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error);
119 if (!Error.empty())
134 errs() << BD.getToolName() << ": Error reading bitcode file '"
151 errs() << " Error runnin
61 doTest(std::vector<std::string> &Prefix, std::vector<std::string> &Suffix, std::string &Error) argument
185 doTest(std::vector<Function*> &Prefix, std::vector<Function*> &Suffix, std::string &Error) argument
216 TestMergedProgram(const BugDriver &BD, Module *M1, Module *M2, bool DeleteInputs, std::string &Error, bool &Broken) argument
246 TestFuncs(const std::vector<Function*> &Funcs, std::string &Error) argument
304 ExtractLoops(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *, Module *, std::string &), std::vector<Function*> &MiscompiledFunctions, std::string &Error) argument
470 doTest(std::vector<BasicBlock*> &Prefix, std::vector<BasicBlock*> &Suffix, std::string &Error) argument
497 TestFuncs(const std::vector<BasicBlock*> &BBs, std::string &Error) argument
554 ExtractBlocks(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *, Module *, std::string &), std::vector<Function*> &MiscompiledFunctions, std::string &Error) argument
642 DebugAMiscompilation(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *, Module *, std::string &), std::string &Error) argument
727 TestOptimizer(BugDriver &BD, Module *Test, Module *Safe, std::string &Error) argument
753 debugMiscompilation(std::string *Error) argument
960 TestCodeGenerator(BugDriver &BD, Module *Test, Module *Safe, std::string &Error) argument
1026 debugCodeGenerator(std::string *Error) argument
[all...]
H A DExecutionDriver.cpp263 /// setting Error if an error occurs. This is used for code generation
266 void BugDriver::compileProgram(Module *M, std::string *Error) const {
273 errs() << ToolName << ": Error making unique filename: " << EC.message()
278 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile
287 Interpreter->compileProgram(BitcodeFile.str(), Error, Timeout, MemoryLimit);
300 std::string *Error) const {
311 errs() << ToolName << ": Error making unique filename: "
318 errs() << ToolName << ": Error emitting bitcode to file '"
336 errs() << ToolName << ": Error making unique filename: "
348 Error, AdditionalLinkerArg
385 compileSharedObject(const std::string &BitcodeFile, std::string &Error) argument
416 std::string Error; local
[all...]
/freebsd-9.3-release/tools/tools/track/
H A Dtrack.sh38 \*\*\*\ Error*)
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h79 /// matcher if an error occurred. In that case, \c Error will contain a
85 Diagnostics *Error) = 0;
98 /// In that case, \c Error will contain a description of the error.
101 parseMatcherExpression(StringRef MatcherCode, Diagnostics *Error);
110 /// Optional if an error occurred. In that case, \c Error will contain a
114 parseMatcherExpression(StringRef MatcherCode, Sema *S, Diagnostics *Error);
122 Diagnostics *Error);
130 VariantValue *Value, Diagnostics *Error);
137 Diagnostics *Error);
144 Diagnostics *const Error; member in class:clang::ast_matchers::dynamic::Parser
[all...]
H A DRegistry.h49 /// In that case \c Error will contain the description of the error.
53 Diagnostics *Error);
59 /// If the matcher is not bindable, it sets an error in \c Error and returns
65 Diagnostics *Error);
H A DDiagnostics.h106 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName,
110 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName,
115 Diagnostics *const Error; member in struct:clang::ast_matchers::dynamic::Diagnostics::Context
124 OverloadContext(Diagnostics* Error);
131 Diagnostics *const Error; member in struct:clang::ast_matchers::dynamic::Diagnostics::OverloadContext
140 ArgStream addError(const SourceRange &Range, ErrorType Error);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp25 Diagnostics::Context::Context(ConstructMatcherEnum, Diagnostics *Error, argument
28 : Error(Error) {
29 Error->pushContextFrame(CT_MatcherConstruct, MatcherRange) << MatcherName;
32 Diagnostics::Context::Context(MatcherArgEnum, Diagnostics *Error, argument
36 : Error(Error) {
37 Error->pushContextFrame(CT_MatcherArg, MatcherRange) << ArgNumber
41 Diagnostics::Context::~Context() { Error->ContextStack.pop_back(); }
43 Diagnostics::OverloadContext::OverloadContext(Diagnostics *Error) argument
67 addError(const SourceRange &Range, ErrorType Error) argument
202 const ErrorContent &Error = Errors[i]; local
[all...]
H A DMarshallers.h88 Diagnostics *Error) const = 0;
103 Diagnostics *Error);
113 Diagnostics *Error) const {
114 return Marshaller(Func, MatcherName, NameRange, Args, Error);
135 Diagnostics *Error);
141 Diagnostics *Error) const {
142 return Func(MatcherName, NameRange, Args, Error);
153 Error->addError(NameRange, Error->ET_RegistryWrongArgCount) \
160 Error
202 matcherMarshall0(void (*Func)(), StringRef MatcherName, const SourceRange &NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
213 matcherMarshall1(void (*Func)(), StringRef MatcherName, const SourceRange &NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
226 matcherMarshall2(void (*Func)(), StringRef MatcherName, const SourceRange &NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
246 variadicMatcherCreateCallback(StringRef MatcherName, const SourceRange &NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Assembly/
H A DParser.h34 SMDiagnostic &Error, ///< Error result info.
47 SMDiagnostic &Error, ///< Error result info.
58 SMDiagnostic &Err, ///< Error result info.
/freebsd-9.3-release/contrib/llvm/lib/TableGen/
H A DMain.cpp24 #include "llvm/TableGen/Error.h"
59 std::string Error; local
60 tool_output_file DepOut(DependFilename.c_str(), Error);
61 if (!Error.empty()) {
63 << ":" << Error << "\n"; local
105 std::string Error;
106 tool_output_file Out(OutputFilename.c_str(), Error);
107 if (!Error.empty()) {
109 << ":" << Error << "\n"; local
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DRegex.cpp40 bool Regex::isValid(std::string &Error) { argument
46 Error.resize(len - 1);
47 llvm_regerror(error, preg, &Error[0], len);
97 std::string *Error) {
101 if (Error && !Error->empty()) *Error = "";
122 Error && Error->empty())
123 *Error
96 sub(StringRef Repl, StringRef String, std::string *Error) argument
[all...]
H A DPluginLoader.cpp28 std::string Error; local
29 if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
30 errs() << "Error opening '" << Filename << "': " << Error local
H A DTargetRegistry.cpp28 std::string &Error) {
43 Error = "error: invalid target '" + ArchName + "'.\n";
57 Error = ": error: unable to get target for '"
68 std::string &Error) {
71 Error = "Unable to find target for this triple (no targets are registered)";
88 Error = "No available targets are compatible with this triple, "
96 Error = std::string("Cannot choose between targets \"") +
127 const Target *TargetRegistry::getClosestTargetForJIT(std::string &Error) { argument
128 const Target *TheTarget = lookupTarget(sys::getDefaultTargetTriple(), Error);
131 Error
26 lookupTarget(const std::string &ArchName, Triple &TheTriple, std::string &Error) argument
67 lookupTarget(const std::string &TT, std::string &Error) argument
[all...]
H A DFileUtilities.cpp177 std::string *Error) {
182 if (Error)
183 *Error = ec.message();
188 if (Error)
189 *Error = ec.message();
210 if (Error)
211 *Error = "Files differ without tolerance allowance";
231 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) {
250 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error))
174 DiffFilesWithTolerance(StringRef NameA, StringRef NameB, double AbsTol, double RelTol, std::string *Error) argument
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DRegex.h52 bool isValid(std::string &Error);
75 /// \param Error If non-null, any errors in the substitution (invalid
78 std::string sub(StringRef Repl, StringRef String, std::string *Error = 0);
/freebsd-9.3-release/lib/clang/libllvmtablegen/
H A DMakefile8 SRCS= Error.cpp \
/freebsd-9.3-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp456 return Error(InvalidRecord);
459 return Error(InvalidMultipleBlocks);
471 case BitstreamEntry::Error:
472 return Error(MalformedBlock);
488 return Error(InvalidRecord);
598 return Error(InvalidValue);
604 return Error(InvalidRecord);
607 return Error(InvalidMultipleBlocks);
617 case BitstreamEntry::Error:
618 return Error(MalformedBloc
[all...]
/freebsd-9.3-release/contrib/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()),
/freebsd-9.3-release/lib/clang/libllvmobject/
H A DMakefile15 Error.cpp \
/freebsd-9.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DSpecialCaseList.h64 static SpecialCaseList *create(const StringRef Path, std::string &Error);
67 static SpecialCaseList *create(const MemoryBuffer *MB, std::string &Error);
104 bool parse(const MemoryBuffer *MB, std::string &Error);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSpecialCaseList.cpp55 const StringRef Path, std::string &Error) {
60 Error = (Twine("Can't open file '") + Path + "': " + EC.message()).str();
63 return create(File.get(), Error);
67 const MemoryBuffer *MB, std::string &Error) {
69 if (!SCL->parse(MB, Error))
75 std::string Error; local
76 if (SpecialCaseList *SCL = create(Path, Error))
78 report_fatal_error(Error);
81 bool SpecialCaseList::parse(const MemoryBuffer *MB, std::string &Error) { argument
99 Error
54 create( const StringRef Path, std::string &Error) argument
66 create( const MemoryBuffer *MB, std::string &Error) argument
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dcheck_y2k.c138 #define Error(year) if ( (year)>=2036 && LocalTime.tm_year < 110 ) \ macro
185 Error(year); /* should increment Fatals */
196 Error(year); /* should increment Fatals */
206 Error(1980); /* should increment Fatals */
280 Error(year);
290 Error(year);
312 Error(year);
345 Error(year);
389 Error(year);
427 Error(yea
[all...]

Completed in 133 milliseconds

123456789