Return the deduced attributes in Attrs.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

virtual
void
getDeducedAttributes(
    Attributor& A,
    LLVMContext& Ctx,
    SmallVectorImpl<Attribute>& Attrs) const;

Parameters

Name

Description

A

The fixpoint analysis framework that orchestrates the attribute deduction.

Ctx

This is an important class for using LLVM in a threaded context. It (opaquely) owns and manages the core "global" data of LLVM's core infrastructure, including the type and constant uniquing tables. LLVMContext itself provides no locking guarantees, so you should be careful to have one context per thread.

Attrs

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.

Created with MrDocs