search for: getfneg

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

Did you mean: get2net
2015 Jan 15
2
[LLVMdev] Handling of undef in the IR
Hi all, I have a very simple test case (thanks to bugpoint) that hit an assert in reassociate. (the assert is (C->getType()->isIntOrIntVectorTy() && "Cannot NEG a nonintegral value!"), function getNeg) The function is taking a Constant as argument, but the assert does not expect an undef. I’m not sure whose responsibility is it to handle that (caller?). Do we have to
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...Of, /// which supports any aggregate type, and any Constant index. /// static Constant *GetOffsetOf(const Type* Ty, Constant *FieldNo) { return ConstantExpr::getOffsetOf(Ty, FieldNo); } static Constant *GetNeg(Constant *C) { return ConstantExpr::getNeg(C); } static Constant *GetFNeg(Constant *C) { return ConstantExpr::getFNeg(C); } static Constant *GetNot(Constant *C) { return ConstantExpr::getNot(C); } static Constant *GetAdd(Constant *C1, Constant *C2) { return ConstantExpr::getAdd(C1, C2); } static Constant *GetFAdd(Constant *C1, Constant *C2) {...