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.cpp443 BO->getBinaryOp(), RRange, BO->getNoWrapKind()); in willNotOverflow()
609 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic()
634 Instruction::BinaryOps Opcode = SI->getBinaryOp(); in processSaturatingInst()
H A DGVN.cpp403 e.opcode = WO->getBinaryOp(); in createExtractvalueExpr()
H A DNewGVN.cpp1838 return createBinaryExpression(WO->getBinaryOp(), EI->getType(), in performSymbolicAggrValueEvaluation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp418 if (!SE->willNotOverflow(WO->getBinaryOp(), WO->isSigned(), LHS, RHS)) in eliminateOverflowIntrinsic()
425 WO->getBinaryOp(), WO->getLHS(), WO->getRHS(), "", WO->getIterator()); in eliminateOverflowIntrinsic()
460 if (!SE->willNotOverflow(SI->getBinaryOp(), SI->isSigned(), LHS, RHS)) in eliminateSaturatingIntrinsic()
464 SI->getBinaryOp(), SI->getLHS(), SI->getRHS(), SI->getName(), SI->getIterator()); in eliminateSaturatingIntrinsic()
H A DSCCPSolver.cpp1323 ConstantRange Res = LR.binaryOp(WO->getBinaryOp(), RR); in handleExtractOfWithOverflow()
1328 WO->getBinaryOp(), RR, WO->getNoWrapKind()); in handleExtractOfWithOverflow()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp848 Instruction::BinaryOps BinaryOpIntrinsic::getBinaryOp() const { in getBinaryOp() function in BinaryOpIntrinsic
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1020 return CR1.binaryOp(WO->getBinaryOp(), CR2); in solveBlockValueOverflowIntrinsic()
1259 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in getValueFromOverflowCondition()
H A DScalarEvolution.cpp5338 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in MatchBinaryOp()
9009 ConstantRange::makeExactNoWrapRegion(WO->getBinaryOp(), *C, in computeExitLimitFromCondImpl()
H A DValueTracking.cpp3048 switch (WO->getBinaryOp()) { in isKnownNonZeroFromOperator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp829 if (OptimizeOverflowCheck(WO->getBinaryOp(), WO->isSigned(), WO->getLHS(), in foldIntrinsicWithOverflowCommon()
2228 OverflowResult OR = computeOverflow(SI->getBinaryOp(), SI->isSigned(), in visitCallInst()
2235 return BinaryOperator::CreateNSW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
2237 return BinaryOperator::CreateNUW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
H A DInstCombineAndOrXor.cpp3917 (WO->getBinaryOp() == Instruction::Add || in visitOr()
3918 WO->getBinaryOp() == Instruction::Sub) && in visitOr()
3923 APInt NewC = WO->getBinaryOp() == Instruction::Add in visitOr()
H A DInstructionCombining.cpp3904 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in foldExtractOfOverflowIntrinsic()
3942 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in foldExtractOfOverflowIntrinsic()
H A DInstCombineCompares.cpp3900 II->getBinaryOp(), *COp1, II->getNoWrapKind()); in foldICmpUSubSatOrUAddSatWithConstant()
3907 if (II->getBinaryOp() == Instruction::Add) in foldICmpUSubSatOrUAddSatWithConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h907 Instruction::BinaryOps getBinaryOp() const;