Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2114 BinaryOperator::BinaryOps BOpc = Opc0; in foldSelectShuffle() local
2125 (Instruction::isIntDivRem(BOpc) || Instruction::isShift(BOpc)); in foldSelectShuffle()
2127 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpc, NewC, in foldSelectShuffle()
2162 Value *NewBO = ConstantsAreOp1 ? Builder.CreateBinOp(BOpc, V, NewC) : in foldSelectShuffle()
2163 Builder.CreateBinOp(BOpc, NewC, V); in foldSelectShuffle()
H A DInstCombineCompares.cpp1967 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrConstant() local
1968 return BinaryOperator::Create(BOpc, CmpP, CmpQ); in foldICmpOrConstant()
1980 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in foldICmpOrConstant() local
1981 return BinaryOperator::Create(BOpc, Cmp12, Cmp34); in foldICmpOrConstant()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp435 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in findMergedConditions() local
437 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in findMergedConditions()
443 if (BOpc == Instruction::And) in findMergedConditions()
444 BOpc = Instruction::Or; in findMergedConditions()
445 else if (BOpc == Instruction::Or) in findMergedConditions()
446 BOpc = Instruction::And; in findMergedConditions()
452 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in findMergedConditions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp504 int BOpc = !AFI->isThumbFunction() in insertBranch() local
520 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB).add(predOps(ARMCC::AL)); in insertBranch()
522 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
542 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB).add(predOps(ARMCC::AL)); in insertBranch()
544 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp632 unsigned BOpc = Hexagon::J2_jump; in insertBranch() local
660 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB); in insertBranch()
720 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB); in insertBranch()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2227 Instruction::BinaryOps BOpc = (Instruction::BinaryOps)0; in FindMergedConditions() local
2229 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions()
2235 if (BOpc == Instruction::And) in FindMergedConditions()
2236 BOpc = Instruction::Or; in FindMergedConditions()
2237 else if (BOpc == Instruction::Or) in FindMergedConditions()
2238 BOpc = Instruction::And; in FindMergedConditions()
2244 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions()