LLVM: lib/Transforms/IPO/InferFunctionAttrs.cpp File Reference (original) (raw)

#include "[llvm/Transforms/IPO/InferFunctionAttrs.h](InferFunctionAttrs%5F8h%5Fsource.html)"
#include "[llvm/Analysis/TargetLibraryInfo.h](TargetLibraryInfo%5F8h%5Fsource.html)"
#include "[llvm/IR/Function.h](IR%5F2Function%5F8h%5Fsource.html)"
#include "[llvm/IR/Module.h](IR%5F2Module%5F8h%5Fsource.html)"
#include "[llvm/Transforms/Utils/BuildLibCalls.h](BuildLibCalls%5F8h%5Fsource.html)"
#include "[llvm/Transforms/Utils/Local.h](Transforms%5F2Utils%5F2Local%5F8h%5Fsource.html)"

Go to the source code of this file.

Macros
#define DEBUG_TYPE "inferattrs"
Functions
static bool inferAllPrototypeAttributes (Module &M, function_ref< TargetLibraryInfo &(Function &)> GetTLI)

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "inferattrs"

Definition at line 17 of file InferFunctionAttrs.cpp.

Function Documentation

inferAllPrototypeAttributes()

bool inferAllPrototypeAttributes ( Module & M, function_ref< TargetLibraryInfo &(Function &)> GetTLI ) static

Definition at line 19 of file InferFunctionAttrs.cpp.

References Changed, F, llvm::inferAttributesFromOthers(), and llvm::inferNonMandatoryLibFuncAttrs().

Referenced by llvm::InferFunctionAttrsPass::run().