aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/Transforms
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2010-03-11 23:06:07 +0000
committerNate Begeman <natebegeman@mac.com>2010-03-11 23:06:07 +0000
commitef295e6e0720ab43cfddb3040d659af56089939f (patch)
treef1c8578721ba3a7a1fd77783de66aeaf4447a987 /include/llvm-c/Transforms
parentfb2a90f8d0168277b2bb749fcc1c70b006ffd4e4 (diff)
downloadexternal_llvm-ef295e6e0720ab43cfddb3040d659af56089939f.zip
external_llvm-ef295e6e0720ab43cfddb3040d659af56089939f.tar.gz
external_llvm-ef295e6e0720ab43cfddb3040d659af56089939f.tar.bz2
Add a handful of additional useful pass manager things to the C API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Transforms')
-rw-r--r--include/llvm-c/Transforms/Scalar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm-c/Transforms/Scalar.h b/include/llvm-c/Transforms/Scalar.h
index 2c5a371..786b6e9 100644
--- a/include/llvm-c/Transforms/Scalar.h
+++ b/include/llvm-c/Transforms/Scalar.h
@@ -79,6 +79,10 @@ void LLVMAddSCCPPass(LLVMPassManagerRef PM);
/** See llvm::createScalarReplAggregatesPass function. */
void LLVMAddScalarReplAggregatesPass(LLVMPassManagerRef PM);
+/** See llvm::createScalarReplAggregatesPass function. */
+void LLVMAddScalarReplAggregatesPassWithThreshold(LLVMPassManagerRef PM,
+ int Threshold);
+
/** See llvm::createSimplifyLibCallsPass function. */
void LLVMAddSimplifyLibCallsPass(LLVMPassManagerRef PM);
@@ -91,6 +95,12 @@ void LLVMAddConstantPropagationPass(LLVMPassManagerRef PM);
/** See llvm::demotePromoteMemoryToRegisterPass function. */
void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM);
+/** See llvm::createVerifierPass function. */
+void LLVMAddVerifierPass(LLVMPassManagerRef PM);
+
+/** PM->add(new TargetData(M)) */
+void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M);
+
#ifdef __cplusplus
}
#endif /* defined(__cplusplus) */