mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
Add getters for the MIPS TargetTransform classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165670 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d140af6c23
commit
6f9e66e1be
@ -40,6 +40,7 @@ class MipsTargetMachine : public LLVMTargetMachine {
|
||||
MipsJITInfo JITInfo;
|
||||
MipsELFWriterInfo ELFWriterInfo;
|
||||
ScalarTargetTransformImpl STTI;
|
||||
VectorTargetTransformInfo VTTI;
|
||||
|
||||
public:
|
||||
MipsTargetMachine(const Target &T, StringRef TT,
|
||||
@ -76,6 +77,12 @@ public:
|
||||
virtual const MipsELFWriterInfo *getELFWriterInfo() const {
|
||||
return &ELFWriterInfo;
|
||||
}
|
||||
virtual const ScalarTargetTransformInfo *getScalarTargetTransformInfo()const {
|
||||
return &STTI;
|
||||
}
|
||||
virtual const VectorTargetTransformInfo *getVectorTargetTransformInfo()const {
|
||||
return &VTTI;
|
||||
}
|
||||
|
||||
// Pass Pipeline Configuration
|
||||
virtual TargetPassConfig *createPassConfig(PassManagerBase &PM);
|
||||
|
Loading…
Reference in New Issue
Block a user