Home
last modified time | relevance | path

Searched refs:LLVMTM (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DTargetOptionsTest.cpp53 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(TM.get()); in targetOptionsTest() local
55 TargetPassConfig *TPC = LLVMTM->createPassConfig(PM); in targetOptionsTest()
H A DAsmPrinterDwarfTest.cpp403 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(&AP->TM); in init() local
405 PM.add(new MachineModuleInfoWrapperPass(LLVMTM)); in init()
409 M->setDataLayout(LLVMTM->createDataLayout()); in init()
H A DPassManagerTest.cpp209 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(TM.get()); in TEST_F() local
223 MAM.registerPass([&] { return MachineModuleAnalysis(LLVMTM); }); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp510 LLVMTargetMachine &LLVMTM) { in registerPartialPipelineCallback() argument
535 LLVMTM.getPassNameFromLegacyName(StartBefore); in registerPartialPipelineCallback()
537 LLVMTM.getPassNameFromLegacyName(StartAfter); in registerPartialPipelineCallback()
539 LLVMTM.getPassNameFromLegacyName(StopBefore); in registerPartialPipelineCallback()
541 LLVMTM.getPassNameFromLegacyName(StopAfter); in registerPartialPipelineCallback()
585 LLVMTargetMachine &LLVMTM) { in registerCodeGenCallback() argument
611 registerPartialPipelineCallback(PIC, LLVMTM); in registerCodeGenCallback()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp435 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(TM.get()); in parseReducerWorkItem() local
437 MMM->MMI = std::make_unique<MachineModuleInfo>(LLVMTM); in parseReducerWorkItem()
482 const LLVMTargetMachine *LLVMTM = in cloneReducerWorkItem() local
484 CloneMMM->MMI = std::make_unique<MachineModuleInfo>(LLVMTM); in cloneReducerWorkItem()
/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp674 LLVMTargetMachine &LLVMTM = static_cast<LLVMTargetMachine &>(*Target); in compileModule() local
676 new MachineModuleInfoWrapperPass(&LLVMTM); in compileModule()
686 TargetPassConfig &TPC = *LLVMTM.createPassConfig(PM); in compileModule()
711 const_cast<TargetLoweringObjectFile *>(LLVMTM.getObjFileLowering()) in compileModule()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp166 const LLVMTargetMachine &LLVMTM = static_cast<const LLVMTargetMachine &>(TM); in getFunctionReservedRegs() local
168 std::make_unique<MachineModuleInfoWrapperPass>(&LLVMTM); in getFunctionReservedRegs()