Home
last modified time | relevance | path

Searched refs:MMI (Results 1 – 25 of 244) sorted by relevance

12345678910

/external/llvm-project/llvm/lib/CodeGen/
DMachineModuleInfo.cpp179 MachineModuleInfo::MachineModuleInfo(MachineModuleInfo &&MMI) in MachineModuleInfo() argument
180 : TM(std::move(MMI.TM)), in MachineModuleInfo()
181 Context(MMI.TM.getMCAsmInfo(), MMI.TM.getMCRegisterInfo(), in MachineModuleInfo()
182 MMI.TM.getObjFileLowering(), nullptr, nullptr, false), in MachineModuleInfo()
183 MachineFunctions(std::move(MMI.MachineFunctions)) { in MachineModuleInfo()
184 ObjFileMMI = MMI.ObjFileMMI; in MachineModuleInfo()
185 CurCallSite = MMI.CurCallSite; in MachineModuleInfo()
186 UsesMSVCFloatingPoint = MMI.UsesMSVCFloatingPoint; in MachineModuleInfo()
187 UsesMorestackAddr = MMI.UsesMorestackAddr; in MachineModuleInfo()
188 HasSplitStack = MMI.HasSplitStack; in MachineModuleInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineModuleInfo.cpp223 MachineModuleInfo::MachineModuleInfo(MachineModuleInfo &&MMI) in MachineModuleInfo() argument
224 : TM(std::move(MMI.TM)), in MachineModuleInfo()
225 Context(MMI.TM.getMCAsmInfo(), MMI.TM.getMCRegisterInfo(), in MachineModuleInfo()
226 MMI.TM.getObjFileLowering(), nullptr, nullptr, false) { in MachineModuleInfo()
227 ObjFileMMI = MMI.ObjFileMMI; in MachineModuleInfo()
228 CurCallSite = MMI.CurCallSite; in MachineModuleInfo()
229 UsesMSVCFloatingPoint = MMI.UsesMSVCFloatingPoint; in MachineModuleInfo()
230 UsesMorestackAddr = MMI.UsesMorestackAddr; in MachineModuleInfo()
231 HasSplitStack = MMI.HasSplitStack; in MachineModuleInfo()
232 HasNosplitStack = MMI.HasNosplitStack; in MachineModuleInfo()
[all …]
/external/llvm-project/polly/lib/Transform/
DScheduleOptimizer.cpp651 MatMulInfoTy &MMI) { in isMatMulNonScalarReadAccess() argument
656 if (isMatMulOperandAcc(StmtDomain, AccMap, MMI.i, MMI.j) && !MMI.ReadFromC) { in isMatMulNonScalarReadAccess()
657 MMI.ReadFromC = MemAccess; in isMatMulNonScalarReadAccess()
660 if (isMatMulOperandAcc(StmtDomain, AccMap, MMI.i, MMI.k) && !MMI.A) { in isMatMulNonScalarReadAccess()
661 MMI.A = MemAccess; in isMatMulNonScalarReadAccess()
664 if (isMatMulOperandAcc(StmtDomain, AccMap, MMI.k, MMI.j) && !MMI.B) { in isMatMulNonScalarReadAccess()
665 MMI.B = MemAccess; in isMatMulNonScalarReadAccess()
685 MatMulInfoTy &MMI) { in containsOnlyMatrMultAcc() argument
693 permuteDimensions(PartialSchedule, isl::dim::out, MMI.i, OutDimNum - 1); in containsOnlyMatrMultAcc()
695 permuteDimensions(PartialSchedule, isl::dim::out, MMI.j, OutDimNum - 1); in containsOnlyMatrMultAcc()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DIndirectThunks.h30 void createThunkFunction(MachineModuleInfo &MMI, StringRef Name);
38 bool run(MachineModuleInfo &MMI, MachineFunction &MF);
42 void ThunkInserter<Derived>::createThunkFunction(MachineModuleInfo &MMI, in createThunkFunction() argument
47 Module &M = const_cast<Module &>(*MMI.getModule()); in createThunkFunction()
70 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createThunkFunction()
81 bool ThunkInserter<Derived>::run(MachineModuleInfo &MMI, MachineFunction &MF) { in run() argument
98 getDerived().insertThunks(MMI); in run()
/external/llvm-project/llvm/lib/Target/X86/
DX86IndirectThunks.cpp69 void insertThunks(MachineModuleInfo &MMI);
78 void insertThunks(MachineModuleInfo &MMI) { in insertThunks()
79 createThunkFunction(MMI, R11LVIThunkName); in insertThunks()
124 static bool runTIs(MachineModuleInfo &MMI, MachineFunction &MF, in runTIs() argument
128 Modified |= std::get<ThunkInserterT>(ThunkInserters).run(MMI, MF)...}; in runTIs()
135 void RetpolineThunkInserter::insertThunks(MachineModuleInfo &MMI) { in insertThunks() argument
136 if (MMI.getTarget().getTargetTriple().getArch() == Triple::x86_64) in insertThunks()
137 createThunkFunction(MMI, R11RetpolineName); in insertThunks()
141 createThunkFunction(MMI, Name); in insertThunks()
268 auto &MMI = getAnalysis<MachineModuleInfoWrapperPass>().getMMI(); in runOnMachineFunction() local
[all …]
DX86TargetObjectFile.cpp20 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
DX86TargetObjectFile.h23 MachineModuleInfo *MMI,
30 MachineModuleInfo *MMI) const override;
35 MachineModuleInfo *MMI,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp87 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase()
171 static bool hasDebugInfo(const MachineModuleInfo *MMI, in hasDebugInfo() argument
173 if (!MMI->hasDebugInfo()) in hasDebugInfo()
188 if (!Asm || !hasDebugInfo(MMI, MF)) { in beginFunction()
280 if (!MMI->hasDebugInfo()) in beginInstruction()
299 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction()
306 if (!MMI->hasDebugInfo()) in endInstruction()
331 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction()
338 if (hasDebugInfo(MMI, MF)) in endFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp47 if (MMI->getLandingPads().empty()) in markFunctionEnd()
51 MMI->TidyLandingPads(); in markFunctionEnd()
84 for (const Function *Personality : MMI->getPersonalities()) { in endModule()
101 bool hasLandingPads = !MMI->getLandingPads().empty(); in beginFunction()
158 MMI->addPersonality(P); in beginFragment()
163 TLOF.getCFIPersonalitySymbol(P, *Asm->Mang, Asm->TM, MMI); in beginFragment()
DDebugHandlerBase.cpp25 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase()
171 if (!MMI->hasDebugInfo()) in beginInstruction()
190 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction()
197 if (!MMI->hasDebugInfo()) in endInstruction()
220 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction()
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp64 MachineModuleInfo *MMI, unsigned DRegNum) { in EmitDefCfaRegister() argument
65 unsigned CFIIndex = MMI->addFrameInst( in EmitDefCfaRegister()
74 MachineModuleInfo *MMI, int Offset) { in EmitDefCfaOffset() argument
76 MMI->addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -Offset)); in EmitDefCfaOffset()
83 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in EmitCfiOffset() argument
85 unsigned CFIIndex = MMI->addFrameInst( in EmitCfiOffset()
99 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in IfNeededExtSP() argument
110 EmitDefCfaOffset(MBB, MBBI, dl, TII, MMI, Adjusted*4); in IfNeededExtSP()
227 MachineModuleInfo *MMI = &MF.getMMI(); in emitPrologue() local
228 const MCRegisterInfo *MRI = MMI->getContext().getRegisterInfo(); in emitPrologue()
[all …]
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp92 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase()
214 static bool hasDebugInfo(const MachineModuleInfo *MMI, in hasDebugInfo() argument
216 if (!MMI->hasDebugInfo()) in hasDebugInfo()
231 if (!Asm || !hasDebugInfo(MMI, MF)) { in beginFunction()
332 if (!Asm || !MMI->hasDebugInfo()) in beginInstruction()
351 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction()
358 if (!Asm || !MMI->hasDebugInfo()) in endInstruction()
383 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction()
390 if (Asm && hasDebugInfo(MMI, MF)) in endFunction()
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DGISelMITest.h60 MachineModuleInfo &MMI) { in parseMIR() argument
73 if (MIR->parseMachineFunctions(*M, MMI)) in parseMIR()
82 auto MMI = std::make_unique<MachineModuleInfo>(&TM); in createDummyModule() local
84 parseMIR(Context, MIR, TM, MIRString, FuncName, *MMI); in createDummyModule()
85 return make_pair(std::move(M), std::move(MMI)); in createDummyModule()
89 const MachineModuleInfo *MMI) { in getMFFromMMI() argument
91 auto *MF = MMI->getMachineFunction(*F); in getMFFromMMI()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUMachineModuleInfo.cpp20 AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI) in AMDGPUMachineModuleInfo() argument
21 : MachineModuleInfoELF(MMI) { in AMDGPUMachineModuleInfo()
22 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineModuleInfo.cpp20 AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI) in AMDGPUMachineModuleInfo() argument
21 : MachineModuleInfoELF(MMI) { in AMDGPUMachineModuleInfo()
22 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp34 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
51 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
56 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
62 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
DAArch64TargetObjectFile.h32 MachineModuleInfo *MMI,
37 MachineModuleInfo *MMI) const override;
41 MachineModuleInfo *MMI,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp36 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument
52 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
57 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
63 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
DAArch64TargetObjectFile.h31 MachineModuleInfo *MMI,
36 MachineModuleInfo *MMI) const override;
41 MachineModuleInfo *MMI,
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp35 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument
51 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
56 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
62 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
DAArch64TargetObjectFile.h36 MachineModuleInfo *MMI,
41 MachineModuleInfo *MMI) const override;
46 MachineModuleInfo *MMI,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp27 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument
40 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
45 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
51 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
/external/llvm-project/llvm/unittests/Target/WebAssembly/
DWebAssemblyExceptionInfoTest.cpp45 const char *FuncName, MachineModuleInfo &MMI) { in parseMIR() argument
58 if (MIR->parseMachineFunctions(*M, MMI)) in parseMIR()
158 MachineModuleInfo MMI(TM.get()); in TEST() local
160 parseMIR(Context, MIR, *TM, MIRString, "test0", MMI); in TEST()
164 auto *MF = MMI.getMachineFunction(*F); in TEST()
333 MachineModuleInfo MMI(TM.get()); in TEST() local
335 parseMIR(Context, MIR, *TM, MIRString, "test1", MMI); in TEST()
339 auto *MF = MMI.getMachineFunction(*F); in TEST()
/external/llvm/lib/CodeGen/
DMachineFunctionAnalysis.cpp40 MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); in doInitialization() local
41 assert(MMI && "MMI not around yet??"); in doInitialization()
42 MMI->setModule(&M); in doInitialization()
/external/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp20 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
24 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference()
42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()

12345678910