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:2306
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)
- public static llvm::AANoCapture & createForPosition(const llvm::IRPosition & IRP, llvm::Attributor & A)
- public bool isAssumedNoCapture() const
- public bool isAssumedNoCaptureMaybeReturned() const
- public bool isKnownNoCapture() const
- public bool isKnownNoCaptureMaybeReturned() const
Methods
¶AANoCapture(const llvm::IRPosition& IRP)
AANoCapture(const llvm::IRPosition& IRP)Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2310
Parameters
- const llvm::IRPosition& IRP
¶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:2350
Parameters
- const llvm::IRPosition& IRP
- llvm::Attributor& A
¶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:2335
¶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:2345
¶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:2331
¶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:2339