Searched refs:HasNUW (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | ConstantFolder.h | 35 bool HasNUW = false, bool HasNSW = false) const { 36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); 42 bool HasNUW = false, bool HasNSW = false) const { 43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); 49 bool HasNUW = false, bool HasNSW = false) const { 50 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW); 76 bool HasNUW = false, bool HasNSW = false) const { 77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW); 107 bool HasNUW = false, bool HasNSW = false) const { 108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
D | NoFolder.h | 41 bool HasNUW = false, bool HasNSW = false) const { 43 if (HasNUW) BO->setHasNoUnsignedWrap(); 57 bool HasNUW = false, bool HasNSW = false) const { 59 if (HasNUW) BO->setHasNoUnsignedWrap(); 73 bool HasNUW = false, bool HasNSW = false) const { 75 if (HasNUW) BO->setHasNoUnsignedWrap(); 118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 121 if (HasNUW) BO->setHasNoUnsignedWrap(); 157 bool HasNUW = false, bool HasNSW = false) const { 159 if (HasNUW) BO->setHasNoUnsignedWrap();
|
D | TargetFolder.h | 51 bool HasNUW = false, bool HasNSW = false) const { 52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); 58 bool HasNUW = false, bool HasNSW = false) const { 59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); 65 bool HasNUW = false, bool HasNSW = false) const { 66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW)); 90 bool HasNUW = false, bool HasNSW = false) const { 91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW)); 119 bool HasNUW = false, bool HasNSW = false) const { 120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
D | IRBuilder.h | 508 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument 510 if (HasNUW) BO->setHasNoUnsignedWrap(); in CreateInsertNUWNSWBinOp() 524 bool HasNUW = false, bool HasNSW = false) { 527 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 529 HasNUW, HasNSW); 546 bool HasNUW = false, bool HasNSW = false) { 551 HasNUW, HasNSW); 568 bool HasNUW = false, bool HasNSW = false) { 573 HasNUW, HasNSW); 643 bool HasNUW = false, bool HasNSW = false) { [all …]
|
/external/llvm/include/llvm/ |
D | Constants.h | 843 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); 847 bool HasNUW = false, bool HasNSW = false); 850 bool HasNUW = false, bool HasNSW = false); 853 bool HasNUW = false, bool HasNSW = false); 865 bool HasNUW = false, bool HasNSW = false);
|
/external/llvm/lib/VMCore/ |
D | Constants.cpp | 1903 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument 1907 C, HasNUW, HasNSW); in getNeg() 1923 bool HasNUW, bool HasNSW) { in getAdd() argument 1924 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd() 1934 bool HasNUW, bool HasNSW) { in getSub() argument 1935 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub() 1945 bool HasNUW, bool HasNSW) { in getMul() argument 1946 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul() 1994 bool HasNUW, bool HasNSW) { in getShl() argument 1995 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
|