Attribute

The Attribute Class has an enumeration of attributes that indicates how it should be treated by optimizations and code generation.

Here are the attributes used in Tiger Compiler, for more information about Attributes you can go here.

Attribute::NoUnwind:

This attribute guarantees that the function won’t read the calling sequence with the stack unwinder. Then it will not use the unwind stack.

Attribute::InlineHint:

This attribute says that inlining is desirable, then it will be done when possible.