Home
last modified time | relevance | path

Searched refs:HasNUW (Results 1 – 6 of 6) sorted by relevance

/external/llvm/include/llvm/IR/
DConstantFolder.h35 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);
DNoFolder.h41 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();
DIRBuilder.h744 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
746 if (HasNUW) BO->setHasNoUnsignedWrap(); in CreateInsertNUWNSWBinOp()
764 bool HasNUW = false, bool HasNSW = false) {
767 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
769 HasNUW, HasNSW);
786 bool HasNUW = false, bool HasNSW = false) {
789 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
791 HasNUW, HasNSW);
808 bool HasNUW = false, bool HasNSW = false) {
811 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
[all …]
DConstants.h917 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
921 bool HasNUW = false, bool HasNSW = false);
924 bool HasNUW = false, bool HasNSW = false);
927 bool HasNUW = false, bool HasNSW = false);
939 bool HasNUW = false, bool HasNSW = false);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h51 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));
/external/llvm/lib/IR/
DConstants.cpp2174 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
2178 C, HasNUW, HasNSW); in getNeg()
2194 bool HasNUW, bool HasNSW) { in getAdd() argument
2195 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2205 bool HasNUW, bool HasNSW) { in getSub() argument
2206 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2216 bool HasNUW, bool HasNSW) { in getMul() argument
2217 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2265 bool HasNUW, bool HasNSW) { in getShl() argument
2266 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()