LLVM  8.0.1
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

◆ areInlineCompatible()

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 1730 of file Attributes.cpp.

Referenced by functionsHaveCompatibleAttributes().

◆ mergeAttributesForInlining()

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

Merge caller's and callee's attributes.

Definition at line 1735 of file Attributes.cpp.

Referenced by InlineCallIfPossible(), and llvm::InlinerPass::run().

◆ typeIncompatible()

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