Home
last modified time | relevance | path

Searched refs:CastSrc (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp91 Value *CastSrc; in canSafelyConvertTo16Bit() local
92 bool IsExt = IsFloat ? match(&V, m_FPExt(PatternMatch::m_Value(CastSrc))) in canSafelyConvertTo16Bit()
93 : match(&V, m_ZExt(PatternMatch::m_Value(CastSrc))); in canSafelyConvertTo16Bit()
95 Type *CastSrcTy = CastSrc->getType(); in canSafelyConvertTo16Bit()
H A DAMDGPURegisterBankInfo.cpp2863 auto CastSrc = B.buildBitcast(Vec32, SrcReg); in applyMappingImpl() local
2878 auto Extract0 = B.buildExtractVectorElement(DstRegs[0], CastSrc, IdxLo); in applyMappingImpl()
2879 auto Extract1 = B.buildExtractVectorElement(DstRegs[1], CastSrc, IdxHi); in applyMappingImpl()
2882 MRI.setRegBank(CastSrc.getReg(0), *SrcBank); in applyMappingImpl()
2978 auto CastSrc = B.buildBitcast(Vec32, SrcReg); in applyMappingImpl() local
2991 auto InsLo = B.buildInsertVectorElement(Vec32, CastSrc, InsRegs[0], IdxLo); in applyMappingImpl()
3002 MRI.setRegBank(CastSrc.getReg(0), *SrcBank); in applyMappingImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1692 Value *CastSrc = CI->getOperand(0); in shouldOptimizeCast() local
1695 if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc)) in shouldOptimizeCast()
1700 if (const auto *PrecedingCI = dyn_cast<CastInst>(CastSrc)) in shouldOptimizeCast()