Home
last modified time | relevance | path

Searched refs:BinInst (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp351 auto *BinInst = dyn_cast<BinaryOperator>(I.getOperand(0)); in foldShiftOfShiftedBinOp() local
352 if (!BinInst || in foldShiftOfShiftedBinOp()
353 (!BinInst->isBitwiseLogicOp() && in foldShiftOfShiftedBinOp()
354 BinInst->getOpcode() != Instruction::Add && in foldShiftOfShiftedBinOp()
355 BinInst->getOpcode() != Instruction::Sub) || in foldShiftOfShiftedBinOp()
356 !BinInst->hasOneUse()) in foldShiftOfShiftedBinOp()
365 if ((BinInst->getOpcode() == Instruction::Add || in foldShiftOfShiftedBinOp()
366 BinInst->getOpcode() == Instruction::Sub) && in foldShiftOfShiftedBinOp()
388 if (matchFirstShift(BinInst->getOperand(0), BinInst->getOperand(1))) in foldShiftOfShiftedBinOp()
389 Y = BinInst->getOperand(1); in foldShiftOfShiftedBinOp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td2075 multiclass PseudoBinPat<string Op, Pseudo BinInst> {
2077 (BinInst GPR:$addr, GPR:$incr, 2)>;
2079 (BinInst GPR:$addr, GPR:$incr, 4)>;
2081 (BinInst GPR:$addr, GPR:$incr, 5)>;
2083 (BinInst GPR:$addr, GPR:$incr, 6)>;
2085 (BinInst GPR:$addr, GPR:$incr, 7)>;