Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp428 BO->getBinaryOp(), RRange, BO->getNoWrapKind()); in willNotOverflow()
547 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic()
572 Instruction::BinaryOps Opcode = SI->getBinaryOp(); in processSaturatingInst()
H A DGVN.cpp402 e.opcode = WO->getBinaryOp(); in createExtractvalueExpr()
H A DNewGVN.cpp1834 return createBinaryExpression(WO->getBinaryOp(), EI->getType(), in performSymbolicAggrValueEvaluation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp406 if (!SE->willNotOverflow(WO->getBinaryOp(), WO->isSigned(), LHS, RHS)) in eliminateOverflowIntrinsic()
413 WO->getBinaryOp(), WO->getLHS(), WO->getRHS(), "", WO); in eliminateOverflowIntrinsic()
447 if (!SE->willNotOverflow(SI->getBinaryOp(), SI->isSigned(), LHS, RHS)) in eliminateSaturatingIntrinsic()
451 SI->getBinaryOp(), SI->getLHS(), SI->getRHS(), SI->getName(), SI); in eliminateSaturatingIntrinsic()
H A DSCCPSolver.cpp1285 ConstantRange Res = LR.binaryOp(WO->getBinaryOp(), RR); in handleExtractOfWithOverflow()
1290 WO->getBinaryOp(), RR, WO->getNoWrapKind()); in handleExtractOfWithOverflow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp828 Instruction::BinaryOps BinaryOpIntrinsic::getBinaryOp() const { in getBinaryOp() function in BinaryOpIntrinsic
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1024 return CR1.binaryOp(WO->getBinaryOp(), CR2); in solveBlockValueOverflowIntrinsic()
1251 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in getValueFromOverflowCondition()
H A DScalarEvolution.cpp5333 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in MatchBinaryOp()
8965 ConstantRange::makeExactNoWrapRegion(WO->getBinaryOp(), *C, in computeExitLimitFromCondImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp834 if (OptimizeOverflowCheck(WO->getBinaryOp(), WO->isSigned(), WO->getLHS(), in foldIntrinsicWithOverflowCommon()
2135 OverflowResult OR = computeOverflow(SI->getBinaryOp(), SI->isSigned(), in visitCallInst()
2142 return BinaryOperator::CreateNSW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
2144 return BinaryOperator::CreateNUW(SI->getBinaryOp(), Arg0, Arg1); in visitCallInst()
H A DInstCombineAndOrXor.cpp3798 (WO->getBinaryOp() == Instruction::Add || in visitOr()
3799 WO->getBinaryOp() == Instruction::Sub) && in visitOr()
3804 APInt NewC = WO->getBinaryOp() == Instruction::Add in visitOr()
H A DInstructionCombining.cpp3434 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in foldExtractOfOverflowIntrinsic()
3461 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in foldExtractOfOverflowIntrinsic()
H A DInstCombineCompares.cpp3788 II->getBinaryOp(), *COp1, II->getNoWrapKind()); in foldICmpUSubSatOrUAddSatWithConstant()
3795 if (II->getBinaryOp() == Instruction::Add) in foldICmpUSubSatOrUAddSatWithConstant()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h862 Instruction::BinaryOps getBinaryOp() const;