projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[DSE] Enable removal of lifetime intrinsics in terminating blocks"
[oota-llvm.git]
/
include
/
llvm-c
/
Analysis.h
diff --git
a/include/llvm-c/Analysis.h
b/include/llvm-c/Analysis.h
index e8f27871cc1a92d85c8a2408d26584ca50cef598..f0bdddc50ab76385bcb8044a25d508d8e4ff74e8 100644
(file)
--- a/
include/llvm-c/Analysis.h
+++ b/
include/llvm-c/Analysis.h
@@
-25,6
+25,12
@@
extern "C" {
#endif
extern "C" {
#endif
+/**
+ * @defgroup LLVMCAnalysis Analysis
+ * @ingroup LLVMC
+ *
+ * @{
+ */
typedef enum {
LLVMAbortProcessAction, /* verifier will print to stderr and abort() */
typedef enum {
LLVMAbortProcessAction, /* verifier will print to stderr and abort() */
@@
-36,13
+42,21
@@
typedef enum {
/* Verifies that a module is valid, taking the specified action if not.
Optionally returns a human-readable description of any invalid constructs.
OutMessage must be disposed with LLVMDisposeMessage. */
/* Verifies that a module is valid, taking the specified action if not.
Optionally returns a human-readable description of any invalid constructs.
OutMessage must be disposed with LLVMDisposeMessage. */
-
int
LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
- char **OutMessage);
+
LLVMBool
LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
+
char **OutMessage);
/* Verifies that a single function is valid, taking the specified action. Useful
for debugging. */
/* Verifies that a single function is valid, taking the specified action. Useful
for debugging. */
-
int
LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
+
LLVMBool
LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
+/* Open up a ghostview window that displays the CFG of the current function.
+ Useful for debugging. */
+void LLVMViewFunctionCFG(LLVMValueRef Fn);
+void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
+
+/**
+ * @}
+ */
#ifdef __cplusplus
}
#ifdef __cplusplus
}