Searched refs:BOpcode (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 1979 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local 1980 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop() 1994 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop() 1996 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop() 2001 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
|
| H A D | InstCombineAndOrXor.cpp | 1864 Instruction::BinaryOps BOpcode = BO->getOpcode(); in visitAnd() local 1876 ? Builder.CreateBinOp(BOpcode, X, TruncC1) in visitAnd() 1877 : Builder.CreateBinOp(BOpcode, TruncC1, X); in visitAnd() 1892 Builder.CreateBinOp(BOpcode, X, TrY, BO->getName() + ".narrow"); in visitAnd() 1902 Builder.CreateBinOp(BOpcode, TrY, X, BO->getName() + ".narrow"); in visitAnd()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 3917 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local 3918 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp() 3937 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
|
| H A D | DAGCombiner.cpp | 21359 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local 21360 if (!TLI.isBinOp(BOpcode) || BinOp->getNumValues() != 1) in narrowExtractedVectorBinOp() 21366 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp() 21401 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT)) in narrowExtractedVectorBinOp() 21420 DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, BinOp->getFlags()); in narrowExtractedVectorBinOp() 21434 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp() 21463 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()
|