Home
last modified time | relevance | path

Searched refs:BOpcode (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2156 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local
2157 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
2171 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()
2173 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop()
2178 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
H A DInstCombineAndOrXor.cpp2322 Instruction::BinaryOps BOpcode = BO->getOpcode(); in visitAnd() local
2334 ? Builder.CreateBinOp(BOpcode, X, TruncC1) in visitAnd()
2335 : Builder.CreateBinOp(BOpcode, TruncC1, X); in visitAnd()
2350 Builder.CreateBinOp(BOpcode, X, TrY, BO->getName() + ".narrow"); in visitAnd()
2360 Builder.CreateBinOp(BOpcode, TrY, X, BO->getName() + ".narrow"); in visitAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4179 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local
4180 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp()
4199 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
H A DDAGCombiner.cpp24076 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local
24077 if (!TLI.isBinOp(BOpcode) || BinOp->getNumValues() != 1) in narrowExtractedVectorBinOp()
24083 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp()
24118 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT, in narrowExtractedVectorBinOp()
24138 DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, BinOp->getFlags()); in narrowExtractedVectorBinOp()
24152 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp()
24181 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()