Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp937 Constant *CShift) { in foldBinOpShiftWithShift() argument
956 ConstantFoldBinaryOpOperands(GetInvShift(ShOpc), CMask, CShift, DL); in foldBinOpShiftWithShift()
957 return ConstantFoldBinaryOpOperands(ShOpc, MaskInvShift, CShift, DL) == in foldBinOpShiftWithShift()
962 Constant *CMask, *CShift; in foldBinOpShiftWithShift() local
1018 if (!match(Shift, m_ImmConstant(CShift))) in foldBinOpShiftWithShift()
1024 if (!CanDistributeBinops(I.getOpcode(), BinOpc, ShOpc, CMask, CShift)) in foldBinOpShiftWithShift()
1028 ConstantFoldBinaryOpOperands(GetInvShift(ShOpc), CMask, CShift, DL); in foldBinOpShiftWithShift()
1033 NewBinOp1, CShift); in foldBinOpShiftWithShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp362 auto *CShift = dyn_cast<Constant>(Amt); in simplifyX86varShift() local
363 if (!CShift) in simplifyX86varShift()
371 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1396 SDValue CShift = DAG.getConstant(i * 8, dl, MVT::i32); in LowerUnalignedLoadRetParam() local
1403 TmpLdVal = DAG.getNode(ISD::SHL, dl, MergedType, TmpLdVal, CShift); in LowerUnalignedLoadRetParam()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12302 if (auto *CShift = dyn_cast<ConstantSDNode>(LHS->getOperand(1))) { in performAndCombine() local
12303 unsigned Shift = CShift->getZExtValue(); in performAndCombine()