Displaying 9 results from an estimated 9 matches for "eeerror".
Did you mean:
ecerror
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...getMemBufferCopy (sr);
llvm::ErrorOr<llvm::Module*> ModuleOrErr = llvm::parseBitcodeFile (mbjit, context);
if (llvm::error_code EC = ModuleOrErr.getError()) {
std::cout << ModuleOrErr.getError().message() << "\n";
}
Module* Mjit = ModuleOrErr.get();
std::string eeError;
ExecutionEngine* nee = EngineBuilder(Mjit).setEngineKind(EngineKind::JIT).setUseMCJIT(true).setErrorStr(&eeError).create();
if (!nee) {
fprintf(stderr, "Could not create ExecutionEngine: %s\n", eeError.c_str());
assert(false);
}
Function f = ret_fct(Mjit); // Function* ret...
2011 Aug 25
2
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...JIT, but I guess the problem is the same.
> Just like when invoking llc, you need to pass the information to use AVX
> (llc -mattr=+avx).
> I guess the corresponding code should look like this:
>
> llvm::EngineBuilder engineBuilder(module);
> engineBuilder.setErrorStr(&eeError);
> engineBuilder.setEngineKind(llvm::EngineKind::JIT);
> engineBuilder.setUseMCJIT(true);
> engineBuilder.setMCPU("corei7-avx");
> std::vector<std::string> attrs;
> attrs.push_back("avx");
> engineBuilder.setMAttrs(attrs);
> ...
2011 Aug 25
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...att,
I am unsure about MCJIT, but I guess the problem is the same.
Just like when invoking llc, you need to pass the information to use AVX
(llc -mattr=+avx).
I guess the corresponding code should look like this:
llvm::EngineBuilder engineBuilder(module);
engineBuilder.setErrorStr(&eeError);
engineBuilder.setEngineKind(llvm::EngineKind::JIT);
engineBuilder.setUseMCJIT(true);
engineBuilder.setMCPU("corei7-avx");
std::vector<std::string> attrs;
attrs.push_back("avx");
engineBuilder.setMAttrs(attrs);
llvm::ExecutionEngine *ee...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...leOrErr = llvm::parseBitcodeFile
>> (mbjit, context);
>> if (llvm::error_code EC = ModuleOrErr.getError()) {
>> std::cout << ModuleOrErr.getError().message() << "\n";
>> }
>>
>> Module* Mjit = ModuleOrErr.get();
>>
>> std::string eeError;
>> ExecutionEngine* nee =
>> EngineBuilder(Mjit).setEngineKind(EngineKind::JIT).setUseMCJIT(true).
>> setErrorStr(&eeError).create();
>> if (!nee) {
>> fprintf(stderr, "Could not create ExecutionEngine: %s\n",
>> eeError.c_str());
>> assert(f...
2011 Aug 26
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...em is the same.
>> Just like when invoking llc, you need to pass the information to use AVX
>> (llc -mattr=+avx).
>> I guess the corresponding code should look like this:
>>
>> llvm::EngineBuilder engineBuilder(module);
>> engineBuilder.setErrorStr(&eeError);
>> engineBuilder.setEngineKind(llvm::EngineKind::JIT);
>> engineBuilder.setUseMCJIT(true);
>> engineBuilder.setMCPU("corei7-avx");
>> std::vector<std::string> attrs;
>> attrs.push_back("avx");
>> engineBu...
2011 Aug 25
3
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
I'm trying to wire up some code to use the MC-based JIT; my understanding is that it should be able to JIT AVX code (and that the regular JIT cannot). However, I'm getting the error "Target does not support MC emission!" when I call EngineBuilder::create(). I assume that I'm just not doing something necessary for initialization, but I'm not sure what it would be--I am
2011 Aug 26
2
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...;> Just like when invoking llc, you need to pass the information to use AVX
>>> (llc -mattr=+avx).
>>> I guess the corresponding code should look like this:
>>>
>>> llvm::EngineBuilder engineBuilder(module);
>>> engineBuilder.setErrorStr(&eeError);
>>> engineBuilder.setEngineKind(llvm::EngineKind::JIT);
>>> engineBuilder.setUseMCJIT(true);
>>> engineBuilder.setMCPU("corei7-avx");
>>> std::vector<std::string> attrs;
>>> attrs.push_back("avx");
>>...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
all of:
----
// cout << "lsr: " << lsr << "\n";
llvm::MemoryBuffer* mbjit =
llvm::MemoryBuffer::getMemBufferCopy (sr);
------
string lsr = sr.str();
// cout << "lsr: " << lsr << "\n";
2011 Aug 31
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...n invoking llc, you need to pass the information to use AVX
>>>> (llc -mattr=+avx).
>>>> I guess the corresponding code should look like this:
>>>>
>>>> llvm::EngineBuilder engineBuilder(module);
>>>> engineBuilder.setErrorStr(&eeError);
>>>> engineBuilder.setEngineKind(llvm::EngineKind::JIT);
>>>> engineBuilder.setUseMCJIT(true);
>>>> engineBuilder.setMCPU("corei7-avx");
>>>> std::vector<std::string> attrs;
>>>> attrs.push_back("...