Lines Matching refs:AP

40   void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
41 void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
51 static void EmitCamlGlobal(const Module &M, AsmPrinter &AP, const char *Id) { in EmitCamlGlobal() argument
67 MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr); in EmitCamlGlobal()
69 AP.OutStreamer->emitSymbolAttribute(Sym, MCSA_Global); in EmitCamlGlobal()
70 AP.OutStreamer->emitLabel(Sym); in EmitCamlGlobal()
74 AsmPrinter &AP) { in beginAssembly() argument
75 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection()); in beginAssembly()
76 EmitCamlGlobal(M, AP, "code_begin"); in beginAssembly()
78 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in beginAssembly()
79 EmitCamlGlobal(M, AP, "data_begin"); in beginAssembly()
99 AsmPrinter &AP) { in finishAssembly() argument
102 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection()); in finishAssembly()
103 EmitCamlGlobal(M, AP, "code_end"); in finishAssembly()
105 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
106 EmitCamlGlobal(M, AP, "data_end"); in finishAssembly()
109 AP.OutStreamer->emitIntValue(0, IntPtrSize); in finishAssembly()
111 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
112 EmitCamlGlobal(M, AP, "frametable"); in finishAssembly()
131 AP.emitInt16(NumDescriptors); in finishAssembly()
132 AP.emitAlignment(IntPtrSize == 4 ? Align(4) : Align(8)); in finishAssembly()
154 AP.OutStreamer->AddComment("live roots for " + in finishAssembly()
156 AP.OutStreamer->AddBlankLine(); in finishAssembly()
168 AP.OutStreamer->emitSymbolValue(J->Label, IntPtrSize); in finishAssembly()
169 AP.emitInt16(FrameSize); in finishAssembly()
170 AP.emitInt16(LiveCount); in finishAssembly()
181 AP.emitInt16(K->StackOffset); in finishAssembly()
184 AP.emitAlignment(IntPtrSize == 4 ? Align(4) : Align(8)); in finishAssembly()