- auto *VoidTy = Type::getVoidTy(M.getContext());
- auto *VoidPtrTy = Type::getInt8PtrTy(M.getContext());
- auto *Int32Ty = Type::getInt32Ty(M.getContext());
- auto *Int64Ty = Type::getInt64Ty(M.getContext());
- Type *ArgTypes[] = {Int64Ty, VoidPtrTy, Int32Ty};
+ LLVMContext &Ctx = M.getContext();
+ auto *ReturnTy = Type::getVoidTy(M.getContext());
+ Type *ParamTypes[] = {
+#define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType
+#include "llvm/ProfileData/InstrProfData.inc"
+ };