89 if (DebugOS && OutMessages)
90 *DebugOS << MsgsOS.
str();
96 *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 LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action)
void LLVMViewFunctionCFG(LLVMValueRef Fn)
LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, char **OutMessages)
void LLVMViewFunctionCFGOnly(LLVMValueRef Fn)
LLVMVerifierFailureAction
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.
LLVM_ABI void initializeSCEVAAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeLazyBranchProbabilityInfoPassPass(PassRegistry &)
LLVM_ABI void initializePostDomOnlyViewerWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeLCSSAVerificationPassPass(PassRegistry &)
LLVM_ABI void initializePostDomViewerWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDependenceAnalysisWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeBasicAAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeTypeBasedAAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeUniformityInfoWrapperPassPass(PassRegistry &)
LLVM_ABI bool verifyFunction(const Function &F, raw_ostream *OS=nullptr)
Check a function for errors, useful for use when debugging a pass.
LLVM_ABI void initializeRegionViewerPass(PassRegistry &)
LLVM_ABI void initializeDomOnlyPrinterWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDXILMetadataAnalysisWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDomViewerWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeRegionInfoPassPass(PassRegistry &)
LLVM_ABI void initializeLazyBFIPassPass(PassRegistry &)
LLVM_ABI void initializeProfileSummaryInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeOptimizationRemarkEmitterWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeStackSafetyGlobalInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeMemorySSAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeCallGraphDOTPrinterPass(PassRegistry &)
LLVM_ABI void initializeCallGraphWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeRegionOnlyPrinterPass(PassRegistry &)
LLVM_ABI void initializeScalarEvolutionWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeStackSafetyInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDXILResourceBindingWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeScopedNoAliasAAWrapperPassPass(PassRegistry &)
LLVM_ABI void report_fatal_error(Error Err, bool gen_crash_diag=true)
LLVM_ABI void initializeDomOnlyViewerWrapperPassPass(PassRegistry &)
LLVM_ABI void initializePostDomPrinterWrapperPassPass(PassRegistry &)
LLVM_ABI void initializePostDominatorTreeWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeExternalAAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeRegionOnlyViewerPass(PassRegistry &)
LLVM_ABI raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
LLVM_ABI void initializePostDomOnlyPrinterWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeIRSimilarityIdentifierWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeCycleInfoWrapperPassPass(PassRegistry &)
Attribute unwrap(LLVMAttributeRef Attr)
LLVM_ABI void initializeDominanceFrontierWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeAssumptionCacheTrackerPass(PassRegistry &)
LLVM_ABI void initializeTargetTransformInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeAAResultsWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDXILResourceTypeWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeIVUsersWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeTargetLibraryInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeCallGraphViewerPass(PassRegistry &)
LLVM_ABI void initializeImmutableModuleSummaryIndexWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDXILResourceWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeRegionPrinterPass(PassRegistry &)
LLVM_ABI void initializeLoopInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeStaticDataProfileInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeLazyValueInfoWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeLazyBlockFrequencyInfoPassPass(PassRegistry &)
LLVM_ABI void initializeGlobalsAAWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeDomPrinterWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeMemoryDependenceWrapperPassPass(PassRegistry &)
LLVM_ABI void initializePhiValuesWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeModuleSummaryIndexWrapperPassPass(PassRegistry &)
LLVM_ABI void initializeAnalysis(PassRegistry &)
Initialize all passes linked into the Analysis library.
LLVM_ABI bool verifyModule(const Module &M, raw_ostream *OS=nullptr, bool *BrokenDebugInfo=nullptr)
Check a module for errors.