LLVM  5.0.0
Functions
llvm::AttributeFuncs Namespace Reference

Functions

AttrBuilder typeIncompatible (Type *Ty)
 Which attributes cannot be applied to a type. More...
 
bool areInlineCompatible (const Function &Caller, const Function &Callee)
 
void mergeAttributesForInlining (Function &Caller, const Function &Callee)
 Merge caller's and callee's attributes. More...
 

Function Documentation

bool llvm::AttributeFuncs::areInlineCompatible ( const Function &  Caller,
const Function &  Callee 
)
Returns
Return true if the two functions have compatible target-independent attributes for inlining purposes.

Definition at line 1677 of file Attributes.cpp.

Referenced by functionsHaveCompatibleAttributes().

void llvm::AttributeFuncs::mergeAttributesForInlining ( Function &  Caller,
const Function &  Callee 
)

Merge caller's and callee's attributes.

Definition at line 1682 of file Attributes.cpp.

Referenced by InlineCallIfPossible().

AttrBuilder llvm::AttributeFuncs::typeIncompatible ( Type *  Ty)