Displaying 3 results from an estimated 3 matches for "gep_type_end".
2009 Apr 17
0
[LLVMdev] llvm-ld (instruction combine) breaking for this test.
...ing the new one it is
passing i16 as type of index args. (as PointerWidth on pic16 is i16).
// Find out whether the last index in the source GEP is a sequential idx.
bool EndsWithSequential = false;
for (gep_type_iterator I = gep_type_begin(*cast<User>(PtrOp)),
E = gep_type_end(*cast<User>(PtrOp)); I != E; ++I)
EndsWithSequential = ! isa<StructType>(*I);
// Can we combine the two pointer arithmetics offsets?
if (EndsWithSequential) {
// Replace: gep (gep %P, long B), long A, ...
// With: T = long A+B; gep %P, T, ...
//
Tho...
2004 Nov 15
0
[LLVMdev] Fixes for windows version
...gates.cpp 15 Nov 2004 08:38:35 -0000
> @@ -336,7 +336,7 @@
> for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end();
> UI != E; ) {
> GetElementPtrInst *GEPI = cast<GetElementPtrInst>(*UI++);
> - gep_type_iterator I = gep_type_begin(GEPI), E = gep_type_end(GEPI);
> + gep_type_iterator I = gep_type_begin(GEPI);
> ++I;
>
> if (const ArrayType *AT = dyn_cast<ArrayType>(*I)) {
> Index: win32/Support/Support.vcproj
> ===================================================================
> RCS file: /var/cvs/llvm/llvm...
2004 Nov 15
2
[LLVMdev] Fixes for windows version
Hi,
when I updated the sources today there were several small problems that
stopped the windows version from compiling, here are the patches
m.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32patches.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041115/34634455/attachment.txt>