Lines Matching refs:AP

37   void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
38 void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
47 static void EmitCamlGlobal(const Module &M, AsmPrinter &AP, const char *Id) { in EmitCamlGlobal() argument
63 MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr); in EmitCamlGlobal()
65 AP.OutStreamer->EmitSymbolAttribute(Sym, MCSA_Global); in EmitCamlGlobal()
66 AP.OutStreamer->EmitLabel(Sym); in EmitCamlGlobal()
70 AsmPrinter &AP) { in beginAssembly() argument
71 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection()); in beginAssembly()
72 EmitCamlGlobal(M, AP, "code_begin"); in beginAssembly()
74 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in beginAssembly()
75 EmitCamlGlobal(M, AP, "data_begin"); in beginAssembly()
95 AsmPrinter &AP) { in finishAssembly() argument
98 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection()); in finishAssembly()
99 EmitCamlGlobal(M, AP, "code_end"); in finishAssembly()
101 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
102 EmitCamlGlobal(M, AP, "data_end"); in finishAssembly()
105 AP.OutStreamer->EmitIntValue(0, IntPtrSize); in finishAssembly()
107 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
108 EmitCamlGlobal(M, AP, "frametable"); in finishAssembly()
127 AP.EmitInt16(NumDescriptors); in finishAssembly()
128 AP.EmitAlignment(IntPtrSize == 4 ? 2 : 3); in finishAssembly()
149 AP.OutStreamer->AddComment("live roots for " + in finishAssembly()
151 AP.OutStreamer->AddBlankLine(); in finishAssembly()
163 AP.OutStreamer->EmitSymbolValue(J->Label, IntPtrSize); in finishAssembly()
164 AP.EmitInt16(FrameSize); in finishAssembly()
165 AP.EmitInt16(LiveCount); in finishAssembly()
176 AP.EmitInt16(K->StackOffset); in finishAssembly()
179 AP.EmitAlignment(IntPtrSize == 4 ? 2 : 3); in finishAssembly()