Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContext.cpp81 void LLVMContext::emitError(StringRef ErrorStr) { in emitError() argument
82 emitError(0U, ErrorStr); in emitError()
85 void LLVMContext::emitError(const Instruction *I, StringRef ErrorStr) { in emitError() argument
92 return emitError(LocCookie, ErrorStr); in emitError()
95 void LLVMContext::emitError(unsigned LocCookie, StringRef ErrorStr) { in emitError() argument
98 errs() << "error: " << ErrorStr << "\n"; in emitError()
103 SMDiagnostic Diag("", "error: " + ErrorStr.str()); in emitError()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp175 bool LoadShaders(CPVRTString& ErrorStr);
243 bool OGLES3ColourGrading::LoadShaders(CPVRTString& ErrorStr) in LoadShaders() argument
246 …ShaderSrcFile, GL_VERTEX_SHADER, GL_SGX_BINARY_IMG, &m_uiPostVertShader, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
251 …aderSrcFile, GL_FRAGMENT_SHADER, GL_SGX_BINARY_IMG, &m_uiPostFragShader, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
258 …aderProgram.uiId, m_uiPostVertShader, m_uiPostFragShader, aszAttribs, 2, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
269 …cFile, GL_FRAGMENT_SHADER, GL_SGX_BINARY_IMG, &m_uiBackgroundFragShader, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
276 …, m_uiPostVertShader, m_uiBackgroundFragShader, aszBackgroundAttribs, 2, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
285 …haderSrcFile, GL_VERTEX_SHADER, GL_SGX_BINARY_IMG, &m_uiSceneVertShader, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
290 …derSrcFile, GL_FRAGMENT_SHADER, GL_SGX_BINARY_IMG, &m_uiSceneFragShader, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
297 …gram.uiId, m_uiSceneVertShader, m_uiSceneFragShader, aszSceneAttribs, 3, &ErrorStr) != PVR_SUCCESS) in LoadShaders()
[all …]
/external/swiftshader/third_party/LLVM/utils/FileUpdate/
DFileUpdate.cpp72 std::string ErrorStr; in main() local
73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr, in main()
75 if (!ErrorStr.empty()) { in main()
77 << OutputFilename << "': " << ErrorStr << '\n'; in main()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DTargetSelect.cpp35 std::string *ErrorStr) { in selectTarget() argument
52 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
66 if (ErrorStr) in selectTarget()
67 *ErrorStr = Error; in selectTarget()
DExecutionEngine.cpp42 std::string *ErrorStr,
49 std::string *ErrorStr,
55 std::string *ErrorStr) = 0;
404 std::string *ErrorStr, in create() argument
411 .setErrorStr(ErrorStr) in create()
421 std::string *ErrorStr, in createJIT() argument
428 if (ErrorStr) in createJIT()
429 *ErrorStr = "JIT has not been linked in."; in createJIT()
440 EngineBuilder::selectTarget(M, MArch, MCPU, MAttrs, RM, CMM, ErrorStr); in createJIT()
441 if (!TM || (ErrorStr && ErrorStr->length() > 0)) return 0; in createJIT()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h133 std::string *ErrorStr,
140 std::string *ErrorStr,
145 static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr);
185 std::string *ErrorStr = 0,
197 std::string *ErrorStr = 0,
461 std::string *ErrorStr; variable
475 ErrorStr = NULL; in InitEngine()
510 ErrorStr = e; in setErrorStr()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp55 if (ErrorStr) in selectTarget()
56 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
72 if (ErrorStr) in selectTarget()
73 *ErrorStr = Error; in selectTarget()
DExecutionEngine.cpp50 std::unique_ptr<Module> M, std::string *ErrorStr,
56 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr,
61 std::string *ErrorStr) =nullptr;
477 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
516 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
526 if (ErrorStr) in create()
527 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
543 EE = ExecutionEngine::OrcMCJITReplacementCtor(ErrorStr, std::move(MemMgr), in create()
548 EE = ExecutionEngine::MCJITCtor(std::move(M), ErrorStr, std::move(MemMgr), in create()
561 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DLLVMContext.h82 void emitError(unsigned LocCookie, StringRef ErrorStr);
83 void emitError(const Instruction *I, StringRef ErrorStr);
84 void emitError(StringRef ErrorStr);
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObject.cpp94 std::string *ErrorStr) { in LoadFromBuffer() argument
107 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)"; in LoadFromBuffer()
114 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid header)"; in LoadFromBuffer()
123 if (ErrorStr) *ErrorStr = "not a Mach object file (unreasonable header)"; in LoadFromBuffer()
127 if (ErrorStr) *ErrorStr = ""; in LoadFromBuffer()
/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/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp365 CPVRTString ErrorStr; in InitView() local
370 if(!LoadVbos(&ErrorStr)) in InitView()
372 PVRShellSet(prefExitMessage, ErrorStr.c_str()); in InitView()
379 if(!LoadTextures(&ErrorStr)) in InitView()
381 PVRShellSet(prefExitMessage, ErrorStr.c_str()); in InitView()
388 if(!LoadShaders(&ErrorStr)) in InitView()
390 PVRShellSet(prefExitMessage, ErrorStr.c_str()); in InitView()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContext.cpp190 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
191 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
194 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
196 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
256 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
257 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h56 std::string ErrorStr; variable
60 ErrorStr = Msg.str(); in Error()
92 StringRef getErrorString() { return ErrorStr; } in getErrorString()
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp120 std::string ErrorStr; in executeInput() local
122 if (!sys::Memory::setExecutable(Data, &ErrorStr)) in executeInput()
123 return Error("unable to mark function executable: '" + ErrorStr + "'"); in executeInput()
/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-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/swiftshader/third_party/llvm-7.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/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-7.0/llvm/include/llvm/IR/
DLLVMContext.h306 void emitError(unsigned LocCookie, const Twine &ErrorStr);
307 void emitError(const Instruction *I, const Twine &ErrorStr);
308 void emitError(const Twine &ErrorStr);
/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/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp37 std::string *ErrorStr, in createJIT() argument
52 if (ErrorStr) in createJIT()
53 *ErrorStr = "target does not support JIT code generation"; in createJIT()
/external/llvm/tools/llvm-as/
Dllvm-as.cpp107 std::string ErrorStr; in main() local
108 raw_string_ostream OS(ErrorStr); in main()

123