Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1870 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local
1871 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
1885 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()
1887 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop()
1892 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3400 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local
3401 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp()
3420 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
H A DDAGCombiner.cpp20233 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local
20234 if (!TLI.isBinOp(BOpcode) || BinOp.getNode()->getNumValues() != 1) in narrowExtractedVectorBinOp()
20240 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp()
20275 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT)) in narrowExtractedVectorBinOp()
20293 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, in narrowExtractedVectorBinOp()
20308 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp()
20337 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()