Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2129 BinaryOperator::BinaryOps BOpcode = BO->getOpcode(); in foldSelectShuffleWith1Binop() local
2130 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop()
2144 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()
2146 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true); in foldSelectShuffleWith1Binop()
2151 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop()
H A DInstCombineAndOrXor.cpp2068 Instruction::BinaryOps BOpcode = BO->getOpcode(); in visitAnd() local
2080 ? Builder.CreateBinOp(BOpcode, X, TruncC1) in visitAnd()
2081 : Builder.CreateBinOp(BOpcode, TruncC1, X); in visitAnd()
2096 Builder.CreateBinOp(BOpcode, X, TrY, BO->getName() + ".narrow"); in visitAnd()
2106 Builder.CreateBinOp(BOpcode, TrY, X, BO->getName() + ".narrow"); in visitAnd()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3987 unsigned BOpcode = N0.getOpcode(); in foldSetCCWithBinOp() local
3988 assert((BOpcode == ISD::ADD || BOpcode == ISD::SUB || BOpcode == ISD::XOR) && in foldSetCCWithBinOp()
4007 if (BOpcode == ISD::ADD || BOpcode == ISD::XOR) in foldSetCCWithBinOp()
H A DDAGCombiner.cpp22515 unsigned BOpcode = BinOp.getOpcode(); in narrowExtractedVectorBinOp() local
22516 if (!TLI.isBinOp(BOpcode) || BinOp->getNumValues() != 1) in narrowExtractedVectorBinOp()
22522 if (BOpcode == ISD::FSUB) { in narrowExtractedVectorBinOp()
22557 if (!TLI.isOperationLegalOrCustomOrPromote(BOpcode, NarrowBVT)) in narrowExtractedVectorBinOp()
22576 DAG.getNode(BOpcode, DL, NarrowBVT, X, Y, BinOp->getFlags()); in narrowExtractedVectorBinOp()
22590 if (BOpcode != ISD::AND && BOpcode != ISD::OR && BOpcode != ISD::XOR) in narrowExtractedVectorBinOp()
22619 SDValue NarrowBinOp = DAG.getNode(BOpcode, DL, NarrowBVT, X, Y); in narrowExtractedVectorBinOp()