| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2444 Instruction::BinaryOps BinOpcode = BI->getOpcode(); in getSalvageOpsForBinOp() local 2450 if (BinOpcode == Instruction::Add || BinOpcode == Instruction::Sub) { in getSalvageOpsForBinOp() 2451 uint64_t Offset = BinOpcode == Instruction::Add ? Val : -int64_t(Val); in getSalvageOpsForBinOp() 2462 uint64_t DwarfBinOp = getDwarfOpForBinOp(BinOpcode); in getSalvageOpsForBinOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 770 unsigned BinOpcode,
|
| H A D | SystemZISelLowering.cpp | 8387 MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, in emitAtomicLoadBinary() argument 8446 BuildMI(MBB, DL, TII->get(BinOpcode), Tmp).addReg(RotatedOldVal).add(Src2); in emitAtomicLoadBinary() 8450 } else if (BinOpcode) in emitAtomicLoadBinary() 8452 BuildMI(MBB, DL, TII->get(BinOpcode), RotatedNewVal) in emitAtomicLoadBinary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 3477 unsigned BinOpcode = MI.getOpcode(); in matchFoldBinOpIntoSelect() local 3483 (BinOpcode == TargetOpcode::G_AND || BinOpcode == TargetOpcode::G_OR) && in matchFoldBinOpIntoSelect() 3512 unsigned BinOpcode = MI.getOpcode(); in applyFoldBinOpIntoSelect() local 3523 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {SelectTrue, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3525 Builder.buildInstr(BinOpcode, {Ty}, {SelectFalse, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3527 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectTrue}).getReg(0); in applyFoldBinOpIntoSelect() 3529 Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectFalse}).getReg(0); in applyFoldBinOpIntoSelect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 1126 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument 1127 switch (BinOpcode) { in visitShl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 501 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 749 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| H A D | ARMISelLowering.cpp | 13875 bool ARMTargetLowering::shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 936 unsigned BinOpcode,
|
| H A D | PPCISelLowering.cpp | 11842 unsigned BinOpcode, in EmitAtomicBinary() argument 11896 Register TmpReg = (!BinOpcode) ? incr : in EmitAtomicBinary() 11925 if (BinOpcode) in EmitAtomicBinary() 11926 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg).addReg(incr).addReg(dest); in EmitAtomicBinary() 12018 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 12040 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() 12089 (!BinOpcode) ? Incr2Reg : RegInfo.createVirtualRegister(GPRC); in EmitPartwordAtomicBinary() 12163 if (BinOpcode) in EmitPartwordAtomicBinary() 12164 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg) in EmitPartwordAtomicBinary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 741 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| H A D | AArch64ISelLowering.cpp | 16439 unsigned BinOpcode, EVT VT) const { in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1376 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2526 auto BinOpcode = BO->getOpcode(); in foldBinOpIntoSelect() local 2528 if (TLI.shouldFoldSelectWithIdentityConstant(BinOpcode, VT)) { in foldBinOpIntoSelect() 2547 if ((BinOpcode == ISD::SHL || BinOpcode == ISD::SRA || in foldBinOpIntoSelect() 2548 BinOpcode == ISD::SRL) && Sel.hasOneUse()) { in foldBinOpIntoSelect() 2577 (BinOpcode == ISD::AND || BinOpcode == ISD::OR) && in foldBinOpIntoSelect() 2592 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CT)) || in foldBinOpIntoSelect() 2593 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CT))) in foldBinOpIntoSelect() 2598 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CF)) || in foldBinOpIntoSelect() 2599 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CF))) in foldBinOpIntoSelect() 24027 unsigned BinOpcode = BinOp.getOpcode(); in narrowInsertExtractVectorBinOp() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3185 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9749 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local 9755 switch (BinOpcode) { in calculateBinaryOperator()
|