Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h58 Register TruncSrc; in tryCombineAnyExt() local
59 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { in tryCombineAnyExt()
61 Builder.buildAnyExtOrTrunc(DstReg, TruncSrc); in tryCombineAnyExt()
109 Register TruncSrc; in tryCombineZExt() local
111 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc))) || in tryCombineZExt()
123 Builder.buildAnyExtOrTrunc(DstTy, TruncSrc); in tryCombineZExt()
168 Register TruncSrc; in tryCombineSExt() local
169 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { in tryCombineSExt()
178 {Builder.buildAnyExtOrTrunc(DstTy, TruncSrc), SizeInBits}); in tryCombineSExt()
286 Register TruncSrc; in tryCombineTrunc() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h58 Register TruncSrc; in tryCombineAnyExt() local
59 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { in tryCombineAnyExt()
61 Builder.buildAnyExtOrTrunc(DstReg, TruncSrc); in tryCombineAnyExt()
107 Register TruncSrc; in tryCombineZExt() local
108 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { in tryCombineZExt()
118 Builder.buildAnd(DstReg, Builder.buildAnyExtOrTrunc(DstTy, TruncSrc), in tryCombineZExt()
151 Register TruncSrc; in tryCombineSExt() local
152 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { in tryCombineSExt()
161 {Builder.buildAnyExtOrTrunc(DstTy, TruncSrc), SizeInBits}); in tryCombineSExt()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp596 Register TruncSrc; in matchSextTruncSextLoad() local
597 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) in matchSextTruncSextLoad()
598 LoadUser = TruncSrc; in matchSextTruncSextLoad()
606 if (TruncSrc && MRI.getType(TruncSrc).getSizeInBits() < MMO.getSizeInBits()) in matchSextTruncSextLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp8865 SDValue TruncSrc = Src.getOperand(0); in isCanonicalized() local
8866 if (TruncSrc.getValueType() == MVT::i32 && in isCanonicalized()
8867 TruncSrc.getOpcode() == ISD::BITCAST && in isCanonicalized()
8868 TruncSrc.getOperand(0).getValueType() == MVT::v2f16) { in isCanonicalized()
8869 return isCanonicalized(DAG, TruncSrc.getOperand(0), MaxDepth - 1); in isCanonicalized()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9582 SDValue TruncSrc = Src.getOperand(0); in isCanonicalized() local
9583 if (TruncSrc.getValueType() == MVT::i32 && in isCanonicalized()
9584 TruncSrc.getOpcode() == ISD::BITCAST && in isCanonicalized()
9585 TruncSrc.getOperand(0).getValueType() == MVT::v2f16) { in isCanonicalized()
9586 return isCanonicalized(DAG, TruncSrc.getOperand(0), MaxDepth - 1); in isCanonicalized()