ΒΆbool inferLibFuncAttributes(
llvm::Function& F,
const llvm::TargetLibraryInfo& TLI)
bool inferLibFuncAttributes(
llvm::Function& F,
const llvm::TargetLibraryInfo& TLI)
Description
Analyze the name and prototype of the given function and set any applicable attributes. If the library function is unavailable, this doesn't modify it. Returns true if any attributes were set and false otherwise.
Declared at: llvm/include/llvm/Transforms/Utils/BuildLibCalls.h:30
Parameters
- llvm::Function& F
- const llvm::TargetLibraryInfo& TLI