summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit5daa235c91971e4f5e5afb1219bfbce2a5e95baf (patch)
tree3f4629b703186d0f874d8a2e471eb4345819717a /llvm/include/llvm-c/Transforms
parentcdb31d313f343cffd44984328bd28f7d83cb8544 (diff)
downloadbcm5719-llvm-5daa235c91971e4f5e5afb1219bfbce2a5e95baf.tar.gz
bcm5719-llvm-5daa235c91971e4f5e5afb1219bfbce2a5e95baf.zip
Add a handful of additional useful pass manager things to the C API
llvm-svn: 98296
Diffstat (limited to 'llvm/include/llvm-c/Transforms')
-rw-r--r--llvm/include/llvm-c/Transforms/Scalar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Transforms/Scalar.h b/llvm/include/llvm-c/Transforms/Scalar.h
index 2c5a3714d4d..786b6e95cbd 100644
--- a/llvm/include/llvm-c/Transforms/Scalar.h
+++ b/llvm/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) */
OpenPOWER on IntegriCloud