Home
last modified time | relevance | path

Searched refs:BinOpcode (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2444 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 DSystemZISelLowering.h770 unsigned BinOpcode,
H A DSystemZISelLowering.cpp8387 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 DCombinerHelper.cpp3477 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 DInstCombineShifts.cpp1126 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 DRISCVISelLowering.h501 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h749 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
H A DARMISelLowering.cpp13875 bool ARMTargetLowering::shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h936 unsigned BinOpcode,
H A DPPCISelLowering.cpp11842 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 DAArch64ISelLowering.h741 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
H A DAArch64ISelLowering.cpp16439 unsigned BinOpcode, EVT VT) const { in shouldFoldSelectWithIdentityConstant() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1376 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2526 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 DTargetLowering.h3185 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp9749 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local
9755 switch (BinOpcode) { in calculateBinaryOperator()