Merge pull request #78553 from compnerd/well-known-imports

IRGen: further generalise runtime function generation
This commit is contained in:
Saleem Abdulrasool
2025-01-16 09:25:54 -08:00
committed by GitHub
9 changed files with 340 additions and 334 deletions

View File

@@ -39,7 +39,8 @@ enum class RuntimeAvailability {
/// given name, return types, argument types, attributes and
/// a calling convention.
llvm::Constant *getRuntimeFn(llvm::Module &Module, llvm::Constant *&cache,
char const *name, llvm::CallingConv::ID cc,
const char *ModuleName, char const *FunctionName,
llvm::CallingConv::ID cc,
RuntimeAvailability availability,
llvm::ArrayRef<llvm::Type *> retTypes,
llvm::ArrayRef<llvm::Type *> argTypes,

File diff suppressed because it is too large Load Diff