Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp446 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() local
448 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() local
523 if (FormalTy != ActualTy) { in promoteCall()
525 CastInst::CreateBitOrPointerCast(Arg, FormalTy, "", CB.getIterator()); in promoteCall()
530 ArgAttrs.remove(AttributeFuncs::typeIncompatible(FormalTy)); in promoteCall()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp2535 for (auto &&FormalTy : FnTy->params()) in EmitHipStdParUnsupportedBuiltin()
2536 Args.push_back(llvm::PoisonValue::get(FormalTy)); in EmitHipStdParUnsupportedBuiltin()