Searched refs:CastSrc (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 76 Value *CastSrc; in canSafelyConvertTo16Bit() local 77 if (match(&V, m_FPExt(PatternMatch::m_Value(CastSrc))) || in canSafelyConvertTo16Bit() 78 match(&V, m_SExt(PatternMatch::m_Value(CastSrc))) || in canSafelyConvertTo16Bit() 79 match(&V, m_ZExt(PatternMatch::m_Value(CastSrc)))) { in canSafelyConvertTo16Bit() 80 Type *CastSrcTy = CastSrc->getType(); in canSafelyConvertTo16Bit()
|
| H A D | AMDGPURegisterBankInfo.cpp | 2738 auto CastSrc = B.buildBitcast(Vec32, SrcReg); in applyMappingImpl() local 2753 auto Extract0 = B.buildExtractVectorElement(DstRegs[0], CastSrc, IdxLo); in applyMappingImpl() 2754 auto Extract1 = B.buildExtractVectorElement(DstRegs[1], CastSrc, IdxHi); in applyMappingImpl() 2757 MRI.setRegBank(CastSrc.getReg(0), *SrcBank); in applyMappingImpl() 2856 auto CastSrc = B.buildBitcast(Vec32, SrcReg); in applyMappingImpl() local 2869 auto InsLo = B.buildInsertVectorElement(Vec32, CastSrc, InsRegs[0], IdxLo); in applyMappingImpl() 2880 MRI.setRegBank(CastSrc.getReg(0), *SrcBank); in applyMappingImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1552 Value *CastSrc = CI->getOperand(0); in shouldOptimizeCast() local 1555 if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc)) in shouldOptimizeCast() 1560 if (const auto *PrecedingCI = dyn_cast<CastInst>(CastSrc)) in shouldOptimizeCast()
|