search for: vecint

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

2018 Jul 20
2
LLVM FunctionType cannot be returned as VectorType?
...ion engine with non-vector return like int64, it works fine. My code is as follows: It always tells me segment fault /////////////////////////////////////////////////////////////////////////////////////////// // Define the input/output data type in LLVM function typedef std::vector<int64_t> VecInt; auto function = reinterpret_cast<VecInt (*)(VecInt , VecInt, VecInt, VecInt, VecInt, VecInt, VecInt, VecInt)>(TheExecutionEngine->getFunctionAddress(TheFunction->getName().str())); VecInt result = function(functionCallArgs[0],functionCallArgs[1],functionCallArgs[2],functionCallArgs[3]...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...3 = add <4 x i64> %addtmp2, %leaf12 %addtmp5 = add <4 x i64> %addtmp3, %leaf13 %addtmp6 = add <4 x i64> %addtmp5, %leaf14 ret <4 x i64> %addtmp6 } /////////////////////////////////////////////////////////////////////////////////////////// My JIT function call: using VecInt = int64_t[4]; auto function = (int64_t *(*)( VecInt , VecInt , VecInt , VecInt , VecInt , VecInt , Vec...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...eaf13 > > %addtmp6 = add <4 x i64> %addtmp5, %leaf14 > > ret <4 x i64> %addtmp6 > > } > > > > > /////////////////////////////////////////////////////////////////////////////////////////// > > > My JIT function call: > > > > using VecInt = int64_t[4]; > > > > auto function = (int64_t *(*)( > > VecInt > > , VecInt > > , VecInt > > , VecInt > > , VecInt &...