Lines Matching refs:ValTy
650 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy,
654 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy);
656 ValTy =
662 CGF.getContext().getPointerType(ValTy),
665 Args.add(RValue::get(Val), ValTy);
1219 auto *ValTy = AsValue
1222 if (ValTy->isIntegerTy()) {
1223 assert(IntVal->getType() == ValTy && "Different integer types.");
1225 } else if (ValTy->isPointerTy())
1226 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy));
1227 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy))
1228 return RValue::get(CGF.Builder.CreateBitCast(IntVal, ValTy));