New PM pass that inserts patchable prologue markers for the "patchable‐function" and "patchable‐function‐entry" attributes.

Synopsis

Declared in <llvm/CodeGen/PatchableFunction.h>

class PatchableFunctionPass
    : public RequiredPassInfoMixin<PatchableFunctionPass>

Base Classes

Name

Description

RequiredPassInfoMixin<PatchableFunctionPass>

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

Member Functions

Name

Description

getRequiredProperties

Return the properties this pass requires of the machine function.

run

Insert patchable function markers into MF when requested by attributes.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs