/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 1137 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument 1138 switch (BinOpcode) { in visitShl() 1307 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitLShr() argument 1308 switch (BinOpcode) { in visitLShr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 2472 Instruction::BinaryOps BinOpcode = BI->getOpcode(); in getSalvageOpsForBinOp() local 2478 if (BinOpcode == Instruction::Add || BinOpcode == Instruction::Sub) { in getSalvageOpsForBinOp() 2479 uint64_t Offset = BinOpcode == Instruction::Add ? Val : -int64_t(Val); in getSalvageOpsForBinOp() 2490 uint64_t DwarfBinOp = getDwarfOpForBinOp(BinOpcode); in getSalvageOpsForBinOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 780 unsigned BinOpcode,
|
H A D | SystemZISelLowering.cpp | 8553 MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, in emitAtomicLoadBinary() argument 8612 BuildMI(MBB, DL, TII->get(BinOpcode), Tmp).addReg(RotatedOldVal).add(Src2); in emitAtomicLoadBinary() 8616 } else if (BinOpcode) in emitAtomicLoadBinary() 8618 BuildMI(MBB, DL, TII->get(BinOpcode), RotatedNewVal) in emitAtomicLoadBinary()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 748 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
H A D | ARMISelLowering.cpp | 13880 bool ARMTargetLowering::shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 3619 unsigned BinOpcode = MI.getOpcode(); in matchFoldBinOpIntoSelect() local 3625 (BinOpcode == TargetOpcode::G_AND || BinOpcode == TargetOpcode::G_OR) && in matchFoldBinOpIntoSelect() 3652 unsigned BinOpcode = MI.getOpcode(); in applyFoldBinOpIntoSelect() local 3663 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {SelectTrue, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3665 Builder.buildInstr(BinOpcode, {Ty}, {SelectFalse, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3667 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectTrue}).getReg(0); in applyFoldBinOpIntoSelect() 3669 Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectFalse}).getReg(0); in applyFoldBinOpIntoSelect()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.h | 552 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 947 unsigned BinOpcode,
|
H A D | PPCISelLowering.cpp | 12035 unsigned BinOpcode, in EmitAtomicBinary() argument 12089 Register TmpReg = (!BinOpcode) ? incr : in EmitAtomicBinary() 12118 if (BinOpcode) in EmitAtomicBinary() 12119 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg).addReg(incr).addReg(dest); in EmitAtomicBinary() 12211 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 12233 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() 12282 (!BinOpcode) ? Incr2Reg : RegInfo.createVirtualRegister(GPRC); in EmitPartwordAtomicBinary() 12356 if (BinOpcode) in EmitPartwordAtomicBinary() 12357 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg) in EmitPartwordAtomicBinary()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 1387 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 764 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
H A D | AArch64ISelLowering.cpp | 17566 unsigned BinOpcode, EVT VT) const { in shouldFoldSelectWithIdentityConstant() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 2430 auto BinOpcode = BO->getOpcode(); in foldBinOpIntoSelect() local 2432 if (TLI.shouldFoldSelectWithIdentityConstant(BinOpcode, VT)) { in foldBinOpIntoSelect() 2451 if ((BinOpcode == ISD::SHL || BinOpcode == ISD::SRA || in foldBinOpIntoSelect() 2452 BinOpcode == ISD::SRL) && Sel.hasOneUse()) { in foldBinOpIntoSelect() 2481 (BinOpcode == ISD::AND || BinOpcode == ISD::OR) && in foldBinOpIntoSelect() 2496 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CT)) || in foldBinOpIntoSelect() 2497 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CT))) in foldBinOpIntoSelect() 2502 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CF)) || in foldBinOpIntoSelect() 2503 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CF))) in foldBinOpIntoSelect() 2512 NewCT = SelOpNo ? DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CBO, CT}) in foldBinOpIntoSelect() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 3300 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 9764 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local 9770 switch (BinOpcode) { in calculateBinaryOperator()
|