D | MCSubtargetInfo.cpp | 20 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures() argument 24 return Features.getFeatureBits(CPU, ProcDesc, ProcFeatures); in getFeatures() 27 void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef FS) { in InitMCProcessorInfo() argument 28 FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures); in InitMCProcessorInfo() 29 if (!CPU.empty()) in InitMCProcessorInfo() 30 CPUSchedModel = &getSchedModelForCPU(CPU); in InitMCProcessorInfo() 35 void MCSubtargetInfo::setDefaultFeatures(StringRef CPU, StringRef FS) { in setDefaultFeatures() argument 36 FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures); in setDefaultFeatures() 45 : TargetTriple(TT), CPU(C), ProcFeatures(PF), ProcDesc(PD), in MCSubtargetInfo() 48 InitMCProcessorInfo(CPU, FS); in MCSubtargetInfo() [all …]
|