Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/CodeGen/
DTargetOptionsTest.cpp53 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(TM.get()); in targetOptionsTest() local
55 TargetPassConfig *TPC = LLVMTM->createPassConfig(PM); in targetOptionsTest()
DAsmPrinterDwarfTest.cpp401 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(&AP->TM); in init() local
403 PM.add(new MachineModuleInfoWrapperPass(LLVMTM)); in init()
407 M->setDataLayout(LLVMTM->createDataLayout()); in init()
DPassManagerTest.cpp208 LLVMTargetMachine *LLVMTM = static_cast<LLVMTargetMachine *>(TM.get()); in TEST_F() local
222 MAM.registerPass([&] { return MachineModuleAnalysis(LLVMTM); }); in TEST_F()
/external/llvm/unittests/MI/
DLiveIntervalTest.cpp71 const LLVMTargetMachine &LLVMTM = static_cast<const LLVMTargetMachine&>(TM); in parseMIR() local
72 LLVMTM.addMachineModuleInfo(PM); in parseMIR()
73 LLVMTM.addMachineFunctionAnalysis(PM, MIR.get()); in parseMIR()
/external/llvm/tools/llc/
Dllc.cpp414 LLVMTargetMachine &LLVMTM = static_cast<LLVMTargetMachine&>(*Target); in compileModule() local
415 TargetPassConfig *TPC = LLVMTM.createPassConfig(PM); in compileModule()
417 LLVMTM.addMachineModuleInfo(PM); in compileModule()
418 LLVMTM.addMachineFunctionAnalysis(PM, MIR.get()); in compileModule()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp595 LLVMTargetMachine &LLVMTM = static_cast<LLVMTargetMachine &>(*Target); in compileModule() local
597 new MachineModuleInfoWrapperPass(&LLVMTM); in compileModule()
607 TargetPassConfig &TPC = *LLVMTM.createPassConfig(PM); in compileModule()
635 const_cast<TargetLoweringObjectFile *>(LLVMTM.getObjFileLowering()) in compileModule()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DAssembler.cpp161 const LLVMTargetMachine &LLVMTM = static_cast<const LLVMTargetMachine &>(TM); in getFunctionReservedRegs() local
163 std::make_unique<MachineModuleInfoWrapperPass>(&LLVMTM); in getFunctionReservedRegs()