search for: howtousejit_simd_funcproto

Displaying 3 results from an estimated 3 matches for "howtousejit_simd_funcproto".

2017 Apr 08
2
How to insert vector type input parameter for function in C/C++ API?
Thank you so much Craig! I tried it. But still complaining. Here is the error message during compilation. HowToUseJIT_SIMD_FuncProto.cpp:94:55: error: expected unqualified-id VectorType::(Type::getInt32Ty(Context),4), THIS IS MY CODE: LLVMContext Context; std::unique_ptr<Module> Owner = make_unique<Module>("test", Context); Module *M = Owner.get(); Function *Add1F = cast<Function>(M-...
2017 Apr 08
3
How to insert vector type input parameter for function in C/C++ API?
...r VectorType:: > > ~Craig > > On Fri, Apr 7, 2017 at 6:01 PM, Michael Choi <choimichael103 at gmail.com> > wrote: > >> Thank you so much Craig! >> >> I tried it. But still complaining. Here is the error message during >> compilation. >> >> HowToUseJIT_SIMD_FuncProto.cpp:94:55: error: expected unqualified-id >> VectorType::(Type::getInt32Ty( >> Context),4), >> >> >> >> THIS IS MY CODE: >> LLVMContext Context; >> >> std::unique_ptr<Module> Owner = make_uniqu...
2017 Apr 08
2
How to insert vector type input parameter for function in C/C++ API?
I am working on AVX2 code generation by LLVM framework. I want to generate LLVM-IR code for the following code by C/C++ API from LLVM framework. I am using LLVM3.8. Basically, I want to generate TARGET (Refer to below) LLVM-IR code for SOURCE function by C/C++ API. As you see below, the AVX2 data type is __m256i which is vector type. How can I indicate vector type (function return type, input