Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLocal.cpp1988 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 DRISCVISelLowering.h405 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h738 unsigned BinOpcode, unsigned BitSize,
H A DSystemZISelLowering.cpp7774 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 DCombinerHelper.cpp3209 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 DInstCombineShifts.cpp1028 auto isSuitableBinOpcode = [](Instruction::BinaryOps BinOpcode) { in visitShl() argument
1029 switch (BinOpcode) { in visitShl()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h945 unsigned BinOpcode,
H A DPPCISelLowering.cpp11538 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 DX86ISelLowering.h1353 bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode,
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2242 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 DTargetLowering.h3052 virtual bool shouldFoldSelectWithIdentityConstant(unsigned BinOpcode, in shouldFoldSelectWithIdentityConstant() argument
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp9613 Instruction::BinaryOps BinOpcode = BinOp->getOpcode(); in calculateBinaryOperator() local
9619 switch (BinOpcode) { in calculateBinaryOperator()