Home | History | Annotate | Download | only in AsmPrinter

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) {
63 MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr);
65 AP.OutStreamer->EmitSymbolAttribute(Sym, MCSA_Global);
66 AP.OutStreamer->EmitLabel(Sym);
70 AsmPrinter &AP) {
71 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection());
72 EmitCamlGlobal(M, AP, "code_begin");
74 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
75 EmitCamlGlobal(M, AP, "data_begin");
95 AsmPrinter &AP) {
98 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection());
99 EmitCamlGlobal(M, AP, "code_end");
101 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
102 EmitCamlGlobal(M, AP, "data_end");
105 AP.OutStreamer->EmitIntValue(0, IntPtrSize);
107 AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
108 EmitCamlGlobal(M, AP, "frametable");
127 AP.EmitInt16(NumDescriptors);
128 AP.EmitAlignment(IntPtrSize == 4 ? 2 : 3);
149 AP.OutStreamer->AddComment("live roots for " +
151 AP.OutStreamer->AddBlankLine();
163 AP.OutStreamer->EmitSymbolValue(J->Label, IntPtrSize);
164 AP.EmitInt16(FrameSize);
165 AP.EmitInt16(LiveCount);
176 AP.EmitInt16(K->StackOffset);
179 AP.EmitAlignment(IntPtrSize == 4 ? 2 : 3);