Searched refs:FormalTy (Results 1 – 2 of 2) sorted by relevance
446 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() local448 if (FormalTy == ActualTy) in isLegalToPromote()450 if (!CastInst::isBitOrNoopPointerCastable(ActualTy, FormalTy, DL)) { in isLegalToPromote()459 PointerType *PF = dyn_cast<PointerType>(FormalTy); in isLegalToPromote()521 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall() local523 if (FormalTy != ActualTy) { in promoteCall()525 CastInst::CreateBitOrPointerCast(Arg, FormalTy, "", CB.getIterator()); in promoteCall()530 ArgAttrs.remove(AttributeFuncs::typeIncompatible(FormalTy)); in promoteCall()
2535 for (auto &&FormalTy : FnTy->params()) in EmitHipStdParUnsupportedBuiltin()2536 Args.push_back(llvm::PoisonValue::get(FormalTy)); in EmitHipStdParUnsupportedBuiltin()