| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | MachineModuleInfo.cpp | 57 MachineModuleInfo::MachineModuleInfo(MachineModuleInfo &&MMI) in MachineModuleInfo() argument 58 : TM(std::move(MMI.TM)), in MachineModuleInfo() 59 Context(MMI.TM.getTargetTriple(), MMI.TM.getMCAsmInfo(), in MachineModuleInfo() 60 MMI.TM.getMCRegisterInfo(), MMI.TM.getMCSubtargetInfo(), nullptr, in MachineModuleInfo() 61 &MMI.TM.Options.MCOptions, false), in MachineModuleInfo() 62 MachineFunctions(std::move(MMI.MachineFunctions)) { in MachineModuleInfo() 63 Context.setObjectFileInfo(MMI.TM.getObjFileLowering()); in MachineModuleInfo() 64 ObjFileMMI = MMI.ObjFileMMI; in MachineModuleInfo() 65 CurCallSite = MMI.CurCallSite; in MachineModuleInfo() 66 ExternalContext = MMI.ExternalContext; in MachineModuleInfo() [all …]
|
| D | MachineOutliner.cpp | 438 MachineModuleInfo &MMI); 444 void initSizeRemarkInfo(const Module &M, const MachineModuleInfo &MMI, 450 emitInstrCountChangedRemark(const Module &M, const MachineModuleInfo &MMI, 654 MachineModuleInfo &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in createOutlinedFunction() local 655 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createOutlinedFunction() 878 MachineModuleInfo &MMI) { in populateMapper() argument 893 MachineFunction *MF = MMI.getMachineFunction(F); in populateMapper() 938 const Module &M, const MachineModuleInfo &MMI, in initSizeRemarkInfo() argument 943 MachineFunction *MF = MMI.getMachineFunction(F); in initSizeRemarkInfo() 954 const Module &M, const MachineModuleInfo &MMI, in emitInstrCountChangedRemark() argument [all …]
|
| D | MachineDebugify.cpp | 33 bool applyDebugifyMetadataToMachineFunction(MachineModuleInfo &MMI, in applyDebugifyMetadataToMachineFunction() argument 35 MachineFunction *MaybeMF = MMI.getMachineFunction(F); in applyDebugifyMetadataToMachineFunction() 177 MachineModuleInfo &MMI = in runOnModule() local 182 return applyDebugifyMetadataToMachineFunction(MMI, DIB, F); in runOnModule()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AVR/ |
| D | AVRAsmPrinter.cpp | 243 const AVRTargetMachine &TM = (const AVRTargetMachine &)MMI->getTarget(); in doFinalization() 292 const AVRTargetMachine &TM = (const AVRTargetMachine &)MMI->getTarget(); in emitStartOfAsmFile() 299 MMI->getContext().getOrCreateSymbol(StringRef("__tmp_reg__")), in emitStartOfAsmFile() 300 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); in emitStartOfAsmFile() 303 MMI->getContext().getOrCreateSymbol(StringRef("__zero_reg__")), in emitStartOfAsmFile() 304 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); in emitStartOfAsmFile() 307 MMI->getContext().getOrCreateSymbol(StringRef("__SREG__")), in emitStartOfAsmFile() 308 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); in emitStartOfAsmFile() 312 MMI->getContext().getOrCreateSymbol(StringRef("__SP_H__")), in emitStartOfAsmFile() 313 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); in emitStartOfAsmFile() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86IndirectThunks.cpp | 72 bool insertThunks(MachineModuleInfo &MMI, MachineFunction &MF); 83 bool insertThunks(MachineModuleInfo &MMI, MachineFunction &MF) { in insertThunks() 84 createThunkFunction(MMI, R11LVIThunkName); in insertThunks() 129 static bool runTIs(MachineModuleInfo &MMI, MachineFunction &MF, in runTIs() argument 133 Modified |= std::get<ThunkInserterT>(ThunkInserters).run(MMI, MF)...}; in runTIs() 140 bool RetpolineThunkInserter::insertThunks(MachineModuleInfo &MMI, in insertThunks() argument 142 if (MMI.getTarget().getTargetTriple().getArch() == Triple::x86_64) in insertThunks() 143 createThunkFunction(MMI, R11RetpolineName); in insertThunks() 147 createThunkFunction(MMI, Name); in insertThunks() 276 auto &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in runOnMachineFunction() local [all …]
|
| D | X86TargetObjectFile.cpp | 20 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 33 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 38 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 44 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
| D | X86TargetObjectFile.h | 23 MachineModuleInfo *MMI, 30 MachineModuleInfo *MMI) const override; 35 MachineModuleInfo *MMI,
|
| D | X86CallFrameOptimization.cpp | 475 auto MMI = Context.ArgStoreVector.begin(), MME = Context.ArgStoreVector.end(); in collectCallInfo() local 476 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo() 477 if (*MMI == nullptr) in collectCallInfo() 481 if (MMI == Context.ArgStoreVector.begin()) in collectCallInfo() 486 for (; MMI != MME; ++MMI) in collectCallInfo() 487 if (*MMI != nullptr) in collectCallInfo()
|
| D | X86AsmPrinter.cpp | 229 MMI->getObjFileInfo<MachineModuleInfoMachO>().getGVStubEntry(Sym); in PrintSymbolOperand() 768 MCSection *Nt = MMI->getContext().getELFSection( in emitStartOfAsmFile() 796 MCSymbol *S = MMI->getContext().getOrCreateSymbol(StringRef("@feat.00")); in emitStartOfAsmFile() 829 S, MCConstantExpr::create(Feat00Value, MMI->getContext())); in emitStartOfAsmFile() 863 static void emitNonLazyStubs(MachineModuleInfo *MMI, MCStreamer &OutStreamer) { in emitNonLazyStubs() argument 866 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in emitNonLazyStubs() 874 OutStreamer.switchSection(MMI->getContext().getMachOSection( in emitNonLazyStubs() 892 emitNonLazyStubs(MMI, *OutStreamer); in emitEndOfAsmFile() 904 if (MMI->usesMSVCFloatingPoint()) { in emitEndOfAsmFile() 920 MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName); in emitEndOfAsmFile()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | IndirectThunks.h | 35 void createThunkFunction(MachineModuleInfo &MMI, StringRef Name, 44 bool run(MachineModuleInfo &MMI, MachineFunction &MF); 49 MachineModuleInfo &MMI, StringRef Name, bool Comdat) { in createThunkFunction() argument 53 Module &M = const_cast<Module &>(*MMI.getModule()); in createThunkFunction() 80 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createThunkFunction() 91 bool ThunkInserter<Derived, InsertedThunksTy>::run(MachineModuleInfo &MMI, in run() argument 107 InsertedThunks |= getDerived().insertThunks(MMI, MF); in run()
|
| D | MachineModuleInfo.h | 204 MachineModuleInfo MMI; variable 217 MachineModuleInfo &getMMI() { return MMI; } in getMMI() 218 const MachineModuleInfo &getMMI() const { return MMI; } in getMMI()
|
| D | TargetLoweringObjectFileImpl.h | 91 MachineModuleInfo *MMI, 97 MachineModuleInfo *MMI) const override; 142 MachineModuleInfo *MMI, 148 MachineModuleInfo *MMI) const override; 154 MachineModuleInfo *MMI,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64LowerHomogeneousPrologEpilog.cpp | 48 AArch64LowerHomogeneousPE(Module *M, MachineModuleInfo *MMI) in AArch64LowerHomogeneousPE() argument 49 : M(M), MMI(MMI) {} in AArch64LowerHomogeneousPE() 56 MachineModuleInfo *MMI; member in __anon68e7c1280111::AArch64LowerHomogeneousPE 107 MachineModuleInfo *MMI = in runOnModule() local 109 return AArch64LowerHomogeneousPE(&M, MMI).run(); in runOnModule() 118 MachineFunction *MF = MMI->getMachineFunction(F); in run() 158 MachineModuleInfo *MMI, in createFrameHelperMachineFunction() argument 178 MachineFunction &MF = MMI->getOrCreateMachineFunction(*F); in createFrameHelperMachineFunction() 273 static Function *getOrCreateFrameHelper(Module *M, MachineModuleInfo *MMI, in getOrCreateFrameHelper() argument 283 auto &MF = createFrameHelperMachineFunction(M, MMI, Name); in getOrCreateFrameHelper() [all …]
|
| D | AArch64TargetObjectFile.cpp | 34 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 50 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 55 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 61 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
| D | AArch64TargetObjectFile.h | 35 MachineModuleInfo *MMI, 40 MachineModuleInfo *MMI) const override; 45 MachineModuleInfo *MMI,
|
| D | AArch64SLSHardening.cpp | 196 bool insertThunks(MachineModuleInfo &MMI, MachineFunction &MF); 204 bool SLSBLRThunkInserter::insertThunks(MachineModuleInfo &MMI, in insertThunks() argument 210 createThunkFunction(MMI, T.Name, ComdatThunks); in insertThunks() 425 static bool runTIs(MachineModuleInfo &MMI, MachineFunction &MF, in runTIs() argument 429 Modified |= std::get<ThunkInserterT>(ThunkInserters).run(MMI, MF)...}; in runTIs() 449 auto &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in runOnMachineFunction() local 450 return runTIs(MMI, MF, TIs); in runOnMachineFunction()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| D | DebugHandlerBase.cpp | 100 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase() 235 static bool hasDebugInfo(const MachineModuleInfo *MMI, in hasDebugInfo() argument 237 if (!MMI->hasDebugInfo()) in hasDebugInfo() 252 if (!Asm || !hasDebugInfo(MMI, MF)) { in beginFunction() 348 if (!Asm || !MMI->hasDebugInfo()) in beginInstruction() 367 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction() 374 if (!Asm || !MMI->hasDebugInfo()) in endInstruction() 401 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction() 409 if (Asm && hasDebugInfo(MMI, MF)) in endFunction()
|
| D | AsmPrinterInlineAsm.cpp | 46 MCContext &Context = MMI->getContext(); in addInlineAsmDiagBuffer() 98 SourceMgr &SrcMgr = *MMI->getContext().getInlineSourceManager(); in emitInlineAsm() 133 MachineModuleInfo *MMI, const MCAsmInfo *MAI, in EmitInlineAsmStr() argument 151 AsmPrinterVariant = MMI->getTarget().unqualifiedInlineAsmVariant(); in EmitInlineAsmStr() 300 MMI->getContext().registerInlineAsmLabel(Sym); in EmitInlineAsmStr() 316 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitInlineAsmStr() 369 EmitInlineAsmStr(AsmStr, MI, MMI, MAI, AP, LocCookie, OS); in emitInlineAsm() 402 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm() 404 MMI->getModule()->getContext().diagnose( in emitInlineAsm() 410 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUMachineModuleInfo.cpp | 20 AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI) in AMDGPUMachineModuleInfo() argument 21 : MachineModuleInfoELF(MMI) { in AMDGPUMachineModuleInfo() 22 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Sparc/ |
| D | SparcTargetObjectFile.cpp | 25 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 28 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference() 46 MMI, Streamer); in getTTypeGlobalReference()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyMCLowerPrePass.cpp | 76 MachineModuleInfo &MMI = MMIWP->getMMI(); in runOnModule() local 77 MachineModuleInfoWasm &MMIW = MMI.getObjFileInfo<MachineModuleInfoWasm>(); in runOnModule() 80 MachineFunction *MF = MMI.getMachineFunction(F); in runOnModule()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| D | ReduceIRReferences.cpp | 42 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) in stripIRFromInstructions() 49 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) { in stripIRFromBlocks() 61 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) { in stripIRFromFunctions()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ARM/ |
| D | ARMSLSHardening.cpp | 189 ArmInsertedThunks insertThunks(MachineModuleInfo &MMI, MachineFunction &MF); 197 ArmInsertedThunks SLSBLRThunkInserter::insertThunks(MachineModuleInfo &MMI, in insertThunks() argument 205 createThunkFunction(MMI, T.Name, ComdatThunks); in insertThunks() 414 static bool runTIs(MachineModuleInfo &MMI, MachineFunction &MF, in runTIs() argument 418 Modified |= std::get<ThunkInserterT>(ThunkInserters).run(MMI, MF)...}; in runTIs() 438 auto &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in runOnMachineFunction() local 439 return runTIs(MMI, MF, TIs); in runOnMachineFunction()
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/ |
| D | ReducerWorkItem.cpp | 405 if (MMI) { in print() 408 if (auto *MF = MMI->getMachineFunction(F)) in print() 421 if (!MMI) in verify() 425 if (const MachineFunction *MF = MMI->getMachineFunction(F)) { in verify() 478 CloneMMM->MMI = std::make_unique<MachineModuleInfo>(LLVMTM); in clone() 481 if (auto *MF = MMI->getMachineFunction(F)) in clone() 482 CloneMMM->MMI->insertFunction(F, cloneMF(MF, *CloneMMM->MMI)); in clone() 556 if (auto *MF = MMI->getMachineFunction(F)) in computeMIRComplexityScore() 793 MMM->MMI = std::make_unique<MachineModuleInfo>(LLVMTM); in parseReducerWorkItem() 794 MParser->parseMachineFunctions(*M, *MMM->MMI); in parseReducerWorkItem()
|
| D | ReducerWorkItem.h | 28 std::unique_ptr<MachineModuleInfo> MMI; variable 35 bool isMIR() const { return MMI != nullptr; } in isMIR()
|