Displaying 3 results from an estimated 3 matches for "functioncallargs".
2018 Jul 20
2
LLVM FunctionType cannot be returned as VectorType?
...ut/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],
functionCallArgs[4],functionCallArgs[5],functionCallArgs[6],functionCallArgs[7]);
std::cout<<"result size "<< result.size()<<"\n";
////////////////////////////////////////////////////////////////...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...on
> 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],
>
> functionCallArgs[4],functionCallArgs[5],functionCallArgs[6],functionCallArgs[7]);
>
> std::cout<<"result size "<< result.size()<<"\n";
>
> ////////////////////////////////////...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...f 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],
>
>
> functionCallArgs[4],functionCallArgs[5],functionCallArgs[6],functionCallArgs[7]);
>
>
>
> std::cout<<"result size "<< result.size()<<"\n";
>
>
> ////////////////...