Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp49 if (MMI->getLandingPads().empty()) in markFunctionEnd()
53 MMI->TidyLandingPads(); in markFunctionEnd()
81 for (const Function *Personality : MMI->getPersonalities()) { in endModule()
94 bool hasLandingPads = !MMI->getLandingPads().empty(); in beginFunction()
142 MMI->addPersonality(Per); in beginFunction()
145 TLOF.getCFIPersonalitySymbol(Per, *Asm->Mang, Asm->TM, MMI); in beginFunction()
DWinCodeViewLineTables.cpp96 MCSymbol *MCL = Asm->MMI->getContext().createTempSymbol(); in maybeRecordLocation()
104 MachineModuleInfo *MMI = AP->MMI; in WinCodeViewLineTables() local
108 if (!MMI->getModule()->getNamedMetadata("llvm.dbg.cu") || in WinCodeViewLineTables()
113 MMI->setDebugInfoAvailability(true); in WinCodeViewLineTables()
203 MCSymbol *SymbolsBegin = Asm->MMI->getContext().createTempSymbol(), in emitDebugInfoForFunction()
204 *SymbolsEnd = Asm->MMI->getContext().createTempSymbol(); in emitDebugInfoForFunction()
210 MCSymbol *ProcSegmentBegin = Asm->MMI->getContext().createTempSymbol(), in emitDebugInfoForFunction()
211 *ProcSegmentEnd = Asm->MMI->getContext().createTempSymbol(); in emitDebugInfoForFunction()
258 MCSymbol *LineTableBegin = Asm->MMI->getContext().createTempSymbol(), in emitDebugInfoForFunction()
259 *LineTableEnd = Asm->MMI->getContext().createTempSymbol(); in emitDebugInfoForFunction()
[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.cpp106 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm()
157 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitMSInlineAsmStr() argument
245 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
255 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitGCCInlineAsmStr() argument
418 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
482 EmitGCCInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AsmPrinterVariant, in EmitInlineAsm()
485 EmitMSInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AP, LocCookie, OS); in EmitInlineAsm()
DARMException.cpp80 !MMI->getLandingPads().empty(); in endFunction()
104 const std::vector<const GlobalValue *> &TypeInfos = MMI->getTypeInfos(); in emitTypeInfos()
105 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in emitTypeInfos()
DAsmPrinter.cpp107 MMI = nullptr; in AsmPrinter()
139 return MMI->getModule()->getDataLayout(); in getDataLayout()
176 MMI = getAnalysisIfAvailable<MachineModuleInfo>(); in doInitialization()
245 bool EmitCodeView = MMI->getModule()->getCodeViewFlag(); in doInitialization()
251 if (!EmitCodeView || MMI->getModule()->getDwarfVersion()) { in doInitialization()
579 MMI->takeDeletedSymbolsForFunction(F, DeadBlockSyms); in EmitFunctionHeader()
797 if (MMI->hasDebugInfo()) in needsCFIMoves()
816 const MachineModuleInfo &MMI = MF->getMMI(); in emitCFIInstruction() local
817 const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions(); in emitCFIInstruction()
841 bool ShouldPrintDebugScopes = MMI->hasDebugInfo(); in EmitFunctionBody()
[all …]
/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()
286 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
288 bool needsFrameMoves = MMI.hasDebugInfo() || Fn->needsUnwindTableEntry(); in emitPrologue()
308 MCSymbol *FrameLabel = MMI.getContext().createTempSymbol(); in emitPrologue()
317 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
477 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
485 CFIIndex = MMI.addFrameInst( in emitPrologue()
492 CFIIndex = MMI.addFrameInst( in emitPrologue()
[all …]
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h71 MachineModuleInfo *MMI,
77 MachineModuleInfo *MMI) const override;
113 MachineModuleInfo *MMI,
119 MachineModuleInfo *MMI) const override;
124 MachineModuleInfo *MMI,
/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()
DTargetLoweringObjectFileImpl.cpp53 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()
650 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
656 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getTTypeGlobalReference()
677 TM, MMI, Streamer); in getTTypeGlobalReference()
682 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
685 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getCFIPersonalitySymbol()
702 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()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp89 MachineModuleInfo &MMI = MF->getMMI(); in set() local
187 if (MMI.hasDebugInfo()) { in set()
200 MMI.setVariableDbgInfo(DI->getVariable(), DI->getExpression(), in set()
225 MMI.setHasEHFunclets(true); in set()
532 MachineModuleInfo *MMI) in ComputeUsesVAFloatArgument() argument
536 if (FT->isVarArg() && !MMI->usesVAFloatArgument()) { in ComputeUsesVAFloatArgument()
541 MMI->setUsesVAFloatArgument(true); in ComputeUsesVAFloatArgument()
551 void llvm::AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI, in AddLandingPadInfo() argument
555 MMI.addPersonality(PF); in AddLandingPadInfo()
558 MMI.addCleanup(MBB); in AddLandingPadInfo()
[all …]
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.h25 MachineModuleInfo *MMI,
32 MachineModuleInfo *MMI) const override;
36 MachineModuleInfo *MMI,
DX86CallFrameOptimization.cpp427 auto MMI = Context.MovVector.begin(), MME = Context.MovVector.end(); in collectCallInfo() local
428 for (; MMI != MME; ++MMI, Context.ExpectedDist += 4) in collectCallInfo()
429 if (*MMI == nullptr) in collectCallInfo()
433 if (MMI == Context.MovVector.begin()) in collectCallInfo()
438 for (; MMI != MME; ++MMI) in collectCallInfo()
439 if (*MMI != nullptr) in collectCallInfo()
DX86TargetObjectFile.cpp28 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
47 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
53 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()
523 MCSymbol *S = MMI->getContext().getOrCreateSymbol(StringRef("@feat.00")); in EmitStartOfAsmFile()
535 S, MCConstantExpr::create(int64_t(1), MMI->getContext())); in EmitStartOfAsmFile()
592 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in EmitEndOfAsmFile()
661 if (TT.isKnownWindowsMSVCEnvironment() && MMI->usesVAFloatArgument()) { in EmitEndOfAsmFile()
664 MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName); in EmitEndOfAsmFile()
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp52 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
53 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
60 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
75 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
/external/llvm/lib/Target/ARM/
DARMTargetObjectFile.cpp45 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
49 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
DThumb1FrameLowering.cpp91 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
92 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
125 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
137 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
200 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
228 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
246 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
253 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
271 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
DARMFrameLowering.cpp208 void emitDefCFAOffsets(MachineModuleInfo &MMI, MachineBasicBlock &MBB, in emitDefCFAOffsets()
216 unsigned CFIIndex = MMI.addFrameInst( in emitDefCFAOffsets()
295 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
296 MCContext &Context = MMI.getContext(); in emitPrologue()
344 DefCFAOffsetCandidates.emitDefCFAOffsets(MMI, MBB, dl, TII, HasFP); in emitPrologue()
531 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
539 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
574 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
598 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
620 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
[all …]
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h124 MachineModuleInfo *MMI, MCStreamer &Streamer) const;
136 MachineModuleInfo *MMI) const;
178 MachineModuleInfo *MMI, in getIndirectSymViaGOTPCRel() argument
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp322 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
323 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
346 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
361 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
375 unsigned CFIIndex = MMI.addFrameInst( in emitPrologue()
405 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()

123