Home
last modified time | relevance | path

Searched refs:getBinaryOp (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp465 BO->getBinaryOp(), RRange, BO->getNoWrapKind()); in willNotOverflow()
631 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic()
656 Instruction::BinaryOps Opcode = SI->getBinaryOp(); in processSaturatingInst()
H A DGVN.cpp410 E.Opcode = WO->getBinaryOp(); in createExtractvalueExpr()
H A DNewGVN.cpp1879 return createBinaryExpression(WO->getBinaryOp(), EI->getType(), in performSymbolicAggrValueEvaluation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp420 if (!SE->willNotOverflow(WO->getBinaryOp(), WO->isSigned(), LHS, RHS)) in eliminateOverflowIntrinsic()
427 WO->getBinaryOp(), WO->getLHS(), WO->getRHS(), "", WO->getIterator()); in eliminateOverflowIntrinsic()
462 if (!SE->willNotOverflow(SI->getBinaryOp(), SI->isSigned(), LHS, RHS)) in eliminateSaturatingIntrinsic()
466 SI->getBinaryOp(), SI->getLHS(), SI->getRHS(), SI->getName(), SI->getIterator()); in eliminateSaturatingIntrinsic()
H A DSCCPSolver.cpp1423 ConstantRange Res = LR.binaryOp(WO->getBinaryOp(), RR); in handleExtractOfWithOverflow()
1428 WO->getBinaryOp(), RR, WO->getNoWrapKind()); in handleExtractOfWithOverflow()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp802 Instruction::BinaryOps BinaryOpIntrinsic::getBinaryOp() const { in getBinaryOp() function in BinaryOpIntrinsic
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp855 if (OptimizeOverflowCheck(WO->getBinaryOp(), WO->isSigned(), WO->getLHS(), in foldIntrinsicWithOverflowCommon()
874 Builder.CreateBinOp(WO->getBinaryOp(), WO->getLHS(), WO->getRHS()); in foldIntrinsicWithOverflowCommon()
2517 OverflowResult OR = computeOverflow(SI->getBinaryOp(), SI->isSigned(), in visitCallInst()
2524 return BinaryOperator::CreateNSW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
2526 return BinaryOperator::CreateNUW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
H A DInstCombineAndOrXor.cpp4159 (WO->getBinaryOp() == Instruction::Add || in visitOr()
4160 WO->getBinaryOp() == Instruction::Sub) && in visitOr()
4165 APInt NewC = WO->getBinaryOp() == Instruction::Add in visitOr()
H A DInstructionCombining.cpp4294 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in foldExtractOfOverflowIntrinsic()
4332 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in foldExtractOfOverflowIntrinsic()
H A DInstCombineCompares.cpp4099 II->getBinaryOp(), *COp1, II->getNoWrapKind()); in foldICmpUSubSatOrUAddSatWithConstant()
4106 if (II->getBinaryOp() == Instruction::Add) in foldICmpUSubSatOrUAddSatWithConstant()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1027 return CR1.binaryOp(WO->getBinaryOp(), CR2); in solveBlockValueOverflowIntrinsic()
1332 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in getValueFromOverflowCondition()
H A DScalarEvolution.cpp5304 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in MatchBinaryOp()
9045 ConstantRange::makeExactNoWrapRegion(WO->getBinaryOp(), *C, in computeExitLimitFromCondImpl()
H A DValueTracking.cpp3275 switch (WO->getBinaryOp()) { in isKnownNonZeroFromOperator()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h920 LLVM_ABI Instruction::BinaryOps getBinaryOp() const;