| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | Symbols.cpp | 104 if (isa<FunctionSymbol>(this)) in getWasmType() 120 if (auto* f = dyn_cast<FunctionSymbol>(this)) in getSignature() 251 uint32_t FunctionSymbol::getFunctionIndex() const { in getFunctionIndex() 261 void FunctionSymbol::setFunctionIndex(uint32_t index) { in setFunctionIndex() 267 bool FunctionSymbol::hasFunctionIndex() const { in hasFunctionIndex() 273 uint32_t FunctionSymbol::getTableIndex() const { in getTableIndex() 280 bool FunctionSymbol::hasTableIndex() const { in hasTableIndex() 286 void FunctionSymbol::setTableIndex(uint32_t index) { in setTableIndex() 301 : FunctionSymbol(name, DefinedFunctionKind, flags, f, in DefinedFunction()
|
| H A D | SymbolTable.cpp | 150 static bool signatureMatches(FunctionSymbol *existing, in signatureMatches() 336 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addDefinedFunction() 539 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addUndefinedFunction() 880 assert(!isa<FunctionSymbol>(sym)); in handleWeakUndefines() 904 FunctionSymbol *a, in reportFunctionSignatureMismatch() 905 FunctionSymbol *b, bool isError) { in reportFunctionSignatureMismatch() 929 auto *f = cast<FunctionSymbol>(s); in handleSymbolVariants() 949 cast<FunctionSymbol>(variants[0]), in handleSymbolVariants() 950 cast<FunctionSymbol>(variants[1]), true); in handleSymbolVariants() 956 auto *f = cast<FunctionSymbol>(symbol); in handleSymbolVariants()
|
| H A D | SyntheticSections.cpp | 191 if (auto *f = dyn_cast<FunctionSymbol>(sym)) { in addImport() 262 if (auto *functionSym = dyn_cast<FunctionSymbol>(sym)) { in writeBody() 411 if (auto *F = dyn_cast<FunctionSymbol>(sym)) { in addInternalGOTEntry() 442 } else if (auto *f = dyn_cast<FunctionSymbol>(sym)) { in generateRelocationCode() 505 else if (auto *f = dyn_cast<FunctionSymbol>(sym)) in writeBody() 546 void ElemSection::addEntry(FunctionSymbol *sym) { in addEntry() 592 for (const FunctionSymbol *sym : indirectFunctions) { in writeBody() 631 if (auto *f = dyn_cast<FunctionSymbol>(sym)) { in writeBody() 777 if (auto *f = dyn_cast<FunctionSymbol>(s)) { in writeBody() 818 if (isa<FunctionSymbol>(s)) in writeBody()
|
| H A D | Symbols.h | 189 class FunctionSymbol : public Symbol { 209 FunctionSymbol(StringRef name, Kind k, uint32_t flags, InputFile *f, in FunctionSymbol() function 217 class DefinedFunction : public FunctionSymbol { 235 class UndefinedFunction : public FunctionSymbol { 242 : FunctionSymbol(name, UndefinedFunctionKind, flags, file, type), in FunctionSymbol() function
|
| H A D | SyntheticSections.h | 33 const FunctionSymbol *sym; 334 void addEntry(FunctionSymbol *sym); 338 std::vector<const FunctionSymbol *> indirectFunctions;
|
| H A D | Relocations.cpp | 109 out.elemSec->addEntry(cast<FunctionSymbol>(sym)); in scanRelocations()
|
| H A D | MarkLive.cpp | 134 auto *funcSym = cast<FunctionSymbol>(sym); in mark()
|
| H A D | InputFiles.h | 148 FunctionSymbol *getFunctionSymbol(uint32_t index) const;
|
| H A D | InputFiles.cpp | 549 FunctionSymbol *ObjFile::getFunctionSymbol(uint32_t index) const { in getFunctionSymbol() 550 return cast<FunctionSymbol>(symbols[index]); in getFunctionSymbol()
|
| H A D | Writer.cpp | 755 if (auto *f = dyn_cast<FunctionSymbol>(sym)) in calculateTypes() 1500 FunctionSymbol *sym = file->getFunctionSymbol(f.Symbol); in calculateInitFunctions()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/ |
| H A D | MSP430AsmPrinter.cpp | 174 const MCSymbol *FunctionSymbol = getSymbol(F); in EmitInterruptVectorSection() local 175 OutStreamer->emitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in EmitInterruptVectorSection()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 218 const MCSymbol *FunctionSymbol; member 834 getExceptionOffset(Entry->second.FunctionSymbol), in writeSymbolEntryForCsectMemberLabel() 836 SymbolIndexMap[Entry->second.FunctionSymbol] + 4); in writeSymbolEntryForCsectMemberLabel() 842 getExceptionOffset(Entry->second.FunctionSymbol), in writeSymbolEntryForCsectMemberLabel() 845 ? SymbolIndexMap[Entry->second.FunctionSymbol] + 4 in writeSymbolEntryForCsectMemberLabel() 846 : SymbolIndexMap[Entry->second.FunctionSymbol] + 3); in writeSymbolEntryForCsectMemberLabel() 1213 NewEntry.FunctionSymbol = Symbol; in addExceptionEntry() 1238 if (Symbol == it->second.FunctionSymbol) in getExceptionOffset() 1491 W.write<uint32_t>(SymbolIndexMap[it->second.FunctionSymbol]); in writeSectionForExceptionSectionEntry()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangleNodes.h | 253 FunctionSymbol, enumerator 619 FunctionSymbolNode() : SymbolNode(NodeKind::FunctionSymbol) {} in FunctionSymbolNode()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 1335 const MCSymbol *FunctionSymbol = getFunctionBegin(); in emitBBAddrMapSection() local 1345 OutStreamer->emitSymbolValue(FunctionSymbol, getPointerSize()); in emitBBAddrMapSection() 1348 const MCSymbol *PrevMBBEndSymbol = FunctionSymbol; in emitBBAddrMapSection() 1352 MBB.isEntryBlock() ? FunctionSymbol : MBB.getSymbol(); in emitBBAddrMapSection() 1424 const MCSymbol *FunctionSymbol = getFunctionBegin(); in emitStackSizeSection() local 1427 OutStreamer->emitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in emitStackSizeSection()
|