psyclone.psyir.symbols.intrinsic_symbol#
This module contains the IntrinsicSymbol.
Classes#
IntrinsicSymbol: Symbol identifying a callable intrinsic routine.
- class psyclone.psyir.symbols.intrinsic_symbol.IntrinsicSymbol(name, intrinsic, **kwargs)[source]#
Symbol identifying a callable intrinsic routine.
- Parameters:
name (str) – name of the symbol.
intrinsic (
psyclone.psyir.nodes.IntrinsicCall.Intrinsic) – the intrinsic enum describing this Symbol.kwargs (unwrapped dict.) – additional keyword arguments provided by
psyclone.psyir.symbols.TypedSymbol
# TODO #2541: Currently name and the intrinsic should match, we really # just need the name, and make all the Intrinsic signature information # live inside the IntrinsicSymbol class.
Inheritance

- copy()[source]#
Create and return a copy of this object. Any references to the original will not be affected so the copy will not be referred to by any other object.
- Return type:
- Returns:
A symbol object with the same properties as this symbol object.
- property intrinsic#
- Returns:
the intrinsic enum describing this Symbol.
- Return type: