Searched refs:HasNSW (Results 1 - 7 of 7) sorted by relevance

/external/llvm/include/llvm/Analysis/
H A 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));
[all...]
/external/llvm/include/llvm/IR/
H A 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);
[all...]
H A DNoFolder.h41 bool HasNUW = false, bool HasNSW = false) const {
44 if (HasNSW) BO->setHasNoSignedWrap();
57 bool HasNUW = false, bool HasNSW = false) const {
60 if (HasNSW) BO->setHasNoSignedWrap();
73 bool HasNUW = false, bool HasNSW = false) const {
76 if (HasNSW) BO->setHasNoSignedWrap();
119 bool HasNSW = false) const {
122 if (HasNSW) BO->setHasNoSignedWrap();
157 bool HasNUW = false, bool HasNSW = false) const {
160 if (HasNSW) B
[all...]
H A DIRBuilder.h614 bool HasNUW, bool HasNSW) {
617 if (HasNSW) BO->setHasNoSignedWrap();
633 bool HasNUW = false, bool HasNSW = false) {
636 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
638 HasNUW, HasNSW);
655 bool HasNUW = false, bool HasNSW = false) {
658 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
660 HasNUW, HasNSW);
677 bool HasNUW = false, bool HasNSW = false) {
680 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Nam
611 CreateInsertNUWNSWBinOp(BinaryOperator::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name, bool HasNUW, bool HasNSW) argument
[all...]
H A DConstants.h834 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
838 bool HasNUW = false, bool HasNSW = false);
841 bool HasNUW = false, bool HasNSW = false);
844 bool HasNUW = false, bool HasNSW = false);
856 bool HasNUW = false, bool HasNSW = false);
/external/llvm/lib/IR/
H A DConstants.cpp2083 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { argument
2087 C, HasNUW, HasNSW);
2103 bool HasNUW, bool HasNSW) {
2105 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2114 bool HasNUW, bool HasNSW) {
2116 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2125 bool HasNUW, bool HasNSW) {
2127 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2174 bool HasNUW, bool HasNSW) {
2176 (HasNSW
2102 getAdd(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
2113 getSub(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
2124 getMul(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
2173 getShl(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp502 bool HasNSW = false; local
504 HasNSW = I.hasNoSignedWrap();
508 HasNSW &= Op0->hasNoSignedWrap();
512 HasNSW &= Op1->hasNoSignedWrap();
513 BO->setHasNoSignedWrap(HasNSW);

Completed in 1455 milliseconds