[#llvm-RemoveLoadsIntoFakeUsesPass] = xref:llvm.adoc[llvm]::RemoveLoadsIntoFakeUsesPass :relfileprefix: ../ :mrdocs: New PM pass that removes loads that are only used by FAKE_USE instructions. == Synopsis Declared in `<llvm/CodeGen/RemoveLoadsIntoFakeUses.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class RemoveLoadsIntoFakeUsesPass : public xref:llvm/OptionalPassInfoMixin-0246.adoc[OptionalPassInfoMixin<RemoveLoadsIntoFakeUsesPass>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/OptionalPassInfoMixin-0246.adoc[OptionalPassInfoMixin<RemoveLoadsIntoFakeUsesPass>]` | A CRTP mix‐in for passes that can be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/RemoveLoadsIntoFakeUsesPass/getRequiredProperties.adoc[`getRequiredProperties`] | Return the properties this pass requires of the machine function. | xref:llvm/RemoveLoadsIntoFakeUsesPass/run.adoc[`run`] | Remove loads into FAKE_USE instructions in `MF.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/RemoveLoadsIntoFakeUsesPass/isRequired.adoc[`isRequired`] | Return false; optional passes may be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#