summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/TargetMachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm-c/TargetMachine.h')
-rw-r--r--llvm/include/llvm-c/TargetMachine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/TargetMachine.h b/llvm/include/llvm-c/TargetMachine.h
index 46de054e78b..d4993e7e6da 100644
--- a/llvm/include/llvm-c/TargetMachine.h
+++ b/llvm/include/llvm-c/TargetMachine.h
@@ -137,6 +137,9 @@ LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleR
disposed with LLVMDisposeMessage. */
char* LLVMGetDefaultTargetTriple(void);
+/** Adds the target-specific analysis passes to the pass manager. */
+void LLVMAddAnalysisPasses(LLVMTargetMachineRef T, LLVMPassManagerRef PM);
+
#ifdef __cplusplus
}
#endif
OpenPOWER on IntegriCloud