search for: ttoole9

Displaying 7 results from an estimated 7 matches for "ttoole9".

Did you mean: tooley
2010 May 08
5
[LLVMdev] does llvm have some way to get the size of data type
Hi: just like the c function sizeof(). I would avoid the usage of the c function call, and expect something like llvm intrinsic or some class providing this functionality. Does someone have experience in this? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100507/056bae50/attachment.html>
2010 May 08
2
[LLVMdev] does llvm have some way to get the size of data type
...Jeffrey Yasskin <jyasskin at google.com> wrote: > Try http://llvm.org/doxygen/classllvm_1_1ConstantExpr.html#a2ea738dfa37ea93c71756be89ba8d92 > or http://llvm.org/doxygen/classllvm_1_1TargetData.html#64c154a7844026e76e18f792ee4ad4b3 > > On Fri, May 7, 2010 at 8:26 PM, Gang.Yao <ttoole9 at gmail.com> wrote: >> Hi: >> >> just like the c function sizeof(). I would avoid the usage of the c >> function call, and expect something like llvm >> intrinsic or some class providing this functionality. >> >> Does someone have experience in this? &g...
2010 May 08
0
[LLVMdev] does llvm have some way to get the size of data type
Try http://llvm.org/doxygen/classllvm_1_1ConstantExpr.html#a2ea738dfa37ea93c71756be89ba8d92 or http://llvm.org/doxygen/classllvm_1_1TargetData.html#64c154a7844026e76e18f792ee4ad4b3 On Fri, May 7, 2010 at 8:26 PM, Gang.Yao <ttoole9 at gmail.com> wrote: > Hi: > > just like the c function sizeof(). I would avoid the usage of the c > function call, and expect something like llvm > intrinsic or some class providing this functionality. > > Does someone have experience in this? > Thanks > > > ___...
2010 May 08
0
[LLVMdev] does llvm have some way to get the size of data type
...lt;jyasskin at google.com> wrote: >> Try http://llvm.org/doxygen/classllvm_1_1ConstantExpr.html#a2ea738dfa37ea93c71756be89ba8d92 >> or http://llvm.org/doxygen/classllvm_1_1TargetData.html#64c154a7844026e76e18f792ee4ad4b3 >> >> On Fri, May 7, 2010 at 8:26 PM, Gang.Yao <ttoole9 at gmail.com> wrote: >>> Hi: >>> >>> just like the c function sizeof(). I would avoid the usage of the c >>> function call, and expect something like llvm >>> intrinsic or some class providing this functionality. >>> >>> Does someo...
2010 May 08
0
[LLVMdev] does llvm have some way to get the size of data type
Hello! You can do this: http://nondot.org/sabre/LLVMNotes/SizeOf-OffsetOf-VariableSizedStructs.txt On Fri, May 7, 2010 at 8:26 PM, Gang.Yao <ttoole9 at gmail.com> wrote: > Hi: > > just like the c function sizeof(). I would avoid the usage of the c > function call, and expect something like llvm > intrinsic or some class providing this functionality. > > Does someone have experience in this? > Thanks > > > __...
2010 Apr 30
1
[LLVMdev] how to add and call a function with void return value in functionpass.
Hi: In a function pass, I tried to create a function which takes a int32 and return void. When I call this function with CallInst::Create and using opt, it always has the error report: opt: Value.cpp:189: void llvm::Value::setName(const llvm::Twine&): Assertion `getType() != Type::getVoidTy(getContext()) && "Cannot assign a name to void values!"' failed. if I change
2010 Apr 12
1
[LLVMdev] Question. about Machinefunction pass, funtion Prolog/Epilog code, stack frame
I am new to the LLVM, and need some help with this points. 1. how can we add special code for the Prolog/Epilog for some certain functions, this should be done with machinefunction pass, rt? 2. Basically, I want to get the function stack frame, that is the size and the initial position. I found int64_t llvm::MachineFrameInfo::getObjectSize ( int *ObjectIdx* ) const[inline] This method is