Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
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);
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));
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();
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DIRBuilder.h597 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
599 if (HasNUW) BO->setHasNoUnsignedWrap(); in CreateInsertNUWNSWBinOp()
616 bool HasNUW = false, bool HasNSW = false) {
619 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
621 HasNUW, HasNSW);
638 bool HasNUW = false, bool HasNSW = false) {
643 HasNUW, HasNSW);
660 bool HasNUW = false, bool HasNSW = false) {
665 HasNUW, HasNSW);
735 bool HasNUW = false, bool HasNSW = false) {
[all …]
DConstants.h828 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
832 bool HasNUW = false, bool HasNSW = false);
835 bool HasNUW = false, bool HasNSW = false);
838 bool HasNUW = false, bool HasNSW = false);
850 bool HasNUW = false, bool HasNSW = false);
/freebsd-10-stable/contrib/llvm/lib/IR/
DConstants.cpp2021 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
2025 C, HasNUW, HasNSW); in getNeg()
2041 bool HasNUW, bool HasNSW) { in getAdd() argument
2042 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2052 bool HasNUW, bool HasNSW) { in getSub() argument
2053 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2063 bool HasNUW, bool HasNSW) { in getMul() argument
2064 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2112 bool HasNUW, bool HasNSW) { in getShl() argument
2113 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()