search for: getashr

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

Did you mean: getaddr
2012 Jul 31
0
[LLVMdev] rotate
Oh, no. I should have been more clear. The patch was not rejected, just lost in the daily shuffle. I already have my employer's approval to send this upstream, so I will prepare a patch against trunk this morning. > I proposed a similar patch to LLVM (left circular shift) around 10/2011. > > Parts of my patch did make it into trunk about a year after, but others > > did not.
2012 Jul 31
4
[LLVMdev] rotate
On Monday, July 30, 2012 12:16 AM, Cameron McInally wrote: > Hey Andy, > > I proposed a similar patch to LLVM (left circular shift) around 10/2011. > Parts of my patch did make it into trunk about a year after, but others > did not. > > At that time, my solution was to add a binary operator to the IRBuilder, > since LCS fits in nicely with the other shift operators. But,
2012 Jul 31
3
[LLVMdev] rotate
...@ -864,6 +864,7 @@ static Constant *getShl(Constant *C1, Constant *C2, bool HasNUW = false, bool HasNSW = false); static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false); + static Constant *getCShl(Constant *C1, Constant *C2); static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false); static Constant *getTrunc (Constant *C, Type *Ty); static Constant *getSExt (Constant *C, Type *Ty); Index: include/llvm/IRBuilder.h =================================================================== --- include/llvm/IRBuilder.h (revisi...
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...onstant *C1, Constant *C2) { return ConstantExpr::getXor(C1, C2); } static Constant *GetShl(Constant *C1, Constant *C2) { return ConstantExpr::getShl(C1, C2); } static Constant *GetLShr(Constant *C1, Constant *C2) { return ConstantExpr::getLShr(C1, C2); } static Constant *GetAShr(Constant *C1, Constant *C2) { return ConstantExpr::getAShr(C1, C2); } static Constant *GetTrunc(Constant *C, const Type *Ty) { return ConstantExpr::getTrunc(C, Ty); } static Constant *GetSExt(Constant *C, const Type *Ty) { return ConstantExpr::getSExt(C, Ty); } static Con...