Home
last modified time | relevance | path

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

123

/freebsd-9-stable/contrib/llvm/lib/CodeGen/AsmPrinter/
DWin64Exception.cpp58 bool hasLandingPads = !MMI->getLandingPads().empty(); in BeginFunction()
64 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in BeginFunction()
99 MMI->TidyLandingPads(); in EndFunction()
103 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in EndFunction()
104 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); in EndFunction()
DDwarfCFIException.cpp67 const std::vector<const Function*> &Personalities = MMI->getPersonalities(); in EndModule()
91 bool hasLandingPads = !MMI->getLandingPads().empty(); in BeginFunction()
104 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in BeginFunction()
122 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); in BeginFunction()
153 MMI->TidyLandingPads(); in EndFunction()
DARMException.cpp79 MMI->TidyLandingPads(); in EndFunction()
81 if (!MMI->getLandingPads().empty()) { in EndFunction()
84 MMI->getPersonalities()[MMI->getPersonalityIndex()]) { in EndFunction()
103 const std::vector<const GlobalVariable *> &TypeInfos = MMI->getTypeInfos(); in EmitTypeInfos()
104 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in EmitTypeInfos()
DDwarfException.cpp41 : Asm(A), MMI(Asm->MMI) {} in DwarfException()
103 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in ComputeActionsTable()
308 unsigned SiteNo = MMI->getCallSiteBeginLabel(BeginLabel); in ComputeCallSiteTable()
348 const std::vector<const GlobalVariable *> &TypeInfos = MMI->getTypeInfos(); in EmitExceptionTable()
349 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in EmitExceptionTable()
350 const std::vector<LandingPadInfo> &PadInfos = MMI->getLandingPads(); in EmitExceptionTable()
680 const std::vector<const GlobalVariable *> &TypeInfos = MMI->getTypeInfos(); in EmitTypeInfos()
681 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in EmitTypeInfos()
DAsmPrinterInlineAsm.cpp92 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm()
141 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitMSInlineAsmStr() argument
229 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
239 MachineModuleInfo *MMI, int InlineAsmVariant, in EmitGCCInlineAsmStr() argument
401 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
471 EmitGCCInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AsmPrinterVariant, in EmitInlineAsm()
474 EmitMSInlineAsmStr(AsmStr, MI, MMI, InlineAsmVariant, AP, LocCookie, OS); in EmitInlineAsm()
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp42 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
43 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
50 MCSymbol *AdjustSPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
53 MMI.addFrameInst( in emitPrologue()
56 MCSymbol *CSLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
60 MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, S2, -8)); in emitPrologue()
63 MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, S1, -12)); in emitPrologue()
66 MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, S0, -16)); in emitPrologue()
69 MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, RA, -4)); in emitPrologue()
DMipsSEFrameLowering.cpp294 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
295 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
302 MCSymbol *AdjustSPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
305 MMI.addFrameInst( in emitPrologue()
318 MCSymbol *CSLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
338 MMI.addFrameInst( in emitPrologue()
340 MMI.addFrameInst( in emitPrologue()
344 MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
363 MCSymbol *CSLabel2 = MMI.getContext().CreateTempSymbol(); in emitPrologue()
369 MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel2, Reg, Offset)); in emitPrologue()
[all …]
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp153 MachineModuleInfo &MMI = MF->getMMI(); in set() local
157 if (MMI.hasDebugInfo() && in set()
172 MMI.setVariableDbgInfo(DI->getVariable(), in set()
427 MachineModuleInfo *MMI) in ComputeUsesVAFloatArgument() argument
431 if (FT->isVarArg() && !MMI->usesVAFloatArgument()) { in ComputeUsesVAFloatArgument()
437 MMI->setUsesVAFloatArgument(true); in ComputeUsesVAFloatArgument()
447 void llvm::AddCatchInfo(const CallInst &I, MachineModuleInfo *MMI, in AddCatchInfo() argument
454 MMI->addPersonality(MBB, cast<Function>(CE->getOperand(0))); in AddCatchInfo()
471 MMI->addCatchTypeInfo(MBB, TyInfo); in AddCatchInfo()
477 MMI->addCleanup(MBB); in AddCatchInfo()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp90 MachineModuleInfo *MMI = &MF.getMMI(); in emitPrologue() local
91 const MCRegisterInfo *MRI = MMI->getContext().getRegisterInfo(); in emitPrologue()
137 MCSymbol *FrameLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue()
139 MMI->addFrameInst(MCCFIInstruction::createDefCfaOffset(FrameLabel, in emitPrologue()
143 MMI->addFrameInst(MCCFIInstruction::createOffset(FrameLabel, Reg, 0)); in emitPrologue()
153 MCSymbol *SaveLRLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue()
156 MMI->addFrameInst(MCCFIInstruction::createOffset(SaveLRLabel, Reg, in emitPrologue()
168 MCSymbol *SaveR10Label = MMI->getContext().CreateTempSymbol(); in emitPrologue()
171 MMI->addFrameInst(MCCFIInstruction::createOffset(SaveR10Label, Reg, in emitPrologue()
179 MCSymbol *FrameLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue()
[all …]
/freebsd-9-stable/contrib/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.cpp49 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
92 MachineModuleInfo *MMI, unsigned Encoding, in getTTypeGlobalReference() argument
96 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference()
117 getTTypeGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getTTypeGlobalReference()
627 MachineModuleInfo *MMI, unsigned Encoding, in getTTypeGlobalReference() argument
633 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getTTypeGlobalReference()
656 getTTypeGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getTTypeGlobalReference()
661 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
664 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in getCFIPersonalitySymbol()
DLLVMTargetMachine.cpp114 MachineModuleInfo *MMI = in addPassesToGenerateCode() local
117 PM.add(MMI); in addPassesToGenerateCode()
136 return &MMI->getContext(); in addPassesToGenerateCode()
/freebsd-9-stable/contrib/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp21 MachineModuleInfo *MMI, unsigned Encoding, in getTTypeGlobalReference() argument
25 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference()
47 getTTypeGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getTTypeGlobalReference()
DSparcFrameLowering.cpp105 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
106 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
107 MCSymbol *FrameLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
113 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister(FrameLabel, in emitPrologue()
116 MMI.addFrameInst(MCCFIInstruction::createWindowSave(FrameLabel)); in emitPrologue()
121 MMI.addFrameInst(MCCFIInstruction::createRegister(FrameLabel, in emitPrologue()
/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h62 MachineModuleInfo *MMI, unsigned Encoding,
68 MachineModuleInfo *MMI) const;
109 MachineModuleInfo *MMI, unsigned Encoding,
115 MachineModuleInfo *MMI) const;
DFunctionLoweringInfo.h220 void ComputeUsesVAFloatArgument(const CallInst &I, MachineModuleInfo *MMI);
225 MachineModuleInfo *MMI, MachineBasicBlock *MBB);
229 void AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI,
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp22 MachineModuleInfo *MMI, unsigned Encoding, in getTTypeGlobalReference() argument
36 getTTypeGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getTTypeGlobalReference()
41 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
DX86AsmPrinter.cpp109 MMI->getObjFileInfo<MachineModuleInfoMachO>().getGVStubEntry(Sym); in printSymbolOperand()
116 MMI->getObjFileInfo<MachineModuleInfoMachO>().getHiddenGVStubEntry(Sym); in printSymbolOperand()
123 MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym); in printSymbolOperand()
147 MMI->getObjFileInfo<MachineModuleInfoMachO>().getFnStubEntry(Sym); in printSymbolOperand()
529 MCSymbol *S = MMI->getContext().GetOrCreateSymbol(StringRef("@feat.00")); in EmitStartOfAsmFile()
542 S, MCConstantExpr::Create(int64_t(1), MMI->getContext())); in EmitStartOfAsmFile()
552 MMI->getObjFileInfo<MachineModuleInfoMachO>(); in EmitEndOfAsmFile()
644 MMI->usesVAFloatArgument()) { in EmitEndOfAsmFile()
646 MCSymbol *S = MMI->getContext().GetOrCreateSymbol(SymbolName); in EmitEndOfAsmFile()
652 MMI->getObjFileInfo<X86COFFMachineModuleInfo>(); in EmitEndOfAsmFile()
[all …]
DX86TargetObjectFile.h25 MachineModuleInfo *MMI, unsigned Encoding,
32 MachineModuleInfo *MMI) const;
DX86FrameLowering.cpp47 const MachineModuleInfo &MMI = MF.getMMI(); in hasFP() local
55 MMI.callsUnwindInit() || MMI.callsEHReturn()); in hasFP()
309 MachineModuleInfo &MMI = MF.getMMI(); in emitCalleeSavedFrameMoves() local
310 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitCalleeSavedFrameMoves()
364 MMI.addFrameInst(MCCFIInstruction::createOffset(Label, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
395 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
397 bool needsFrameMoves = MMI.hasDebugInfo() || in emitPrologue()
504 MCSymbol *FrameLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
510 MMI.addFrameInst( in emitPrologue()
515 MMI.addFrameInst(MCCFIInstruction::createOffset(FrameLabel, DwarfFramePtr, in emitPrologue()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp56 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
57 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
58 bool NeedsFrameMoves = MMI.hasDebugInfo() in emitPrologue()
95 MCSymbol *SPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
101 MMI.addFrameInst( in emitPrologue()
132 MCSymbol *FPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
137 MMI.addFrameInst(MCCFIInstruction::createDefCfa(FPLabel, Reg, Offset)); in emitPrologue()
163 CSLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
170 MMI.addFrameInst(MCCFIInstruction::createDefCfa(CSLabel, Reg, -Offset)); in emitPrologue()
178 CSLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp319 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
320 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
336 MCSymbol *GPRSaveLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
344 MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
357 MCSymbol *AdjustSPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
360 MMI.addFrameInst(MCCFIInstruction::createDefCfaOffset( in emitPrologue()
371 MCSymbol *SetFPLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
375 MMI.addFrameInst( in emitPrologue()
401 FPRSaveLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
404 MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
/freebsd-9-stable/contrib/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h117 MachineModuleInfo *MMI, unsigned Encoding,
127 MachineModuleInfo *MMI) const;
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp342 MachineModuleInfo &MMI = MF.getMMI(); in emitPrologue() local
343 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); in emitPrologue()
345 bool needsFrameMoves = MMI.hasDebugInfo() || in emitPrologue()
565 FrameLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
570 MMI.addFrameInst( in emitPrologue()
575 MMI.addFrameInst( in emitPrologue()
581 MMI.addFrameInst( in emitPrologue()
587 MMI.addFrameInst( in emitPrologue()
601 ReadyLabel = MMI.getContext().CreateTempSymbol(); in emitPrologue()
607 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister(ReadyLabel, Reg)); in emitPrologue()
[all …]
DPPCCodeEmitter.cpp33 MachineModuleInfo *MMI; member in __anon89a691ad0111::PPCCodeEmitter
102 MMI = &getAnalysis<MachineModuleInfo>(); in runOnMachineFunction()
103 MCE.setModuleInfo(MMI); in runOnMachineFunction()

123