New PM pass that inserts fentry calls into function prologues.

Synopsis

Declared in <llvm/CodeGen/FEntryInserter.h>

class FEntryInserterPass
    : public RequiredPassInfoMixin<FEntryInserterPass>

Description

When a function has the fentry‐call attribute set to true, this pass inserts an FENTRY_CALL instruction at the start of the entry block.

Base Classes

Name

Description

RequiredPassInfoMixin<FEntryInserterPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Insert an fentry call into MF when requested by function attributes.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs