Home
last modified time | relevance | path

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

/external/llvm-project/lld/wasm/
DSymbols.cpp88 if (isa<FunctionSymbol>(this)) in getWasmType()
102 if (auto* f = dyn_cast<FunctionSymbol>(this)) in getSignature()
210 uint32_t FunctionSymbol::getFunctionIndex() const { in getFunctionIndex()
222 void FunctionSymbol::setFunctionIndex(uint32_t index) { in setFunctionIndex()
228 bool FunctionSymbol::hasFunctionIndex() const { in hasFunctionIndex()
234 uint32_t FunctionSymbol::getTableIndex() const { in getTableIndex()
241 bool FunctionSymbol::hasTableIndex() const { in hasTableIndex()
247 void FunctionSymbol::setTableIndex(uint32_t index) { in setTableIndex()
262 : FunctionSymbol(name, DefinedFunctionKind, flags, f, in DefinedFunction()
DSymbolTable.cpp144 static bool signatureMatches(FunctionSymbol *existing, in signatureMatches()
308 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addDefinedFunction()
483 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addUndefinedFunction()
705 assert(!isa<FunctionSymbol>(sym)); in handleWeakUndefines()
729 FunctionSymbol *a, in reportFunctionSignatureMismatch()
730 FunctionSymbol *b, bool isError) { in reportFunctionSignatureMismatch()
754 auto *f = cast<FunctionSymbol>(s); in handleSymbolVariants()
774 cast<FunctionSymbol>(variants[0]), in handleSymbolVariants()
775 cast<FunctionSymbol>(variants[1]), true); in handleSymbolVariants()
781 auto *f = cast<FunctionSymbol>(symbol); in handleSymbolVariants()
DSyntheticSections.cpp116 if (auto *f = dyn_cast<FunctionSymbol>(sym)) in addImport()
171 if (auto *functionSym = dyn_cast<FunctionSymbol>(sym)) { in writeBody()
283 if (auto *F = dyn_cast<FunctionSymbol>(sym)) in addInternalGOTEntry()
305 } else if (auto *f = dyn_cast<FunctionSymbol>(sym)) { in generateRelocationCode()
342 else if (auto *f = dyn_cast<FunctionSymbol>(sym)) in writeBody()
383 void ElemSection::addEntry(FunctionSymbol *sym) { in addEntry()
410 for (const FunctionSymbol *sym : indirectFunctions) { in writeBody()
448 if (auto *f = dyn_cast<FunctionSymbol>(sym)) { in writeBody()
576 if (auto *f = dyn_cast<FunctionSymbol>(s)) { in writeBody()
DSymbols.h171 class FunctionSymbol : public Symbol {
191 FunctionSymbol(StringRef name, Kind k, uint32_t flags, InputFile *f, in FunctionSymbol() function
199 class DefinedFunction : public FunctionSymbol {
211 class UndefinedFunction : public FunctionSymbol {
218 : FunctionSymbol(name, UndefinedFunctionKind, flags, file, type), in FunctionSymbol() function
DSyntheticSections.h32 const FunctionSymbol *sym;
258 void addEntry(FunctionSymbol *sym);
262 std::vector<const FunctionSymbol *> indirectFunctions;
DRelocations.cpp109 out.elemSec->addEntry(cast<FunctionSymbol>(sym)); in scanRelocations()
DMarkLive.cpp141 auto *funcSym = cast<FunctionSymbol>(sym); in mark()
DInputFiles.cpp210 if ((isa<FunctionSymbol>(sym) || isa<DataSymbol>(sym)) && !sym->isLive()) in calcNewValue()
436 FunctionSymbol *ObjFile::getFunctionSymbol(uint32_t index) const { in getFunctionSymbol()
437 return cast<FunctionSymbol>(symbols[index]); in getFunctionSymbol()
DInputFiles.h146 FunctionSymbol *getFunctionSymbol(uint32_t index) const;
DWriter.cpp674 if (auto *f = dyn_cast<FunctionSymbol>(sym)) in calculateTypes()
1180 FunctionSymbol *sym = file->getFunctionSymbol(f.Symbol); in calculateInitFunctions()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp171 const MCSymbol *FunctionSymbol = getSymbol(F); in EmitInterruptVectorSection() local
172 OutStreamer->emitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in EmitInterruptVectorSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp171 const MCSymbol *FunctionSymbol = getSymbol(F); in EmitInterruptVectorSection() local
172 OutStreamer->EmitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in EmitInterruptVectorSection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h251 FunctionSymbol, enumerator
619 FunctionSymbolNode() : SymbolNode(NodeKind::FunctionSymbol) {} in FunctionSymbolNode()
/external/llvm-project/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h251 FunctionSymbol, enumerator
619 FunctionSymbolNode() : SymbolNode(NodeKind::FunctionSymbol) {} in FunctionSymbolNode()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1068 const MCSymbol *FunctionSymbol = getFunctionBegin(); in emitBBAddrMapSection() local
1072 OutStreamer->emitSymbolValue(FunctionSymbol, getPointerSize()); in emitBBAddrMapSection()
1078 MBB.isEntryBlock() ? FunctionSymbol : MBB.getSymbol(); in emitBBAddrMapSection()
1080 emitLabelDifferenceAsULEB128(MBBSymbol, FunctionSymbol); in emitBBAddrMapSection()
1106 const MCSymbol *FunctionSymbol = getFunctionBegin(); in emitStackSizeSection() local
1108 OutStreamer->emitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in emitStackSizeSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1030 const MCSymbol *FunctionSymbol = getFunctionBegin(); in emitStackSizeSection() local
1032 OutStreamer->EmitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in emitStackSizeSection()