Searched refs:TMBuilder (Results 1 – 8 of 8) sorted by relevance
/external/llvm/include/llvm/LTO/legacy/ |
D | ThinLTOCodeGenerator.h | 160 void setCpu(std::string Cpu) { TMBuilder.MCpu = std::move(Cpu); } in setCpu() 163 void setAttr(std::string MAttr) { TMBuilder.MAttr = std::move(MAttr); } in setAttr() 167 TMBuilder.Options = std::move(Options); in setTargetOptions() 172 TMBuilder.RelocModel = Model; in setCodePICModel() 177 TMBuilder.CGOptLevel = CGOptLevel; in setCodeGenOptLevel() 245 TargetMachineBuilder TMBuilder;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | JITTargetMachineBuilder.cpp | 26 JITTargetMachineBuilder TMBuilder((Triple(sys::getProcessTriple()))); in detectHost() 34 TMBuilder.getFeatures().AddFeature(Feature.first(), Feature.second); in detectHost() 36 TMBuilder.setCPU(llvm::sys::getHostCPUName()); in detectHost() 38 return TMBuilder; in detectHost()
|
/external/llvm-project/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 336 bool Freestanding, const TargetMachineBuilder &TMBuilder) { in ModuleCacheEntry() argument 351 Conf.Options = TMBuilder.Options; in ModuleCacheEntry() 352 Conf.CPU = TMBuilder.MCpu; in ModuleCacheEntry() 353 Conf.MAttrs.push_back(TMBuilder.MAttr); in ModuleCacheEntry() 354 Conf.RelocModel = TMBuilder.RelocModel; in ModuleCacheEntry() 355 Conf.CGOptLevel = TMBuilder.CGOptLevel; in ModuleCacheEntry() 515 static void initTMBuilder(TargetMachineBuilder &TMBuilder, in initTMBuilder() argument 519 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder() 521 TMBuilder.MCpu = "core2"; in initTMBuilder() 523 TMBuilder.MCpu = "yonah"; in initTMBuilder() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 320 bool Freestanding, const TargetMachineBuilder &TMBuilder) { in ModuleCacheEntry() argument 335 Conf.Options = TMBuilder.Options; in ModuleCacheEntry() 336 Conf.CPU = TMBuilder.MCpu; in ModuleCacheEntry() 337 Conf.MAttrs.push_back(TMBuilder.MAttr); in ModuleCacheEntry() 338 Conf.RelocModel = TMBuilder.RelocModel; in ModuleCacheEntry() 339 Conf.CGOptLevel = TMBuilder.CGOptLevel; in ModuleCacheEntry() 491 static void initTMBuilder(TargetMachineBuilder &TMBuilder, in initTMBuilder() argument 495 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder() 497 TMBuilder.MCpu = "core2"; in initTMBuilder() 499 TMBuilder.MCpu = "yonah"; in initTMBuilder() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/ |
D | ThinLTOCodeGenerator.h | 200 void setCpu(std::string Cpu) { TMBuilder.MCpu = std::move(Cpu); } in setCpu() 203 void setAttr(std::string MAttr) { TMBuilder.MAttr = std::move(MAttr); } in setAttr() 207 TMBuilder.Options = std::move(Options); in setTargetOptions() 216 TMBuilder.RelocModel = Model; in setCodePICModel() 221 TMBuilder.CGOptLevel = CGOptLevel; in setCodeGenOptLevel() 301 TargetMachineBuilder TMBuilder;
|
/external/llvm-project/llvm/include/llvm/LTO/legacy/ |
D | ThinLTOCodeGenerator.h | 200 void setCpu(std::string Cpu) { TMBuilder.MCpu = std::move(Cpu); } in setCpu() 203 void setAttr(std::string MAttr) { TMBuilder.MAttr = std::move(MAttr); } in setAttr() 207 TMBuilder.Options = std::move(Options); in setTargetOptions() 216 TMBuilder.RelocModel = Model; in setCodePICModel() 221 TMBuilder.CGOptLevel = CGOptLevel; in setCodeGenOptLevel() 301 TargetMachineBuilder TMBuilder;
|
/external/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 420 static void initTMBuilder(TargetMachineBuilder &TMBuilder, in initTMBuilder() argument 424 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder() 426 TMBuilder.MCpu = "core2"; in initTMBuilder() 428 TMBuilder.MCpu = "yonah"; in initTMBuilder() 430 TMBuilder.MCpu = "cyclone"; in initTMBuilder() 432 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder() 443 initTMBuilder(TMBuilder, Triple(TheTriple)); in addModule() 448 assert(TMBuilder.TheTriple.str() == in addModule() 614 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in internalize() 620 computeGUIDPreservedSymbols(PreservedSymbols, TMBuilder.TheTriple); in internalize() [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | JITTargetMachineBuilder.cpp | 27 JITTargetMachineBuilder TMBuilder((Triple(sys::getProcessTriple()))); in detectHost() 35 TMBuilder.getFeatures().AddFeature(Feature.first(), Feature.second); in detectHost() 37 TMBuilder.setCPU(std::string(llvm::sys::getHostCPUName())); in detectHost() 39 return TMBuilder; in detectHost()
|