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.cpp2316 BinaryOperator::BinaryOps BOpc = Opc0; in foldSelectShuffle() local
2327 (Instruction::isIntDivRem(BOpc) || Instruction::isShift(BOpc)); in foldSelectShuffle()
2329 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpc, NewC, in foldSelectShuffle()
2364 Value *NewBO = ConstantsAreOp1 ? Builder.CreateBinOp(BOpc, V, NewC) : in foldSelectShuffle()
2365 Builder.CreateBinOp(BOpc, NewC, V); in foldSelectShuffle()
H A DInstCombineMulDivRem.cpp386 auto BOpc = cast<BinaryOperator>(Op0)->getOpcode(); in visitMul() local
388 BOpc, X, in visitMul()
389 Builder.CreateBinOp(BOpc, cast<BinaryOperator>(Op0)->getOperand(1), in visitMul()
H A DInstCombineCompares.cpp2025 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrXorSubChain() local
2031 LhsCmp = Builder.CreateBinOp(BOpc, LhsCmp, RhsCmp); in foldICmpOrXorSubChain()
2128 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrConstant() local
2129 return BinaryOperator::Create(BOpc, CmpP, CmpQ); in foldICmpOrConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp444 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in findMergedConditions() local
446 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in findMergedConditions()
452 if (BOpc == Instruction::And) in findMergedConditions()
453 BOpc = Instruction::Or; in findMergedConditions()
454 else if (BOpc == Instruction::Or) in findMergedConditions()
455 BOpc = Instruction::And; in findMergedConditions()
461 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in findMergedConditions()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp507 int BOpc = !AFI->isThumbFunction() in insertBranch() local
523 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB).add(predOps(ARMCC::AL)); in insertBranch()
525 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
545 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB).add(predOps(ARMCC::AL)); in insertBranch()
547 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp635 unsigned BOpc = Hexagon::J2_jump; in insertBranch() local
663 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
723 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2646 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in FindMergedConditions() local
2648 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2654 if (BOpc == Instruction::And) in FindMergedConditions()
2655 BOpc = Instruction::Or; in FindMergedConditions()
2656 else if (BOpc == Instruction::Or) in FindMergedConditions()
2657 BOpc = Instruction::And; in FindMergedConditions()
2663 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions()