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.cpp908 Constant *CShift) { in foldBinOpShiftWithShift() argument
927 ConstantFoldBinaryOpOperands(GetInvShift(ShOpc), CMask, CShift, DL); in foldBinOpShiftWithShift()
928 return ConstantFoldBinaryOpOperands(ShOpc, MaskInvShift, CShift, DL) == in foldBinOpShiftWithShift()
933 Constant *CMask, *CShift; in foldBinOpShiftWithShift() local
990 if (!match(Shift, m_ImmConstant(CShift))) in foldBinOpShiftWithShift()
996 if (!CanDistributeBinops(I.getOpcode(), BinOpc, ShOpc, CMask, CShift)) in foldBinOpShiftWithShift()
1000 ConstantFoldBinaryOpOperands(GetInvShift(ShOpc), CMask, CShift, DL); in foldBinOpShiftWithShift()
1005 NewBinOp1, CShift); in foldBinOpShiftWithShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp368 auto *CShift = dyn_cast<Constant>(Amt); in simplifyX86varShift() local
369 if (!CShift) in simplifyX86varShift()
377 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1620 SDValue CShift = DAG.getConstant(i * 8, dl, MVT::i32); in LowerUnalignedLoadRetParam() local
1627 TmpLdVal = DAG.getNode(ISD::SHL, dl, MergedType, TmpLdVal, CShift); in LowerUnalignedLoadRetParam()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11531 if (auto *CShift = dyn_cast<ConstantSDNode>(LHS->getOperand(1))) { in performAndCombine() local
11532 unsigned Shift = CShift->getZExtValue(); in performAndCombine()