Home
last modified time | relevance | path

Searched refs:BOpc (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2394 BinaryOperator::BinaryOps BOpc = Opc0; in foldSelectShuffle() local
2405 (Instruction::isIntDivRem(BOpc) || Instruction::isShift(BOpc)); in foldSelectShuffle()
2407 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpc, NewC, in foldSelectShuffle()
2442 Value *NewBO = ConstantsAreOp1 ? Builder.CreateBinOp(BOpc, V, NewC) : in foldSelectShuffle()
2443 Builder.CreateBinOp(BOpc, NewC, V); in foldSelectShuffle()
H A DInstCombineMulDivRem.cpp407 auto BOpc = cast<BinaryOperator>(Op0)->getOpcode(); in visitMul() local
409 BOpc, X, in visitMul()
410 Builder.CreateBinOp(BOpc, cast<BinaryOperator>(Op0)->getOperand(1), in visitMul()
H A DInstCombineCompares.cpp2070 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrXorSubChain() local
2076 LhsCmp = Builder.CreateBinOp(BOpc, LhsCmp, RhsCmp); in foldICmpOrXorSubChain()
2173 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrConstant() local
2174 return BinaryOperator::Create(BOpc, CmpP, CmpQ); in foldICmpOrConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp458 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in findMergedConditions() local
460 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in findMergedConditions()
466 if (BOpc == Instruction::And) in findMergedConditions()
467 BOpc = Instruction::Or; in findMergedConditions()
468 else if (BOpc == Instruction::Or) in findMergedConditions()
469 BOpc = Instruction::And; in findMergedConditions()
475 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in findMergedConditions()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp332 int BOpc = !AFI->isThumbFunction() in insertBranch() local
348 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB).add(predOps(ARMCC::AL)); in insertBranch()
350 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
370 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB).add(predOps(ARMCC::AL)); in insertBranch()
372 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp633 unsigned BOpc = Hexagon::J2_jump; in insertBranch() local
661 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
721 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2614 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in FindMergedConditions() local
2616 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2622 if (BOpc == Instruction::And) in FindMergedConditions()
2623 BOpc = Instruction::Or; in FindMergedConditions()
2624 else if (BOpc == Instruction::Or) in FindMergedConditions()
2625 BOpc = Instruction::And; in FindMergedConditions()
2631 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions()