search for: createsext

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

Did you mean: createret
2007 Dec 17
0
[LLVMdev] Elsa and LLVM and LLVM submissions
...char *Name > = "") { > + return CreateCast(Instruction::Trunc, V, DestTy, Name); > + } > + Value *CreateZExt(Value *V, const Type *DestTy, const char *Name > = "") { > + return CreateCast(Instruction::ZExt, V, DestTy, Name); > + } > + Value *CreateSExt(Value *V, const Type *DestTy, const char *Name > = "") { > + return CreateCast(Instruction::SExt, V, DestTy, Name); > + } > + Value *CreateFPToUI(Value *V, const Type *DestTy, const char > *Name = ""){ > + return CreateCast(Instruction::FPToUI, V, D...
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