search for: idxend

Displaying 2 results from an estimated 2 matches for "idxend".

Did you mean: idx_end
2007 Dec 17
0
[LLVMdev] Elsa and LLVM and LLVM submissions
...emory Instructions > + // > = > = > =-------------------------------------------------------------------- > ===// > + > + template<typename InputIterator> > + Value *CreateGEP(Value *Ptr, InputIterator IdxBegin, > + InputIterator IdxEnd, const char > *Name = "") { > +#if RICH > + if (Constant *PC = dyn_cast<Constant>(Ptr)) { > + // Every index must be constant. > + InputIterator i; > + for (i = IdxBegin; i < IdxEnd; ++i) { > + if (!dyn_cast<Constant>(*i)) {...
2007 Dec 17
2
[LLVMdev] Elsa and LLVM and LLVM submissions
Devang Patel wrote: > On Dec 15, 2007, at 12:15 PM, Richard Pennington wrote: > >> I got the current version of LLVM via svn yesterday and modified my >> code to >> use the LLVMFoldingBuilder. Very nice! >> >> My question is this: I noticed that the folding builder doesn't fold >> some >> operations, e.g. casts. Is there some reason why? If