Home | History | Annotate | Download | only in PowerPC

Lines Matching refs:TOC

68   MapVector<MCSymbol *, MCSymbol *> TOC;
84 if (!TOC.empty())
85 TOC.clear();
304 /// lookUpOrCreateTOCEntry -- Given a symbol, look up whether a TOC entry
306 /// the TOC entry.
308 MCSymbol *&TOCEntry = TOC[Sym];
380 // Save the current TOC pointer before the remote call.
391 // Load the new TOC pointer and the function address, but not r11
412 // Restore the TOC pointer after the call.
575 // Map symbol -> label of TOC entry
615 // reference to the TOC entry we will synthesize later.
619 // Map symbol -> label of TOC entry
647 // address, then generate a TOC entry and reference that. Otherwise
687 // associated TOC entry. Otherwise reference the symbol directly.
729 // generate a TOC entry and reference that. Otherwise reference the
1084 // the text section and its associated TOC section. We place the
1085 // full 8-byte offset to the TOC in memory immediatedly preceding
1091 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));
1117 MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC."));
1118 // Generates a R_PPC64_TOC relocation for TOC base insertion.
1135 if (!TOC.empty()) {
1140 ".toc", ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
1146 for (MapVector<MCSymbol*, MCSymbol*>::iterator I = TOC.begin(),
1147 E = TOC.end(); I != E; ++I) {
1162 // In the ELFv2 ABI, in functions that use the TOC register, we need to
1164 // local entry point, r2 is set up by the caller to contain the TOC base
1172 // addis r2,r12,(.TOC.-.Lfunc_gepNN)@ha
1173 // addi r2,r2,(.TOC.-.Lfunc_gepNN)@l
1181 // .quad .TOC.-.Lfunc_gepNN # done by EmitFunctionEntryLabel
1204 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));