struct AANoCapture
Declaration
struct AANoCapture : public IRAttribute { /* full declaration omitted */ };Description
An abstract interface for all nocapture attributes.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3806
Inherits from: IRAttribute
Member Variables
- public static const char ID
- Unique ID (due to the unique address)
Method Overview
- public AANoCapture(const llvm::IRPosition & IRP, llvm::Attributor & A)
- public static bool classof(const llvm::AbstractAttribute * AA)
- public static llvm::AANoCapture & createForPosition(const llvm::IRPosition & IRP, llvm::Attributor & A)
- public const char * getIdAddr() const
- public const std::string getName() const
- public bool isAssumedNoCapture() const
- public bool isAssumedNoCaptureMaybeReturned() const
- public bool isKnownNoCapture() const
- public bool isKnownNoCaptureMaybeReturned() const
Methods
¶AANoCapture(const llvm::IRPosition& IRP,
llvm::Attributor& A)
AANoCapture(const llvm::IRPosition& IRP,
llvm::Attributor& A)Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3810
Parameters
- const llvm::IRPosition& IRP
- llvm::Attributor& A
¶static bool classof(
const llvm::AbstractAttribute* AA)
static bool classof(
const llvm::AbstractAttribute* AA)Description
This function should return true if the type of the \p AA is AANoCapture
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3859
Parameters
- const llvm::AbstractAttribute* AA
¶static llvm::AANoCapture& createForPosition(
const llvm::IRPosition& IRP,
llvm::Attributor& A)
static llvm::AANoCapture& createForPosition(
const llvm::IRPosition& IRP,
llvm::Attributor& A)Description
Create an abstract attribute view for the position \p IRP.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3850
Parameters
- const llvm::IRPosition& IRP
- llvm::Attributor& A
¶const char* getIdAddr() const
const char* getIdAddr() constDescription
See AbstractAttribute::getIdAddr()
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3856
¶const std::string getName() const
const std::string getName() constDescription
See AbstractAttribute::getName()
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3853
¶bool isAssumedNoCapture() const
bool isAssumedNoCapture() constDescription
Return true if we assume that the underlying value is not captured in its respective scope.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3835
¶bool isAssumedNoCaptureMaybeReturned() const
bool isAssumedNoCaptureMaybeReturned() constDescription
Return true if we assume that the underlying value is not captured in its respective scope but we allow it to escape through a "return".
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3845
¶bool isKnownNoCapture() const
bool isKnownNoCapture() constDescription
Return true if we know that the underlying value is not captured in its respective scope.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3831
¶bool isKnownNoCaptureMaybeReturned() const
bool isKnownNoCaptureMaybeReturned() constDescription
Return true if we know that the underlying value is not captured in its respective scope but we allow it to escape through a "return".
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:3839