reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1376 return CastInst::Create(Instruction::ZExt, Src, DestTy); 1379 if (shouldChangeType(SrcTy, DestTy) && canEvaluateSExtd(Src, DestTy)) { 1379 if (shouldChangeType(SrcTy, DestTy) && canEvaluateSExtd(Src, DestTy)) { 1385 Value *Res = EvaluateInDifferentType(Src, DestTy, true); 1386 assert(Res->getType() == DestTy); 1389 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); 1397 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); 1405 if (match(Src, m_OneUse(m_Trunc(m_Value(X)))) && X->getType() == DestTy) { 1408 unsigned DestBitSize = DestTy->getScalarSizeInBits(); 1409 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize);