| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineModuleInfo.cpp | 40 MachineModuleInfo::MachineModuleInfo(MachineModuleInfo &&MMI) in MachineModuleInfo() argument 41 : TM(std::move(MMI.TM)), in MachineModuleInfo() 44 MachineFunctions(std::move(MMI.MachineFunctions)) { in MachineModuleInfo() 46 ObjFileMMI = MMI.ObjFileMMI; in MachineModuleInfo() 47 ExternalContext = MMI.ExternalContext; in MachineModuleInfo() 48 TheModule = MMI.TheModule; in MachineModuleInfo() 134 MachineModuleInfo &MMI = in runOnFunction() local 136 MMI.deleteMachineFunctionFor(F); in runOnFunction() 155 : ImmutablePass(ID), MMI(TM) { in MachineModuleInfoWrapperPass() 161 : ImmutablePass(ID), MMI(TM, ExtContext) { in MachineModuleInfoWrapperPass() [all …]
|
| H A D | MIRPrintingPass.cpp | 32 const MachineModuleInfo &MMI = in run() local 35 printMIR(OS, MMI, MF); in run() 62 const MachineModuleInfo &MMI = in runOnMachineFunction() local 65 printMIR(StrOS, MMI, MF); in runOnMachineFunction()
|
| H A D | MachineDebugify.cpp | 33 bool applyDebugifyMetadataToMachineFunction(MachineModuleInfo &MMI, in applyDebugifyMetadataToMachineFunction() argument 35 MachineFunction *MaybeMF = MMI.getMachineFunction(F); in applyDebugifyMetadataToMachineFunction() 197 MachineModuleInfo &MMI = in runOnModule() local 202 return applyDebugifyMetadataToMachineFunction(MMI, DIB, F); in runOnModule()
|
| H A D | MachineFunctionAnalysis.cpp | 36 auto &MMI = FAM.getResult<ModuleAnalysisManagerFunctionProxy>(F) in run() local 40 F, *TM, STI, MMI.getContext(), Context.generateMachineFunctionNum(F)); in run()
|
| H A D | MachineOutliner.cpp | 157 const MachineModuleInfo &MMI; member 359 switch (TII.getOutliningType(MMI, It, Flags)) { in convertToUnsignedVec() 408 InstructionMapper(const MachineModuleInfo &MMI_) : MMI(MMI_) { in InstructionMapper() 431 MachineModuleInfo *MMI = nullptr; member 738 TII->getOutliningCandidateInfo(*MMI, CandidatesForRepeatedSeq, in findGlobalCandidates() 840 TII->getOutliningCandidateInfo(*MMI, CandidatesForRepeatedSeq, in findCandidates() 937 MachineModuleInfo &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in createOutlinedFunction() local 938 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createOutlinedFunction() 1218 MachineFunction *MF = MMI->getMachineFunction(F); in populateMapper() 1281 MachineFunction *MF = MMI->getMachineFunction(F); in initSizeRemarkInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetObjectFile.cpp | 46 const MachineModuleInfo *MMI) const { in emitPersonalityValueImpl() 47 if (!MMI->getObjFileInfo<MachineModuleInfoELF>().hasSignedPersonality()) { in emitPersonalityValueImpl() 49 MMI); in emitPersonalityValueImpl() 61 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument 75 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 91 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 96 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 102 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument 125 MCContext &Ctx, const TargetMachine &TM, MachineModuleInfo *MMI, in getAuthPtrSlotSymbolHelper() argument 128 const DataLayout &DL = MMI->getModule()->getDataLayout(); in getAuthPtrSlotSymbolHelper() [all …]
|
| H A D | AArch64TargetObjectFile.h | 26 MachineModuleInfo *MMI, 30 MachineModuleInfo *MMI, const MCSymbol *RawSym, 36 const MachineModuleInfo *MMI) const override; 53 MachineModuleInfo *MMI, 58 MachineModuleInfo *MMI) const override; 63 MachineModuleInfo *MMI, 70 MachineModuleInfo *MMI, const MCSymbol *RawSym,
|
| H A D | AArch64LowerHomogeneousPrologEpilog.cpp | 46 AArch64LowerHomogeneousPE(Module *M, MachineModuleInfo *MMI) in AArch64LowerHomogeneousPE() argument 47 : M(M), MMI(MMI) {} in AArch64LowerHomogeneousPE() 54 MachineModuleInfo *MMI; member in __anonc07af6ac0111::AArch64LowerHomogeneousPE 102 MachineModuleInfo *MMI = in runOnModule() local 104 return AArch64LowerHomogeneousPE(&M, MMI).run(); in runOnModule() 113 MachineFunction *MF = MMI->getMachineFunction(F); in run() 156 MachineModuleInfo *MMI, in createFrameHelperMachineFunction() argument 174 MachineFunction &MF = MMI->getOrCreateMachineFunction(*F); in createFrameHelperMachineFunction() 303 static Function *getOrCreateFrameHelper(Module *M, MachineModuleInfo *MMI, in getOrCreateFrameHelper() argument 313 auto &MF = createFrameHelperMachineFunction(M, MMI, Name); in getOrCreateFrameHelper() [all …]
|
| H A D | AArch64SLSHardening.cpp | 148 ThunksSet insertThunks(MachineModuleInfo &MMI, MachineFunction &MF, 155 bool hardenReturnsAndBRs(MachineModuleInfo &MMI, MachineBasicBlock &MBB); 156 bool hardenBLRs(MachineModuleInfo &MMI, MachineBasicBlock &MBB, 159 void convertBLRToBL(MachineModuleInfo &MMI, MachineBasicBlock &MBB, 243 ThunksSet SLSHardeningInserter::insertThunks(MachineModuleInfo &MMI, in insertThunks() argument 250 hardenReturnsAndBRs(MMI, MBB); in insertThunks() 252 hardenBLRs(MMI, MBB, ExistingThunks); in insertThunks() 257 bool SLSHardeningInserter::hardenReturnsAndBRs(MachineModuleInfo &MMI, in hardenReturnsAndBRs() argument 384 MachineModuleInfo &MMI, MachineBasicBlock &MBB, in convertBLRToBL() argument 445 createThunkFunction(MMI, ThunkName, ComdatThunks, TargetAttrs); in convertBLRToBL() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineModuleInfo.h | 174 MachineModuleInfo MMI; variable 187 MachineModuleInfo &getMMI() { return MMI; } in getMMI() 188 const MachineModuleInfo &getMMI() const { return MMI; } in getMMI() 200 MachineModuleInfo &MMI; variable 204 MachineModuleInfo &MMI; variable 205 Result(MachineModuleInfo &MMI) : MMI(MMI) {} in Result() argument 209 MachineModuleInfo &getMMI() { return MMI; } in getMMI() 218 MachineModuleAnalysis(MachineModuleInfo &MMI) : MMI(MMI) {} in MachineModuleAnalysis() argument
|
| H A D | IndirectThunks.h | 77 void createThunkFunction(MachineModuleInfo &MMI, StringRef Name, 96 InsertedThunksTy insertThunks(MachineModuleInfo &MMI, MachineFunction &MF, 115 bool run(MachineModuleInfo &MMI, MachineFunction &MF); 120 MachineModuleInfo &MMI, StringRef Name, bool Comdat, in createThunkFunction() argument 125 Module &M = const_cast<Module &>(*MMI.getModule()); in createThunkFunction() 154 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createThunkFunction() 165 bool ThunkInserter<Derived, InsertedThunksTy>::run(MachineModuleInfo &MMI, in run() argument 177 InsertedThunks |= getDerived().insertThunks(MMI, MF, InsertedThunks); in run() 202 auto &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in runOnMachineFunction() local 203 return runTIs(MMI, MF, TIs); in runOnMachineFunction() [all …]
|
| H A D | TargetLoweringObjectFileImpl.h | 54 const MachineModuleInfo *MMI) const override; 59 const MachineModuleInfo *MMI) const; 106 MachineModuleInfo *MMI, 112 MachineModuleInfo *MMI) const override; 162 MachineModuleInfo *MMI, 168 MachineModuleInfo *MMI) const override; 174 MachineModuleInfo *MMI,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRAsmPrinter.cpp | 247 const AVRTargetMachine &TM = (const AVRTargetMachine &)MMI->getTarget(); in doFinalization() 296 const AVRTargetMachine &TM = (const AVRTargetMachine &)MMI->getTarget(); in emitStartOfAsmFile() 303 MMI->getContext().getOrCreateSymbol(StringRef("__tmp_reg__")), in emitStartOfAsmFile() 304 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); in emitStartOfAsmFile() 307 MMI->getContext().getOrCreateSymbol(StringRef("__zero_reg__")), in emitStartOfAsmFile() 308 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); in emitStartOfAsmFile() 311 MMI->getContext().getOrCreateSymbol(StringRef("__SREG__")), in emitStartOfAsmFile() 312 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); in emitStartOfAsmFile() 316 MMI->getContext().getOrCreateSymbol(StringRef("__SP_H__")), in emitStartOfAsmFile() 317 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); in emitStartOfAsmFile() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXContainerGlobals.cpp | 154 dxil::ModuleMetadataInfo &MMI = in addRootSignature() local 158 if (MMI.ShaderProfile == llvm::Triple::Library) in addRootSignature() 161 assert(MMI.EntryPropertyVec.size() == 1); in addRootSignature() 164 const Function *EntryFunction = MMI.EntryPropertyVec[0].Entry; in addRootSignature() 259 dxil::ModuleMetadataInfo &MMI = in addPipelineStateValidationInfo() local 261 assert(MMI.EntryPropertyVec.size() == 1 || in addPipelineStateValidationInfo() 262 MMI.ShaderProfile == Triple::Library); in addPipelineStateValidationInfo() 264 static_cast<uint8_t>(MMI.ShaderProfile - Triple::Pixel); in addPipelineStateValidationInfo() 273 switch (MMI.ShaderProfile) { in addPipelineStateValidationInfo() 275 PSV.BaseData.NumThreadsX = MMI.EntryPropertyVec[0].NumThreadsX; in addPipelineStateValidationInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IndirectThunks.cpp | 64 bool insertThunks(MachineModuleInfo &MMI, MachineFunction &MF, 74 bool insertThunks(MachineModuleInfo &MMI, MachineFunction &MF, in insertThunks() 78 createThunkFunction(MMI, R11LVIThunkName); in insertThunks() 113 bool RetpolineThunkInserter::insertThunks(MachineModuleInfo &MMI, in insertThunks() argument 118 if (MMI.getTarget().getTargetTriple().getArch() == Triple::x86_64) in insertThunks() 119 createThunkFunction(MMI, R11RetpolineName); in insertThunks() 123 createThunkFunction(MMI, Name); in insertThunks()
|
| H A D | X86TargetObjectFile.cpp | 21 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 34 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 39 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 45 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument 67 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
| H A D | X86TargetObjectFile.h | 23 MachineModuleInfo *MMI, 30 MachineModuleInfo *MMI) const override; 35 MachineModuleInfo *MMI, 57 MachineModuleInfo *MMI,
|
| H A D | X86CallFrameOptimization.cpp | 473 auto MMI = Context.ArgStoreVector.begin(), MME = Context.ArgStoreVector.end(); in collectCallInfo() local 474 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo() 475 if (*MMI == nullptr) in collectCallInfo() 479 if (MMI == Context.ArgStoreVector.begin()) in collectCallInfo() 484 for (; MMI != MME; ++MMI) in collectCallInfo() 485 if (*MMI != nullptr) in collectCallInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcTargetObjectFile.cpp | 25 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 28 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference() 45 MMI, Streamer); in getTTypeGlobalReference()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCLowerPrePass.cpp | 70 MachineModuleInfo &MMI = MMIWP->getMMI(); in runOnModule() local 71 MachineModuleInfoWasm &MMIW = MMI.getObjFileInfo<MachineModuleInfoWasm>(); in runOnModule() 74 MachineFunction *MF = MMI.getMachineFunction(F); in runOnModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterInlineAsm.cpp | 47 MCContext &Context = MMI->getContext(); in addInlineAsmDiagBuffer() 99 SourceMgr &SrcMgr = *MMI->getContext().getInlineSourceManager(); in emitInlineAsm() 135 MachineModuleInfo *MMI, const MCAsmInfo *MAI, in EmitInlineAsmStr() argument 153 AsmPrinterVariant = MMI->getTarget().unqualifiedInlineAsmVariant(); in EmitInlineAsmStr() 302 MMI->getContext().registerInlineAsmLabel(Sym); in EmitInlineAsmStr() 362 EmitInlineAsmStr(AsmStr, MI, MMI, MAI, AP, LocCookie, OS); in emitInlineAsm()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetObjectFile.cpp | 67 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument 82 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 85 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
|
| H A D | ARMTargetObjectFile.h | 28 MachineModuleInfo *MMI, 36 MachineModuleInfo *MMI,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 88 const MachineModuleInfo *MMI) const; 174 MachineModuleInfo *MMI, 186 MachineModuleInfo *MMI) const; 256 MachineModuleInfo *MMI, in getIndirectSymViaGOTPCRel() argument
|