Home
last modified time | relevance | path

Searched refs:CImm (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp1936 auto *CImm = cast<ConstantSDNode>(Op->getOperand(ImmOp)); in checkIntrinsicImmArg() local
1938 if ((IsSigned && !isInt<N>(CImm->getSExtValue())) || in checkIntrinsicImmArg()
1939 (!IsSigned && !isUInt<N>(CImm->getZExtValue()))) { in checkIntrinsicImmArg()
3634 auto *CImm = cast<ConstantSDNode>(Node->getOperand(ImmOp)); in legalizeIntrinsicImmArg() local
3636 if ((IsSigned && !isInt<N>(CImm->getSExtValue())) || in legalizeIntrinsicImmArg()
3637 (!IsSigned && !isUInt<N>(CImm->getZExtValue()))) { in legalizeIntrinsicImmArg()
3642 return DAG.getConstant(CImm->getZExtValue(), DL, Subtarget.getGRLenVT()); in legalizeIntrinsicImmArg()
3650 auto *CImm = cast<ConstantSDNode>(Node->getOperand(ImmOp)); in lowerVectorSplatImm() local
3653 if ((IsSigned && !isInt<N>(CImm->getSExtValue())) || in lowerVectorSplatImm()
3654 (!IsSigned && !isUInt<N>(CImm->getZExtValue()))) { in lowerVectorSplatImm()
[all …]
H A DLoongArchInstrInfo.td1199 defvar CImm = !add(1, !shl(!add(1, !shl(1, Idx0)), Idx1));
1200 def : Pat<(mul_const_oneuse GPR:$r, (i32 CImm)),
1208 defvar CImm = !add(Cb, !shl(Cb, Idx1));
1209 def : Pat<(mul_const_oneuse GPR:$r, (i32 CImm)),
1219 defvar CImm = !add(1, !shl(!add(1, !shl(1, Idx0)), Idx1));
1220 def : Pat<(sext_inreg (mul_const_oneuse GPR:$r, (i64 CImm)), i32),
1223 def : Pat<(mul_const_oneuse GPR:$r, (i64 CImm)),
1231 defvar CImm = !add(Cb, !shl(Cb, Idx1));
1232 def : Pat<(sext_inreg (mul_const_oneuse GPR:$r, (i64 CImm)), i32),
1235 def : Pat<(mul_const_oneuse GPR:$r, (i64 CImm)),
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp1415 auto *CImm = cast<ConstantSDNode>(Op->getOperand(ImmOp)); in lowerMSASplatImm() local
1418 IsSigned ? CImm->getSExtValue() : CImm->getZExtValue(), IsSigned), in lowerMSASplatImm()
1468 if (ConstantSDNode *CImm = dyn_cast<ConstantSDNode>(Imm)) { in lowerMSABinaryBitImmIntr() local
1469 APInt BitImm = APInt(64, 1) << CImm->getAPIntValue(); in lowerMSABinaryBitImmIntr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp359 const ConstantInt *CImm; member
464 Loc.CImm = Op.getCImm(); in GetLocForOp()