Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |List of all members
llvm::InstSimplifyPass Class Reference

Run instruction simplification across each instruction in the function.More...

#include "llvm/Transforms/Scalar/InstSimplifyPass.h"

Inheritance diagram for llvm::InstSimplifyPass:
Inheritance graph
[legend]

Public Member Functions

PreservedAnalyses run (Function &F,FunctionAnalysisManager &AM)
 
- Public Member Functions inherited fromllvm::PassInfoMixin< InstSimplifyPass >
void printPipeline (raw_ostream &OS,function_ref<StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited fromllvm::PassInfoMixin< InstSimplifyPass >
staticStringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Run instruction simplification across each instruction in the function.

Instruction simplification has useful constraints in some contexts:

Many passes use instruction simplification as a library facility, but it may also be useful (in tests and other contexts) to have access to this very restricted transform at a pass granularity. However, for a much more powerful and comprehensive peephole optimization engine, see theinstcombine pass instead.

Definition at line32 of fileInstSimplifyPass.h.

Member Function Documentation

◆ run()

PreservedAnalyses InstSimplifyPass::run(FunctionF,
FunctionAnalysisManagerAM 
)

Definition at line123 of fileInstSimplifyPass.cpp.

Referencesllvm::PreservedAnalyses::all(),DL,F,llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(),llvm::PreservedAnalyses::preserveSet(), andrunImpl().


The documentation for this class was generated from the following files:

Generated on Thu Jul 17 2025 19:50:03 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp