Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h70 Register TruncSrc; in tryCombineAnyExt() local
77 Builder.buildAnyExtOrTrunc(DstReg, TruncSrc); in tryCombineAnyExt()
125 Register TruncSrc; in tryCombineZExt() local
138 if (TruncSrc && (DstTy != MRI.getType(TruncSrc))) in tryCombineZExt()
139 TruncSrc = Builder.buildAnyExtOrTrunc(DstTy, TruncSrc).getReg(0); in tryCombineZExt()
141 Register AndSrc = SextSrc ? SextSrc : TruncSrc; in tryCombineZExt()
198 Register TruncSrc; in tryCombineSExt() local
206 if (DstTy != MRI.getType(TruncSrc)) in tryCombineSExt()
207 TruncSrc = Builder.buildAnyExtOrTrunc(DstTy, TruncSrc).getReg(0); in tryCombineSExt()
329 Register TruncSrc; in tryCombineTrunc() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1392 Instruction *TruncSrc; in visitLShr() local
1393 if (match(Op0, m_OneUse(m_Trunc(m_Instruction(TruncSrc)))) && in visitLShr()
1394 match(TruncSrc, m_LShr(m_Value(X), m_APInt(C1)))) { in visitLShr()
1404 (TruncSrc->hasOneUse() || C1->uge(SrcWidth - BitWidth))) { in visitLShr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp847 Register TruncSrc; in matchSextTruncSextLoad() local
848 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) in matchSextTruncSextLoad()
849 LoadUser = TruncSrc; in matchSextTruncSextLoad()
857 if (TruncSrc && MRI.getType(TruncSrc).getSizeInBits() < LoadSizeBits) in matchSextTruncSextLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12460 SDValue TruncSrc = Op.getOperand(0); in isCanonicalized() local
12461 if (TruncSrc.getValueType() == MVT::i32 && in isCanonicalized()
12462 TruncSrc.getOpcode() == ISD::BITCAST && in isCanonicalized()
12463 TruncSrc.getOperand(0).getValueType() == MVT::v2f16) { in isCanonicalized()
12464 return isCanonicalized(DAG, TruncSrc.getOperand(0), MaxDepth - 1); in isCanonicalized()
13245 SDValue TruncSrc = N->getOperand(0); in performFPRoundCombine() local
13250 if (TruncSrc.getOpcode() != AMDGPUISD::FMED3 || in performFPRoundCombine()
13251 TruncSrc.getValueType() != MVT::f32 || !TruncSrc.hasOneUse()) in performFPRoundCombine()
13263 SDValue A = strictFPExtFromF16(DAG, TruncSrc.getOperand(0)); in performFPRoundCombine()
13267 SDValue B = strictFPExtFromF16(DAG, TruncSrc.getOperand(1)); in performFPRoundCombine()
[all …]