Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2166 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local
2167 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
2194 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()
2196 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop()
2200 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
H A DInstCombineAndOrXor.cpp2447 Instruction::BinaryOps BOpcode = BO->getOpcode(); in visitAnd() local
2459 ? Builder.CreateBinOp(BOpcode, X, TruncC1) in visitAnd()
2460 : Builder.CreateBinOp(BOpcode, TruncC1, X); in visitAnd()
2475 Builder.CreateBinOp(BOpcode, X, TrY, BO->getName() + ".narrow"); in visitAnd()
2485 Builder.CreateBinOp(BOpcode, TrY, X, BO->getName() + ".narrow"); in visitAnd()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4238 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local
4239 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp()
4258 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
H A DDAGCombiner.cpp24436 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local
24437 if (!TLI.isBinOp(BOpcode) || BinOp->getNumValues() != 1) in narrowExtractedVectorBinOp()
24443 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp()
24478 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT, in narrowExtractedVectorBinOp()
24498 DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, BinOp->getFlags()); in narrowExtractedVectorBinOp()
24512 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp()
24541 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()