search for: gep_type_iterator

Displaying 4 results from an estimated 4 matches for "gep_type_iterator".

2007 Jul 03
0
[LLVMdev] Solaris 9 compilation
...een declared Should we #define fmodf as fmod? Better possibly is to differentiate by a configure test. I can come up with a patch. 6) /home/ggreif/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp: In member function `llvm::GenericValue llvm::Interpreter::executeGEPOperation(llvm::Value*, llvm::gep_type_iterator, llvm::gep_type_iterator, llvm::ExecutionContext&)': /home/ggreif/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:798: warning: 'Idx' might be used uninitialized in this function 7) /home/ggreif/llvm/lib/Target/MSIL/MSILWriter.cpp: In member function `unsigned int <unnamed&g...
2004 Nov 15
0
[LLVMdev] Fixes for windows version
...8 > +++ lib/Transforms/Scalar/ScalarReplAggregates.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 > ==========================================================...
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>
2009 Apr 17
0
[LLVMdev] llvm-ld (instruction combine) breaking for this test.
...rks, but looks like it is trying to combine two GEPs into one, and while creating 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)...