Describes how many bytes are dead when a pointer argument is returned from a call. Used by the dead_on_return parameter attribute.

Synopsis

Declared in <llvm/IR/Attributes.h>

class DeadOnReturnInfo;

Member Functions

Name

Description

DeadOnReturnInfo [constructor]

Constructors

coversAllReachableMemory

Return true if all memory reachable through the pointer is dead on return.

getNumberOfDeadBytes

Return the number of bytes that are dead on return from the call.

isZeroSized

Return true if zero bytes are marked dead on return.

toIntValue

Encode this info as an integer for attribute storage.

Static Member Functions

Name

Description

createFromIntValue

Decode a packed integer encoding of dead‐on‐return information.

Created with MrDocs