summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetMachine.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-03 05:12:41 +0000
committerAndrew Trick <atrick@apple.com>2012-02-03 05:12:41 +0000
commitccb673659a61faee2b9bbe3a4ab109c0b53f3f01 (patch)
tree469a982f7f995cc35017847f086a41dd0b3c31b1 /llvm/lib/Target/Mips/MipsTargetMachine.h
parent808a7a6ce626a180c756424ad61986979da386b1 (diff)
downloadbcm5719-llvm-ccb673659a61faee2b9bbe3a4ab109c0b53f3f01.tar.gz
bcm5719-llvm-ccb673659a61faee2b9bbe3a4ab109c0b53f3f01.zip
Added TargetPassConfig. The first little step toward configuring codegen passes.
Allows command line overrides to be centralized in LLVMTargetMachine.cpp. LLVMTargetMachine can intercept common passes and give precedence to command line overrides. Allows adding "internal" target configuration options without touching TargetOptions. Encapsulates the PassManager. Provides a good point to initialize all CodeGen passes so that Pass ID's can be used in APIs. Allows modifying the target configuration hooks without rebuilding the world. llvm-svn: 149672
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.h')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetMachine.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.h b/llvm/lib/Target/Mips/MipsTargetMachine.h
index 6e88956f655..b2a609c5c52 100644
--- a/llvm/lib/Target/Mips/MipsTargetMachine.h
+++ b/llvm/lib/Target/Mips/MipsTargetMachine.h
@@ -68,10 +68,8 @@ namespace llvm {
}
// Pass Pipeline Configuration
- virtual bool addInstSelector(PassManagerBase &PM);
- virtual bool addPreEmitPass(PassManagerBase &PM);
- virtual bool addPreRegAlloc(PassManagerBase &PM);
- virtual bool addPostRegAlloc(PassManagerBase &);
+ virtual TargetPassConfig *createPassConfig(PassManagerBase &PM,
+ bool DisableVerify);
virtual bool addCodeEmitter(PassManagerBase &PM,
JITCodeEmitter &JCE);
OpenPOWER on IntegriCloud