Home
last modified time | relevance | path

Searched refs:ErrorStr (Results 1 – 25 of 77) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp54 if (ErrorStr) in selectTarget()
55 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
71 if (ErrorStr) in selectTarget()
72 *ErrorStr = Error; in selectTarget()
DExecutionEngine.cpp49 std::unique_ptr<Module> M, std::string *ErrorStr,
55 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr,
60 std::string *ErrorStr) =nullptr;
476 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
515 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
525 if (ErrorStr) in create()
526 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
542 EE = ExecutionEngine::OrcMCJITReplacementCtor(ErrorStr, std::move(MemMgr), in create()
547 EE = ExecutionEngine::MCJITCtor(std::move(M), ErrorStr, std::move(MemMgr), in create()
560 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/
DTargetSelect.cpp54 if (ErrorStr) in selectTarget()
55 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
71 if (ErrorStr) in selectTarget()
72 *ErrorStr = Error; in selectTarget()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp56 if (ErrorStr) in selectTarget()
57 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
73 if (ErrorStr) in selectTarget()
74 *ErrorStr = Error; in selectTarget()
DExecutionEngine.cpp49 std::unique_ptr<Module> M, std::string *ErrorStr,
55 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr,
60 std::string *ErrorStr) =nullptr;
473 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
512 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
522 if (ErrorStr) in create()
523 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
540 EE = ExecutionEngine::OrcMCJITReplacementCtor(ErrorStr, std::move(MemMgr), in create()
545 EE = ExecutionEngine::MCJITCtor(std::move(M), ErrorStr, std::move(MemMgr), in create()
558 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
[all …]
/external/llvm/lib/IR/
DLLVMContext.cpp218 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
219 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
222 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
224 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
273 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
274 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/external/rust/crates/nom/src/branch/
Dmacros.rs790 pub struct ErrorStr(String); struct
793 impl From<u32> for ErrorStr { implementation
795 ErrorStr(format!("custom error code: {}", i)) in from()
800 impl<'a> From<&'a str> for ErrorStr { implementation
802 ErrorStr(format!("custom error message: {}", i)) in from()
807 impl<I: Debug> ParseError<I> for ErrorStr { implementation
809 ErrorStr(format!("custom error message: ({:?}, {:?})", input, kind)) in from_error_kind()
813 ErrorStr(format!("custom error message: ({:?}, {:?}) - {:?}", input, kind, other)) in append()
820 fn work(input: &[u8]) -> IResult<&[u8], &[u8], ErrorStr> { in alt() argument
825 fn dont_work(input: &[u8]) -> IResult<&[u8], &[u8], ErrorStr> { in alt() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp176 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
177 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
180 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
182 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
238 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
239 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/external/llvm-project/clang/lib/Serialization/
DModuleManager.cpp80 std::string &ErrorStr) { in checkSignature() argument
84 ErrorStr = in checkSignature()
110 std::string &ErrorStr) { in addModule() argument
126 ErrorStr = "module file out of date"; in addModule()
131 ErrorStr = "module file not found"; in addModule()
160 if (checkSignature(ModuleEntry->Signature, ExpectedSignature, ErrorStr)) in addModule()
222 ErrorStr = Buf.getError().message(); in addModule()
235 ExpectedSignature, ErrorStr)) in addModule()
/external/llvm-project/llvm/lib/IR/
DLLVMContext.cpp203 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
204 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
207 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
209 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
265 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
266 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/external/llvm/include/llvm/IR/
DLLVMContext.h224 void emitError(unsigned LocCookie, const Twine &ErrorStr);
225 void emitError(const Instruction *I, const Twine &ErrorStr);
226 void emitError(const Twine &ErrorStr);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLLVMContext.h286 void emitError(unsigned LocCookie, const Twine &ErrorStr);
287 void emitError(const Instruction *I, const Twine &ErrorStr);
288 void emitError(const Twine &ErrorStr);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h251 void emitError(unsigned LocCookie, const Twine &ErrorStr);
252 void emitError(const Instruction *I, const Twine &ErrorStr);
253 void emitError(const Twine &ErrorStr);
/external/llvm-project/llvm/include/llvm/IR/
DLLVMContext.h312 void emitError(unsigned LocCookie, const Twine &ErrorStr);
313 void emitError(const Instruction *I, const Twine &ErrorStr);
314 void emitError(const Twine &ErrorStr);
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h138 std::string *ErrorStr,
144 std::string *ErrorStr,
150 std::string *ErrorStr);
516 std::string *ErrorStr; variable
563 ErrorStr = e; in setErrorStr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h140 std::unique_ptr<Module> M, std::string *ErrorStr,
146 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MM,
151 std::string *ErrorStr);
530 std::string *ErrorStr; variable
577 ErrorStr = e; in setErrorStr()
/external/rust/crates/nom/src/
Dwhitespace.rs980 pub struct ErrorStr(String); struct
983 impl<'a> From<(&'a[u8], ErrorKind)> for ErrorStr { implementation
985 ErrorStr(format!("custom error code: {:?}", i)) in from()
990 impl<'a> From<(&'a str, ErrorKind)> for ErrorStr { implementation
992 ErrorStr(format!("custom error message: {:?}", i)) in from()
997 impl<I: Debug> ParseError<I> for ErrorStr { implementation
999 ErrorStr(format!("custom error message: ({:?}, {:?})", input, kind)) in from_error_kind()
1003 ErrorStr(format!("custom error message: ({:?}, {:?}) - {:?}", input, kind, other)) in append()
1010 fn work(input: &[u8]) -> IResult<&[u8], &[u8], ErrorStr> { in alt() argument
1015 fn dont_work(input: &[u8]) -> IResult<&[u8], &[u8], ErrorStr> { in alt() argument
[all …]
/external/llvm-project/llvm/unittests/MC/
DMCInstPrinter.cpp34 std::string ErrorStr; in MCInstPrinterTest() local
37 TargetRegistry::lookupTarget(TripleName, ErrorStr); in MCInstPrinterTest()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFExpressionCompactPrinterTest.cpp35 std::string ErrorStr; in DWARFExpressionCompactPrinterTest() local
38 TargetRegistry::lookupTarget(TripleName, ErrorStr); in DWARFExpressionCompactPrinterTest()
/external/llvm-project/llvm/unittests/Remarks/
DYAMLRemarksParsingTest.cpp59 std::string ErrorStr; in parseExpectError() local
60 raw_string_ostream Stream(ErrorStr); in parseExpectError()
73 std::string ErrorStr; in parseExpectErrorMeta() local
74 raw_string_ostream Stream(ErrorStr); in parseExpectErrorMeta()
658 std::string ErrorStr; in TEST() local
659 raw_string_ostream Stream(ErrorStr); in TEST()
/external/clang/lib/Serialization/
DModuleManager.cpp64 std::string &ErrorStr) { in addModule() argument
78 ErrorStr = "module file out of date"; in addModule()
83 ErrorStr = "module file not found"; in addModule()
136 ErrorStr = Buf.getError().message(); in addModule()
154 ErrorStr = ModuleEntry->Signature ? "signature mismatch" in addModule()
/external/llvm-project/llvm/unittests/CodeGen/
DTestAsmPrinter.cpp34 std::string ErrorStr; in create() local
35 const Target *TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrorStr); in create()
/external/llvm/tools/llvm-as/
Dllvm-as.cpp107 std::string ErrorStr; in main() local
108 raw_string_ostream OS(ErrorStr); in main()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h140 std::unique_ptr<Module> M, std::string *ErrorStr,
146 std::string *ErrorStr);
539 std::string *ErrorStr; variable
585 ErrorStr = e; in setErrorStr()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp458 std::string ErrorStr; in executeInput() local
459 if (!sys::Memory::setExecutable(FM, &ErrorStr)) in executeInput()
460 ErrorAndExit("unable to mark function executable: '" + ErrorStr + "'"); in executeInput()
638 std::string ErrorStr; in linkAndVerify() local
640 TargetRegistry::lookupTarget("", TheTriple, ErrorStr); in linkAndVerify()
642 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); in linkAndVerify()

1234