Home
last modified time | relevance | path

Searched refs:FunctionSymbol (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/gnu/llvm/lld/wasm/
H A DSymbols.cpp104 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 DSymbolTable.cpp150 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 DSyntheticSections.cpp191 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 DSymbols.h189 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 DSyntheticSections.h33 const FunctionSymbol *sym;
334 void addEntry(FunctionSymbol *sym);
338 std::vector<const FunctionSymbol *> indirectFunctions;
H A DRelocations.cpp109 out.elemSec->addEntry(cast<FunctionSymbol>(sym)); in scanRelocations()
H A DMarkLive.cpp134 auto *funcSym = cast<FunctionSymbol>(sym); in mark()
H A DInputFiles.h148 FunctionSymbol *getFunctionSymbol(uint32_t index) const;
H A DInputFiles.cpp549 FunctionSymbol *ObjFile::getFunctionSymbol(uint32_t index) const { in getFunctionSymbol()
550 return cast<FunctionSymbol>(symbols[index]); in getFunctionSymbol()
H A DWriter.cpp755 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 DMSP430AsmPrinter.cpp174 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 DXCOFFObjectWriter.cpp218 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 DMicrosoftDemangleNodes.h253 FunctionSymbol, enumerator
619 FunctionSymbolNode() : SymbolNode(NodeKind::FunctionSymbol) {} in FunctionSymbolNode()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1335 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()