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.cpp2244 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local
2245 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
2272 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()
2274 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop()
2278 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
H A DInstCombineAndOrXor.cpp2524 Instruction::BinaryOps BOpcode = BO->getOpcode(); in visitAnd() local
2536 ? Builder.CreateBinOp(BOpcode, X, TruncC1) in visitAnd()
2537 : Builder.CreateBinOp(BOpcode, TruncC1, X); in visitAnd()
2552 Builder.CreateBinOp(BOpcode, X, TrY, BO->getName() + ".narrow"); in visitAnd()
2562 Builder.CreateBinOp(BOpcode, TrY, X, BO->getName() + ".narrow"); in visitAnd()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4448 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local
4449 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp()
4468 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
H A DDAGCombiner.cpp25503 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local
25504 if (!TLI.isBinOp(BOpcode) || BinOp->getNumValues() != 1) in narrowExtractedVectorBinOp()
25510 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp()
25543 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT, in narrowExtractedVectorBinOp()
25562 DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, BinOp->getFlags()); in narrowExtractedVectorBinOp()
25576 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp()
25604 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()