Displaying 6 results from an estimated 6 matches for "irtransformlayer".
2017 Sep 22
2
Question regarding GlobalMappingLayer in LLVM 5
...});
// Add the set to the JIT with the resolver we created above and a newly
// created SectionMemoryManager.
return OptimizeLayer.addModule(std::move(M),
std::move(Resolver));
}
Where OptimizeLayer is:
IRTransformLayer<GlobalMappingLayerT, OptimizeFunction> OptimizeLayer;
This worked fine with LLVM 4, but causes a problem in LLVM 5. It looks like the issue is that IRTransformLayer::addModule returns an Expected<ModuleT>, whereas GlobalMappingLayer returns just a ModuleHandleT. However, in LLVM 4, I...
2017 Sep 28
0
Question regarding GlobalMappingLayer in LLVM 5
...and a
> newly
>
> // created SectionMemoryManager.
>
> return OptimizeLayer.addModule(std::move(M),
>
> std::move(Resolver));
>
> }
>
>
>
> Where OptimizeLayer is:
>
>
>
> IRTransformLayer<GlobalMappingLayerT, OptimizeFunction>
> OptimizeLayer;
>
>
>
> This worked fine with LLVM 4, but causes a problem in LLVM 5. It looks
> like the issue is that IRTransformLayer::addModule returns an
> Expected<ModuleT>, whereas GlobalMappingLayer returns just a
>...
2020 May 23
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...Orc/ObjectTransformLayer.cpp:35
#16 0x000000010638e9c8 in
llvm::orc::IRCompileLayer::emit(llvm::orc::MaterializationResponsibility,
llvm::orc::ThreadSafeModule) at
/Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRCompileLayer.cpp:35
#17 0x000000010638ff64 in
llvm::orc::IRTransformLayer::emit(llvm::orc::MaterializationResponsibility,
llvm::orc::ThreadSafeModule) at
/Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRTransformLayer.cpp:25
#18 0x00000001062b2b5c in
llvm::orc::CompileOnDemandLayer::emitPartition(llvm::orc::MaterializationResponsibility,
llvm...
2020 Apr 16
4
ORC Assertion failure
...zationResponsibility
R, std::unique_ptr<llvm::MemoryBuffer,std::default_delete<llvm::MemoryBuffer>>
O) Line 155 C++
libravi.dll!llvm::orc::IRCompileLayer::emit(llvm::orc::MaterializationResponsibility
R, llvm::orc::ThreadSafeModule TSM) Line 41 C++
libravi.dll!llvm::orc::IRTransformLayer::emit(llvm::orc::MaterializationResponsibility
R, llvm::orc::ThreadSafeModule TSM) Line 25 C++
libravi.dll!llvm::orc::BasicIRLayerMaterializationUnit::materialize(llvm::orc::MaterializationResponsibility
R) Line 132 C++
libravi.dll!llvm::orc::MaterializationUnit::doMaterialize(llvm:...
2020 Jun 06
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...terializationResponsibility,
>>>>> llvm::orc::ThreadSafeModule) at
>>>>> /Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRCompileLayer.cpp:35
>>>>>
>>>>> #17 0x000000010638ff64 in
>>>>> llvm::orc::IRTransformLayer::emit(llvm::orc::MaterializationResponsibility,
>>>>> llvm::orc::ThreadSafeModule) at
>>>>> /Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRTransformLayer.cpp:25
>>>>>
>>>>> #18 0x00000001062b2b5c in
>>&g...
2020 Jun 20
1
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...er::emit(llvm::orc::MaterializationResponsibility,
> llvm::orc::ThreadSafeModule) at
> /Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRCompileLayer.cpp:35
> >>>>>>>
> >>>>>>> #17 0x000000010638ff64 in
> llvm::orc::IRTransformLayer::emit(llvm::orc::MaterializationResponsibility,
> llvm::orc::ThreadSafeModule) at
> /Users/igorgomon/dev/third-party/llvm-project/llvm/lib/ExecutionEngine/Orc/IRTransformLayer.cpp:25
> >>>>>>>
> >>>>>>> #18 0x00000001062b2b5c in
> llvm::orc::...