Displaying 3 results from an estimated 3 matches for "fooptr".
2015 Apr 25
3
[LLVMdev] alias analysis on llvm internal globals
Hi
I have this program in which fooBuf can only take on NULL or the
address of local_fooBuf, and fooBuf and local_fooBuf have scope of the
foo function.
Therefore there is no way for the fooPtr argument to alias with
fooBuf. However, LLVM basicaa and globalsmodref-aa say the 2 pointers
may alias.
I am thinking whether i should implement a limited form of point-to
alias on the fooBuf pointer in basicaa, i.e. looking at all stores to
it and computing what addresses it can take on and then...
2003 May 23
1
isSeekable returns F on seekable file
Hi,
Seems that on RWin 1.7.0 and 1.6.2 isSeekable returns F on binary files,
while seek() works as expected on the same connection - see example below:
> con = file(nm, "rb")
> isSeekable(con)
[1] FALSE
> readBin(con, double(), 10)
[1] 7.263824e-317 5.968155e-317 2.340685e-317 2.734062e-312
4.088386e-312 4.670335e-317
[7] 6.097545e-317 3.396341e-312 6.615484e-317
2010 Feb 27
3
[LLVMdev] Object layout bug for C++ derived class with long long integer
...simple C++ class that looks like this:
struct Foo { Thing *first; Blob *second; unsigned long third; };
Then I have a derived C++ class that look like this:
struct Bar : Foo { long long fourth; }
I generate JIT code to access 'fourth' from a Foo * as follows:
BarPtr = CreateBitCast(FooPtr, BarPtrTy);
FourthPtr = CreateConstGEP2_32(BarPtr, 0, 3);
FourthValue = CreateLoad(FourthPtr);
ConstantValue = ConstantInt::get(FourthValue->getType(), 0x2A4);
ComparisonValue = CreateICmpEQ(FourthValue, ConstantValue);
This appears to work on Linux and MacOSX with LLVM 2.6 and LLVM 2.7. On...