Lines Matching refs:ValTy
651 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, in AddDirectArgument() argument
655 unsigned Align = CGF.getContext().getTypeAlignInChars(ValTy).getQuantity(); in AddDirectArgument()
657 ValTy = in AddDirectArgument()
662 Align, CGF.getContext().getPointerType(ValTy), in AddDirectArgument()
665 Args.add(RValue::get(Val), ValTy); in AddDirectArgument()
1192 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local
1195 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic()
1196 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic()
1198 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic()
1199 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
1200 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic()
1201 return RValue::get(CGF.Builder.CreateBitCast(IntVal, ValTy)); in ConvertIntToValueOrAtomic()