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