| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 1159 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument 1160 switch (BinOpcode) { in visitShl() 1329 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitLShr() argument 1330 switch (BinOpcode) { in visitLShr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2513 Instruction::BinaryOps BinOpcode = BI->getOpcode(); in getSalvageOpsForBinOp() local 2519 if (BinOpcode == Instruction::Add || BinOpcode == Instruction::Sub) { in getSalvageOpsForBinOp() 2520 uint64_t Offset = BinOpcode == Instruction::Add ? Val : -int64_t(Val); in getSalvageOpsForBinOp() 2531 uint64_t DwarfBinOp = getDwarfOpForBinOp(BinOpcode); in getSalvageOpsForBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 819 unsigned BinOpcode,
|
| H A D | SystemZISelLowering.cpp | 9877 MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, in emitAtomicLoadBinary() argument 9936 BuildMI(MBB, DL, TII->get(BinOpcode), Tmp).addReg(RotatedOldVal).add(Src2); in emitAtomicLoadBinary() 9940 } else if (BinOpcode) in emitAtomicLoadBinary() 9942 BuildMI(MBB, DL, TII->get(BinOpcode), RotatedNewVal) in emitAtomicLoadBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 98 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, EVT VT,
|
| H A D | RISCVISelLowering.cpp | 2179 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 774 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, EVT VT,
|
| H A D | ARMISelLowering.cpp | 13956 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 3769 unsigned BinOpcode = MI.getOpcode(); in matchFoldBinOpIntoSelect() local 3775 (BinOpcode == TargetOpcode::G_AND || BinOpcode == TargetOpcode::G_OR) && in matchFoldBinOpIntoSelect() 3802 unsigned BinOpcode = MI.getOpcode(); in applyFoldBinOpIntoSelect() local 3813 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {SelectTrue, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3815 Builder.buildInstr(BinOpcode, {Ty}, {SelectFalse, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3817 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectTrue}).getReg(0); in applyFoldBinOpIntoSelect() 3819 Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectFalse}).getReg(0); in applyFoldBinOpIntoSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 765 Instruction::BinaryOps BinOpcode = VecBinOp->getOpcode(); in foldInsExtBinop() local 766 if (BinOpcode != SclBinOp->getOpcode()) in foldInsExtBinop() 780 TTI.getArithmeticInstrCost(BinOpcode, ResultTy, CostKind) + in foldInsExtBinop() 798 Value *NewBO = Builder.CreateBinOp(BinOpcode, NewIns0, NewIns1); in foldInsExtBinop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 284 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, EVT VT,
|
| H A D | AArch64ISelLowering.cpp | 18012 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 966 unsigned BinOpcode,
|
| H A D | PPCISelLowering.cpp | 12863 unsigned BinOpcode, in EmitAtomicBinary() argument 12917 Register TmpReg = (!BinOpcode) ? incr : in EmitAtomicBinary() 12946 if (BinOpcode) in EmitAtomicBinary() 12947 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg).addReg(incr).addReg(dest); in EmitAtomicBinary() 13039 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 13061 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() 13110 (!BinOpcode) ? Incr2Reg : RegInfo.createVirtualRegister(GPRC); in EmitPartwordAtomicBinary() 13184 if (BinOpcode) in EmitPartwordAtomicBinary() 13185 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg) in EmitPartwordAtomicBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1472 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, EVT VT,
|
| H A D | X86ISelLowering.cpp | 35620 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument 35629 if (BinOpcode == ISD::AND && (sd_match(Y, m_Neg(m_Specific(X))) || in shouldFoldSelectWithIdentityConstant() 35633 if (BinOpcode == ISD::AND && in shouldFoldSelectWithIdentityConstant() 35638 if (BinOpcode == ISD::XOR && in shouldFoldSelectWithIdentityConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2530 auto BinOpcode = BO->getOpcode(); in foldBinOpIntoSelect() local 2536 if ((BinOpcode == ISD::SHL || BinOpcode == ISD::SRA || in foldBinOpIntoSelect() 2537 BinOpcode == ISD::SRL) && Sel.hasOneUse()) { in foldBinOpIntoSelect() 2566 (BinOpcode == ISD::AND || BinOpcode == ISD::OR) && in foldBinOpIntoSelect() 2582 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CT)) || in foldBinOpIntoSelect() 2583 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CT))) in foldBinOpIntoSelect() 2588 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CF)) || in foldBinOpIntoSelect() 2589 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CF))) in foldBinOpIntoSelect() 2598 NewCT = SelOpNo ? DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CBO, CT}) in foldBinOpIntoSelect() 2599 : DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CT, CBO}); in foldBinOpIntoSelect() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3401 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, EVT VT, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9844 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local 9850 switch (BinOpcode) { in calculateBinaryOperator()
|