Displaying 3 results from an estimated 3 matches for "tp54208p54220".
2013 Jan 27
1
[LLVMdev] Passing an array to an external function
...33df2
llvm::ConstantExpr::getGetElementPtr(llvm::Constant*,
llvm::ArrayRef<llvm::Value*>, bool) + 82
Probably the ConstantArray could't be casted to Value*. Any ideas?
Thanks!
--
View this message in context: http://llvm.1065342.n5.nabble.com/Passing-an-array-to-an-external-function-tp54208p54220.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Jan 27
0
[LLVMdev] Passing an array to an external function
On Jan 26, 2013, at 19:24 , SArora <silkyar at umich.edu> wrote:
> Hi all,
>
> I am new to LLVM, and I am learning how to use LLVM for profiling. I need to
> pass an array to an external method, and insert a call instruction to the
> method in the code.
>
> After reading a few source files, I've tried using GetElementPtrInst to pass
> an array, but it fails at
2013 Jan 27
2
[LLVMdev] Passing an array to an external function
Hi all,
I am new to LLVM, and I am learning how to use LLVM for profiling. I need to
pass an array to an external method, and insert a call instruction to the
method in the code.
After reading a few source files, I've tried using GetElementPtrInst to pass
an array, but it fails at llvm::GetElementPtrInst::hasAllZeroIndices() const
+ 0
std::vector<Value*> Args(1);