LLVM 20.0.0git
|
Pass which forces specific function attributes into the IR, primarily as a debugging tool. More...
#include "llvm/Transforms/IPO/ForceFunctionAttrs.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
Public Member Functions inherited from llvm::PassInfoMixin< ForceFunctionAttrsPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ForceFunctionAttrsPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Pass which forces specific function attributes into the IR, primarily as a debugging tool.
Definition at line 23 of file ForceFunctionAttrs.h.
PreservedAnalyses ForceFunctionAttrsPass::run | ( | Module & | M, |
ModuleAnalysisManager & | |||
) |
Definition at line 89 of file ForceFunctionAttrs.cpp.
References llvm::PreservedAnalyses::all(), llvm::Attribute::canUseAsFnAttr(), CSVFilePath, llvm::errs(), F, forceAttributes(), llvm::Attribute::getAttrKindFromName(), llvm::MemoryBuffer::getFileOrSTDIN(), llvm::MemoryBuffer::getMemBuffer(), hasForceAttributes(), llvm::line_iterator::is_at_end(), llvm::line_iterator::line_number(), llvm::PreservedAnalyses::none(), llvm::Attribute::None, llvm::report_fatal_error(), and llvm::StringRef::split().