Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp49 if (MMI->getLandingPads().empty()) in markFunctionEnd()
53 MMI->TidyLandingPads(); in markFunctionEnd()
81 const std::vector<const Function*> &Personalities = MMI->getPersonalities(); in endModule()
94 bool hasLandingPads = !MMI->getLandingPads().empty(); in beginFunction()
107 const Function *Per = MMI->getPersonality(); in beginFunction()
127 TLOF.getCFIPersonalitySymbol(Per, *Asm->Mang, Asm->TM, MMI); in beginFunction()
DWinCodeViewLineTables.cpp97 MCSymbol *MCL = Asm->MMI->getContext().CreateTempSymbol(); in maybeRecordLocation()
105 MachineModuleInfo *MMI = AP->MMI; in WinCodeViewLineTables() local
109 if (!MMI->getModule()->getNamedMetadata("llvm.dbg.cu") || in WinCodeViewLineTables()
114 MMI->setDebugInfoAvailability(true); in WinCodeViewLineTables()
204 MCSymbol *SymbolsBegin = Asm->MMI->getContext().CreateTempSymbol(), in emitDebugInfoForFunction()
205 *SymbolsEnd = Asm->MMI->getContext().CreateTempSymbol(); in emitDebugInfoForFunction()
211 MCSymbol *ProcSegmentBegin = Asm->MMI->getContext().CreateTempSymbol(), in emitDebugInfoForFunction()
212 *ProcSegmentEnd = Asm->MMI->getContext().CreateTempSymbol(); in emitDebugInfoForFunction()
259 MCSymbol *LineTableBegin = Asm->MMI->getContext().CreateTempSymbol(), in emitDebugInfoForFunction()
260 *LineTableEnd = Asm->MMI->getContext().CreateTempSymbol(); in emitDebugInfoForFunction()
[all …]
DARMException.cpp73 MMI->getLandingPads().empty()) in endFunction()
76 if (!MMI->getLandingPads().empty()) { in endFunction()
78 if (const Function *Personality = MMI->getPersonality()) { in endFunction()
97 const std::vector<const GlobalValue *> &TypeInfos = MMI->getTypeInfos(); in emitTypeInfos()
98 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in emitTypeInfos()
DWin64Exception.cpp56 bool hasLandingPads = !MMI->getLandingPads().empty(); in beginFunction()
76 const Function *ParentF = MMI->getWinEHParent(F); in beginFunction()
78 WinEHFuncInfo &FuncInfo = MMI->getWinEHFuncInfo(ParentF); in beginFunction()
101 TLOF.getCFIPersonalitySymbol(Per, *Asm->Mang, Asm->TM, MMI); in beginFunction()
111 EHPersonality Per = MMI->getPersonalityType(); in endFunction()
117 MMI->TidyLandingPads(); in endFunction()
181 const std::vector<LandingPadInfo> &PadInfos = MMI->getLandingPads(); in emitCSpecificHandlerTable()
246 const std::vector<const GlobalValue *> &SelectorToFilter = MMI->getTypeInfos(); in emitCSpecificHandlerTable()
279 const Function *ParentF = MMI->getWinEHParent(F); in emitCXXFrameHandler3Table()
281 WinEHFuncInfo &FuncInfo = MMI->getWinEHFuncInfo(ParentF); in emitCXXFrameHandler3Table()
[all …]
DEHStreamer.cpp28 EHStreamer::EHStreamer(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in EHStreamer()
77 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in computeActionsTable()
299 unsigned SiteNo = MMI->getCallSiteBeginLabel(BeginLabel); in computeCallSiteTable()
339 const std::vector<const GlobalValue *> &TypeInfos = MMI->getTypeInfos(); in emitExceptionTable()
340 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in emitExceptionTable()
341 const std::vector<LandingPadInfo> &PadInfos = MMI->getLandingPads(); in emitExceptionTable()
652 const std::vector<const GlobalValue *> &TypeInfos = MMI->getTypeInfos(); in emitTypeInfos()
653 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in emitTypeInfos()
DAsmPrinterInlineAsm.cpp105 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm()
162 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitMSInlineAsmStr() argument
250 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
260 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitGCCInlineAsmStr() argument
422 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
486 EmitGCCInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AsmPrinterVariant, in EmitInlineAsm()
489 EmitMSInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AP, LocCookie, OS); in EmitInlineAsm()
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp65 MachineModuleInfo *MMI, unsigned DRegNum) { in EmitDefCfaRegister() argument
66 unsigned CFIIndex = MMI->addFrameInst( in EmitDefCfaRegister()
75 MachineModuleInfo *MMI, int Offset) { in EmitDefCfaOffset() argument
77 MMI->addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -Offset)); in EmitDefCfaOffset()
84 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in EmitCfiOffset() argument
86 unsigned CFIIndex = MMI->addFrameInst( in EmitCfiOffset()
100 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in IfNeededExtSP() argument
111 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/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,
DAArch64FrameLowering.cpp209 MachineModuleInfo &MMI = MF.getMMI(); in emitCalleeSavedFrameMoves() local
210 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitCalleeSavedFrameMoves()
245 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitCalleeSavedFrameMoves()
261 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
263 bool needsFrameMoves = MMI.hasDebugInfo() || Fn->needsUnwindTableEntry(); in emitPrologue()
280 MCSymbol *FrameLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
289 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
470 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
478 CFIIndex = MMI.addFrameInst( in emitPrologue()
485 CFIIndex = MMI.addFrameInst( in emitPrologue()
[all …]
/external/llvm/lib/CodeGen/
DMachineFunctionAnalysis.cpp38 MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); in doInitialization() local
39 assert(MMI && "MMI not around yet??"); in doInitialization()
40 MMI->setModule(&M); in doInitialization()
DTargetLoweringObjectFileImpl.cpp51 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
89 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
93 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference()
111 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
671 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
677 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getTTypeGlobalReference()
698 TM, MMI, Streamer); in getTTypeGlobalReference()
703 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
706 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getCFIPersonalitySymbol()
723 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
[all …]
/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()
DSparcFrameLowering.cpp109 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
110 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
115 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister(nullptr, regFP)); in emitPrologue()
120 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createWindowSave(nullptr)); in emitPrologue()
127 CFIIndex = MMI.addFrameInst( in emitPrologue()
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h72 MachineModuleInfo *MMI,
78 MachineModuleInfo *MMI) const override;
120 MachineModuleInfo *MMI,
126 MachineModuleInfo *MMI) const override;
131 MachineModuleInfo *MMI,
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp352 auto MMI = Context.MovVector.begin(), MME = Context.MovVector.end(); in collectCallInfo() local
353 for (; MMI != MME; ++MMI, Context.ExpectedDist += 4) in collectCallInfo()
354 if (*MMI == nullptr) in collectCallInfo()
358 if (MMI == Context.MovVector.begin()) in collectCallInfo()
363 for (; MMI != MME; ++MMI) in collectCallInfo()
364 if (*MMI != nullptr) in collectCallInfo()
DX86TargetObjectFile.h25 MachineModuleInfo *MMI,
32 MachineModuleInfo *MMI) const override;
36 MachineModuleInfo *MMI,
DX86TargetObjectFile.cpp27 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
41 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
46 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
52 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
DX86AsmPrinter.cpp106 P.MMI->getObjFileInfo<MachineModuleInfoMachO>().getGVStubEntry(Sym); in printSymbolOperand()
113 P.MMI->getObjFileInfo<MachineModuleInfoMachO>().getHiddenGVStubEntry( in printSymbolOperand()
121 P.MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym); in printSymbolOperand()
516 MCSymbol *S = MMI->getContext().GetOrCreateSymbol(StringRef("@feat.00")); in EmitStartOfAsmFile()
528 S, MCConstantExpr::Create(int64_t(1), MMI->getContext())); in EmitStartOfAsmFile()
611 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in EmitEndOfAsmFile()
682 if (TT.isKnownWindowsMSVCEnvironment() && MMI->usesVAFloatArgument()) { in EmitEndOfAsmFile()
685 MCSymbol *S = MMI->getContext().GetOrCreateSymbol(SymbolName); in EmitEndOfAsmFile()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp111 MachineModuleInfo &MMI = MF->getMMI(); in set() local
206 if (MMI.hasDebugInfo() && DIVar && DI->getDebugLoc()) { in set()
219 MMI.setVariableDbgInfo(DI->getVariable(), DI->getExpression(), in set()
279 const Function *WinEHParentFn = MMI.getWinEHParent(&fn); in set()
280 WinEHFuncInfo &FI = MMI.getWinEHFuncInfo(WinEHParentFn); in set()
648 MachineModuleInfo *MMI) in ComputeUsesVAFloatArgument() argument
652 if (FT->isVarArg() && !MMI->usesVAFloatArgument()) { in ComputeUsesVAFloatArgument()
657 MMI->setUsesVAFloatArgument(true); in ComputeUsesVAFloatArgument()
667 void llvm::AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI, in AddLandingPadInfo() argument
669 MMI.addPersonality(MBB, in AddLandingPadInfo()
[all …]
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp47 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
48 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
55 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
70 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
DMipsSEFrameLowering.cpp401 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
402 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
409 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
440 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
445 CFIIndex = MMI.addFrameInst( in emitPrologue()
456 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
461 CFIIndex = MMI.addFrameInst( in emitPrologue()
467 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
491 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
505 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp90 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
91 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
120 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
132 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
197 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
225 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
244 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
251 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
269 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
DARMTargetObjectFile.cpp45 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
49 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h135 MachineModuleInfo *MMI, MCStreamer &Streamer) const;
147 MachineModuleInfo *MMI) const;
189 MachineModuleInfo *MMI, in getIndirectSymViaGOTPCRel() argument

123