Home
last modified time | relevance | path

Searched refs:FormalTy (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp418 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() local
420 if (FormalTy == ActualTy) in isLegalToPromote()
422 if (!CastInst::isBitOrNoopPointerCastable(ActualTy, FormalTy, DL)) { in isLegalToPromote()
496 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall() local
498 if (FormalTy != ActualTy) { in promoteCall()
499 auto *Cast = CastInst::CreateBitOrPointerCast(Arg, FormalTy, "", &CB); in promoteCall()
504 ArgAttrs.remove(AttributeFuncs::typeIncompatible(FormalTy)); in promoteCall()