LLVM
8.0.1
|
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... | |
Definition at line 1730 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 1735 of file Attributes.cpp.
Referenced by InlineCallIfPossible(), and llvm::InlinerPass::run().
AttrBuilder llvm::AttributeFuncs::typeIncompatible | ( | Type * | Ty | ) |
Which attributes cannot be applied to a type.
Definition at line 1575 of file Attributes.cpp.
References llvm::AttrBuilder::addAttribute(), llvm::AttrBuilder::addDereferenceableAttr(), llvm::AttrBuilder::addDereferenceableOrNullAttr(), llvm::Attribute::ByVal, llvm::Attribute::InAlloca, llvm::Type::isIntegerTy(), llvm::Type::isPointerTy(), llvm::Attribute::Nest, llvm::Attribute::NoAlias, llvm::Attribute::NoCapture, llvm::Attribute::NonNull, llvm::Attribute::ReadNone, llvm::Attribute::ReadOnly, llvm::Attribute::SExt, llvm::Attribute::StructRet, and llvm::Attribute::ZExt.
Referenced by createClone(), findInitTrampoline(), getRetComponentType(), INITIALIZE_PASS(), isFuncOrArgAttr(), and llvm::promoteCall().