77 if (DebugOS && OutMessages)
78 *DebugOS << MsgsOS.
str();
84 *OutMessages = strdup(MsgsOS.
str().c_str());
Module.h This file contains the declarations for the Module class.
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
A global registry used in conjunction with static constructors to make pluggable components (like tar...
This class implements an extremely fast bulk output stream that can only output to a stream.
A raw_ostream that writes to an std::string.
std::string & str()
Returns the string's reference.
LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, char **OutMessages)
void LLVMViewFunctionCFG(LLVMValueRef Fn)
LLVMVerifierFailureAction
void LLVMViewFunctionCFGOnly(LLVMValueRef Fn)
LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action)
struct LLVMOpaqueValue * LLVMValueRef
Represents an individual value in LLVM IR.
struct LLVMOpaqueModule * LLVMModuleRef
The top-level container for all other LLVM Intermediate Representation (IR) objects.
This is an optimization pass for GlobalISel generic memory operations.
void initializeLCSSAVerificationPassPass(PassRegistry &)
void initializeRegionViewerPass(PassRegistry &)
void initializeDXILResourceWrapperPassPass(PassRegistry &)
void initializeTypeBasedAAWrapperPassPass(PassRegistry &)
void initializeTargetTransformInfoWrapperPassPass(PassRegistry &)
void initializeLoopInfoWrapperPassPass(PassRegistry &)
void initializeCallGraphViewerPass(PassRegistry &)
void initializeMemorySSAWrapperPassPass(PassRegistry &)
void initializeMemoryDependenceWrapperPassPass(PassRegistry &)
void initializeDependenceAnalysisWrapperPassPass(PassRegistry &)
void initializeCycleInfoWrapperPassPass(PassRegistry &)
bool verifyFunction(const Function &F, raw_ostream *OS=nullptr)
Check a function for errors, useful for use when debugging a pass.
void initializeDomPrinterWrapperPassPass(PassRegistry &)
void initializePostDomViewerWrapperPassPass(PassRegistry &)
void initializeRegionOnlyPrinterPass(PassRegistry &)
void initializeLazyBranchProbabilityInfoPassPass(PassRegistry &)
void initializePhiValuesWrapperPassPass(PassRegistry &)
void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry &)
void initializeModuleSummaryIndexWrapperPassPass(PassRegistry &)
void initializeRegionInfoPassPass(PassRegistry &)
void initializeDomViewerWrapperPassPass(PassRegistry &)
void initializeDominanceFrontierWrapperPassPass(PassRegistry &)
void initializeScopedNoAliasAAWrapperPassPass(PassRegistry &)
void initializeRegionOnlyViewerPass(PassRegistry &)
void initializeCallGraphWrapperPassPass(PassRegistry &)
void initializeScalarEvolutionWrapperPassPass(PassRegistry &)
void initializeAAResultsWrapperPassPass(PassRegistry &)
void initializeOptimizationRemarkEmitterWrapperPassPass(PassRegistry &)
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
void initializeIVUsersWrapperPassPass(PassRegistry &)
void initializeSCEVAAWrapperPassPass(PassRegistry &)
void initializeCallGraphDOTPrinterPass(PassRegistry &)
void initializePostDominatorTreeWrapperPassPass(PassRegistry &)
void initializePostDomOnlyPrinterWrapperPassPass(PassRegistry &)
void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry &)
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
void initializeIRSimilarityIdentifierWrapperPassPass(PassRegistry &)
Attribute unwrap(LLVMAttributeRef Attr)
void initializeStackSafetyGlobalInfoWrapperPassPass(PassRegistry &)
void initializeBasicAAWrapperPassPass(PassRegistry &)
void initializeDomOnlyPrinterWrapperPassPass(PassRegistry &)
void initializeStackSafetyInfoWrapperPassPass(PassRegistry &)
void initializeGlobalsAAWrapperPassPass(PassRegistry &)
void initializePostDomPrinterWrapperPassPass(PassRegistry &)
void initializeDomOnlyViewerWrapperPassPass(PassRegistry &)
void initializeLazyBlockFrequencyInfoPassPass(PassRegistry &)
void initializeLazyValueInfoWrapperPassPass(PassRegistry &)
void initializePostDomOnlyViewerWrapperPassPass(PassRegistry &)
void initializeRegionPrinterPass(PassRegistry &)
void initializeAnalysis(PassRegistry &)
Initialize all passes linked into the Analysis library.
bool verifyModule(const Module &M, raw_ostream *OS=nullptr, bool *BrokenDebugInfo=nullptr)
Check a module for errors.