Searched refs:CreateNSWAdd (Results 1 - 12 of 12) sorted by relevance

/external/llvm/unittests/IR/
H A DPatternMatch.cpp230 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R)));
274 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
277 EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
281 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
284 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));
H A DIRBuilderTest.cpp252 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap());
273 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C))
/external/llvm/include/llvm/IR/
H A DNoFolder.h47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { function in class:llvm::NoFolder
48 return BinaryOperator::CreateNSWAdd(LHS, RHS);
H A DIRBuilder.h771 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1238 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0),
1255 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0),
1367 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0),
1384 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0),
H A DInstCombineCompares.cpp2259 return SetResult(Builder->CreateNSWAdd(LHS, RHS), Builder->getFalse(),
3464 Value *NewAdd = Builder->CreateNSWAdd(A, C3);
3468 Value *NewAdd = Builder->CreateNSWAdd(C, C3);
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp461 Builder.CreateNSWAdd(II->getOperand(0), II->getOperand(1)));
/external/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp1063 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase);
3088 NVAdjustField = Builder.CreateNSWAdd(NVAdjustField, UndoSrcAdjustment);
3108 NVDisp = Builder.CreateNSWAdd(NVAdjustField, BaseClassOffset, "adj");
H A DItaniumCXXABI.cpp692 dst = Builder.CreateNSWAdd(src, adj, "adj");
712 dstAdj = Builder.CreateNSWAdd(srcAdj, adj, "adj");
H A DCGExprScalar.cpp1635 return Builder.CreateNSWAdd(InVal, Amount, Name);
2595 return Builder.CreateNSWAdd(op.LHS, op.RHS, "add");
/external/llvm/lib/IR/
H A DCore.cpp2312 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name));
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.mli2056 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)

Completed in 266 milliseconds