| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1988 Instruction::BinaryOps BinOpcode = BI->getOpcode(); in getSalvageOpsForBinOp() local 1994 if (BinOpcode == Instruction::Add || BinOpcode == Instruction::Sub) { in getSalvageOpsForBinOp() 1995 uint64_t Offset = BinOpcode == Instruction::Add ? Val : -int64_t(Val); in getSalvageOpsForBinOp() 2011 uint64_t DwarfBinOp = getDwarfOpForBinOp(BinOpcode); in getSalvageOpsForBinOp()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 405 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.h | 738 unsigned BinOpcode, unsigned BitSize,
|
| H A D | SystemZISelLowering.cpp | 7774 MachineInstr &MI, MachineBasicBlock *MBB, unsigned BinOpcode, in emitAtomicLoadBinary() argument 7808 Register NewVal = (BinOpcode || IsSubWord ? in emitAtomicLoadBinary() 7844 BuildMI(MBB, DL, TII->get(BinOpcode), Tmp).addReg(RotatedOldVal).add(Src2); in emitAtomicLoadBinary() 7857 } else if (BinOpcode) in emitAtomicLoadBinary() 7859 BuildMI(MBB, DL, TII->get(BinOpcode), RotatedNewVal) in emitAtomicLoadBinary()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 3209 unsigned BinOpcode = MI.getOpcode(); in matchFoldBinOpIntoSelect() local 3215 (BinOpcode == TargetOpcode::G_AND || BinOpcode == TargetOpcode::G_OR) && in matchFoldBinOpIntoSelect() 3244 unsigned BinOpcode = MI.getOpcode(); in applyFoldBinOpIntoSelect() local 3255 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {SelectTrue, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3257 Builder.buildInstr(BinOpcode, {Ty}, {SelectFalse, RHS}).getReg(0); in applyFoldBinOpIntoSelect() 3259 FoldTrue = Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectTrue}).getReg(0); in applyFoldBinOpIntoSelect() 3261 Builder.buildInstr(BinOpcode, {Ty}, {LHS, SelectFalse}).getReg(0); in applyFoldBinOpIntoSelect()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 1028 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument 1029 switch (BinOpcode) { in visitShl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 945 unsigned BinOpcode,
|
| H A D | PPCISelLowering.cpp | 11538 unsigned BinOpcode, in EmitAtomicBinary() argument 11592 Register TmpReg = (!BinOpcode) ? incr : in EmitAtomicBinary() 11621 if (BinOpcode) in EmitAtomicBinary() 11622 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg).addReg(incr).addReg(dest); in EmitAtomicBinary() 11714 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 11735 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() 11784 (!BinOpcode) ? Incr2Reg : RegInfo.createVirtualRegister(GPRC); in EmitPartwordAtomicBinary() 11858 if (BinOpcode) in EmitPartwordAtomicBinary() 11859 BuildMI(BB, dl, TII->get(BinOpcode), TmpReg) in EmitPartwordAtomicBinary()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1353 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2242 auto BinOpcode = BO->getOpcode(); in foldBinOpIntoSelect() local 2244 if (TLI.shouldFoldSelectWithIdentityConstant(BinOpcode, VT)) { in foldBinOpIntoSelect() 2282 (BinOpcode == ISD::AND || BinOpcode == ISD::OR) && in foldBinOpIntoSelect() 2297 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CT)) || in foldBinOpIntoSelect() 2298 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CT))) in foldBinOpIntoSelect() 2303 if ((BinOpcode == ISD::AND && isNullOrNullSplat(CF)) || in foldBinOpIntoSelect() 2304 (BinOpcode == ISD::OR && isAllOnesOrAllOnesSplat(CF))) in foldBinOpIntoSelect() 2313 NewCT = SelOpNo ? DAG.getNode(BinOpcode, DL, VT, CBO, CT) in foldBinOpIntoSelect() 2314 : DAG.getNode(BinOpcode, DL, VT, CT, CBO); in foldBinOpIntoSelect() 2320 NewCF = SelOpNo ? DAG.getNode(BinOpcode, DL, VT, CBO, CF) in foldBinOpIntoSelect() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3052 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9613 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local 9619 switch (BinOpcode) { in calculateBinaryOperator()
|