| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1882 Instruction::BinaryOps BinOpcode = BI->getOpcode(); in getSalvageOpsForBinOp() local 1888 if (BinOpcode == Instruction::Add || BinOpcode == Instruction::Sub) { in getSalvageOpsForBinOp() 1889 uint64_t Offset = BinOpcode == Instruction::Add ? Val : -int64_t(Val); in getSalvageOpsForBinOp() 1905 uint64_t DwarfBinOp = getDwarfOpForBinOp(BinOpcode); in getSalvageOpsForBinOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 3137 unsigned BinOpcode = MI.getOpcode(); in matchFoldBinOpIntoSelect() local 3143 (BinOpcode == TargetOpcode::G_AND || BinOpcode == TargetOpcode::G_OR) && in matchFoldBinOpIntoSelect() 3172 unsigned BinOpcode = MI.getOpcode(); in applyFoldBinOpIntoSelect() local 3183 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {SelectTrue, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3185 Builder.buildInstr(BinOpcode, {Ty}, {SelectFalse, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3187 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectTrue}).getReg(0); in applyFoldBinOpIntoSelect() 3189 Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectFalse}).getReg(0); in applyFoldBinOpIntoSelect()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 740 unsigned BinOpcode, unsigned BitSize,
|
| H A D | SystemZISelLowering.cpp | 7778 MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, in emitAtomicLoadBinary() argument 7812 Register NewVal = (BinOpcode || IsSubWord ? in emitAtomicLoadBinary() 7848 BuildMI(MBB, DL, TII->get(BinOpcode), Tmp).addReg(RotatedOldVal).add(Src2); in emitAtomicLoadBinary() 7861 } else if (BinOpcode) in emitAtomicLoadBinary() 7863 BuildMI(MBB, DL, TII->get(BinOpcode), RotatedNewVal) in emitAtomicLoadBinary()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 947 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument 948 switch (BinOpcode) { in visitShl()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 938 unsigned BinOpcode,
|
| H A D | PPCISelLowering.cpp | 11374 unsigned BinOpcode, in EmitAtomicBinary() argument 11428 Register TmpReg = (!BinOpcode) ? incr : in EmitAtomicBinary() 11457 if (BinOpcode) in EmitAtomicBinary() 11458 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg).addReg(incr).addReg(dest); in EmitAtomicBinary() 11548 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 11569 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() 11618 (!BinOpcode) ? Incr2Reg : RegInfo.createVirtualRegister(GPRC); in EmitPartwordAtomicBinary() 11692 if (BinOpcode) in EmitPartwordAtomicBinary() 11693 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg) in EmitPartwordAtomicBinary()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1301 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2251 auto BinOpcode = BO->getOpcode(); in foldBinOpIntoSelect() local 2253 if (TLI.shouldFoldSelectWithIdentityConstant(BinOpcode, VT)) { in foldBinOpIntoSelect() 2291 (BinOpcode == ISD::AND || BinOpcode == ISD::OR) && in foldBinOpIntoSelect() 2305 SDValue NewCT = SelOpNo ? DAG.getNode(BinOpcode, DL, VT, CBO, CT) in foldBinOpIntoSelect() 2306 : DAG.getNode(BinOpcode, DL, VT, CT, CBO); in foldBinOpIntoSelect() 2312 SDValue NewCF = SelOpNo ? DAG.getNode(BinOpcode, DL, VT, CBO, CF) in foldBinOpIntoSelect() 2313 : DAG.getNode(BinOpcode, DL, VT, CF, CBO); in foldBinOpIntoSelect() 21310 unsigned BinOpcode = BinOp.getOpcode(); in narrowInsertExtractVectorBinOp() local 21311 if (!TLI.isBinOp(BinOpcode) || BinOp->getNumValues() != 1) in narrowInsertExtractVectorBinOp() 21321 if (!TLI.isOperationLegalOrCustom(BinOpcode, SubVT, LegalOperations)) in narrowInsertExtractVectorBinOp() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 2983 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 8828 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local 8834 switch (BinOpcode) { in calculateBinaryOperator()
|