[llvm-commits] [llvm] r165670 - /llvm/trunk/lib/Target/Mips/MipsTargetMachine.h
Nadav Rotem
nrotem at apple.com
Wed Oct 10 15:45:53 PDT 2012
Author: nadav
Date: Wed Oct 10 17:45:53 2012
New Revision: 165670
URL: http://llvm.org/viewvc/llvm-project?rev=165670&view=rev
Log:
Add getters for the MIPS TargetTransform classes
Modified:
llvm/trunk/lib/Target/Mips/MipsTargetMachine.h
Modified: llvm/trunk/lib/Target/Mips/MipsTargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsTargetMachine.h?rev=165670&r1=165669&r2=165670&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsTargetMachine.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsTargetMachine.h Wed Oct 10 17:45:53 2012
@@ -40,6 +40,7 @@
MipsJITInfo JITInfo;
MipsELFWriterInfo ELFWriterInfo;
ScalarTargetTransformImpl STTI;
+ VectorTargetTransformInfo VTTI;
public:
MipsTargetMachine(const Target &T, StringRef TT,
@@ -76,6 +77,12 @@
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);
More information about the llvm-commits
mailing list