Searched refs:Sym (Results 76 - 100 of 293) sorted by relevance

1234567891011>>

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h64 if (auto Sym = CompileLayer.findSymbol(Name, false))
65 return Sym.toRuntimeDyldSymbol();
/external/llvm/lib/Object/
H A DRecordStreamer.cpp66 void RecordStreamer::visitUsedSymbol(const MCSymbol &Sym) { markUsed(Sym); } argument
/external/swiftshader/third_party/LLVM/include/llvm/Target/
H A DTargetLoweringObjectFile.h55 const MCSymbol *Sym) const;
122 getExprForDwarfReference(const MCSymbol *Sym, unsigned Encoding,
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A DWin64Exception.cpp105 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); local
109 Asm->OutStreamer.EmitValue(MCSymbolRefExpr::Create(Sym, Asm->OutContext),
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
H A DX86MCAsmInfo.cpp112 X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym, argument
117 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Context);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp175 SymbolRef Sym = Val.getAsSymbol(); local
176 if (!Sym)
180 State = State->add<MarkedSymbols>(Sym);
189 SymbolRef Sym = *I; local
190 if (!SymReaper.isDead(Sym))
194 State = State->remove<MarkedSymbols>(Sym);
H A DMallocChecker.cpp324 bool isReleased(SymbolRef Sym, CheckerContext &C) const;
326 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const;
328 void checkUseZeroAllocated(SymbolRef Sym, CheckerContext &C,
331 bool checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const;
363 Optional<CheckKind> getCheckIfTracked(CheckerContext &C, SymbolRef Sym,
374 SymbolRef Sym, bool OwnershipTransferred) const;
379 SymbolRef Sym) const;
381 SymbolRef Sym, SymbolRef PrevSym) const;
383 void ReportDoubleDelete(CheckerContext &C, SymbolRef Sym) const;
386 SymbolRef Sym) cons
407 SymbolRef Sym; member in class:__anon1675::MallocChecker::final
901 SymbolRef Sym = retVal.getAsLocSymbol(); local
1186 didPreviousFreeFail(ProgramStateRef State, SymbolRef Sym, SymbolRef &RetStatusSymbol) argument
1501 getCheckIfTracked(CheckerContext &C, SymbolRef Sym, bool IsALeakCheck) const argument
1670 ReportMismatchedDealloc(CheckerContext &C, SourceRange Range, const Expr *DeallocExpr, const RefState *RS, SymbolRef Sym, bool OwnershipTransferred) const argument
1808 ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released, SymbolRef Sym, SymbolRef PrevSym) const argument
2017 getAllocationSite(const ExplodedNode *N, SymbolRef Sym, CheckerContext &C) const argument
2058 reportLeak(SymbolRef Sym, ExplodedNode *N, CheckerContext &C) const argument
2185 SymbolRef Sym = DC->getCXXThisVal().getAsSymbol(); local
2210 SymbolRef Sym = CC->getCXXThisVal().getAsSymbol(); local
2219 SymbolRef Sym = ArgSVal.getAsSymbol(); local
2236 SymbolRef Sym = RetVal.getAsSymbol(); local
2292 isReleased(SymbolRef Sym, CheckerContext &C) const argument
2298 checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const argument
2309 checkUseZeroAllocated(SymbolRef Sym, CheckerContext &C, const Stmt *S) const argument
2322 checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const argument
2334 SymbolRef Sym = l.getLocSymbolInBase(); local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineModuleInfo.h367 void setCallSiteLandingPad(MCSymbol *Sym, ArrayRef<unsigned> Sites);
371 SmallVectorImpl<unsigned> &getCallSiteLandingPad(MCSymbol *Sym) { argument
372 assert(hasCallSiteLandingPad(Sym) &&
374 return LPadToCallSiteMap[Sym];
379 bool hasCallSiteLandingPad(MCSymbol *Sym) { argument
380 return !LPadToCallSiteMap[Sym].empty();
/external/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h92 const MCSymbol *Sym; member in struct:llvm::MachObjectWriter::RelAndSymbol
94 RelAndSymbol(const MCSymbol *Sym, const MachO::any_relocation_info &MRE) argument
95 : Sym(Sym), MRE(MRE) {}
114 MachSymbolData *findSymbolData(const MCSymbol &Sym);
121 const MCSymbol &findAliasedSymbol(const MCSymbol &Sym) const;
/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp123 const MCSymbol *Sym) const {
296 getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding, argument
303 return Sym;
310 return MCBinaryExpr::createSub(Sym, PC, getContext());
315 const MCExpr *TargetLoweringObjectFile::getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
318 return MCSymbolRefExpr::create(Sym, *Ctx);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineModuleInfo.h336 void setCallSiteLandingPad(MCSymbol *Sym, ArrayRef<unsigned> Sites);
340 SmallVectorImpl<unsigned> &getCallSiteLandingPad(MCSymbol *Sym) { argument
341 assert(hasCallSiteLandingPad(Sym) &&
343 return LPadToCallSiteMap[Sym];
348 bool hasCallSiteLandingPad(MCSymbol *Sym) { argument
349 return !LPadToCallSiteMap[Sym].empty();
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCContext.cpp71 MCSymbol *Sym = Entry.getValue(); local
73 if (Sym)
74 return Sym;
76 Sym = CreateSymbol(Name);
77 Entry.setValue(Sym);
78 return Sym;
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
H A DELFAsmParser.cpp171 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
173 getStreamer().EmitSymbolAttribute(Sym, Attr);
204 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);;
217 getStreamer().EmitELFSize(Sym, Expr);
455 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
489 getStreamer().EmitSymbolAttribute(Sym, Attr);
543 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); local
544 const MCExpr *Value = MCSymbolRefExpr::Create(Sym, getContext());
570 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); local
572 getStreamer().EmitWeakReference(Alias, Sym);
[all...]
H A DAsmParser.cpp496 MCSymbol *Sym = i->getValue(); local
500 if (Sym->isTemporary() && !Sym->isVariable() && !Sym->isDefined())
505 Sym->getName() + "' not defined", "error", false);
608 MCSymbol *Sym = getContext().GetOrCreateSymbol(Split.first); local
622 if (Sym->isVariable() && isa<MCConstantExpr>(Sym->getVariableValue())) {
626 Res = Sym->getVariableValue();
631 Res = MCSymbolRefExpr::Create(Sym, Varian
644 MCSymbol *Sym = Ctx.GetDirectionalLocalSymbol(IntVal, local
666 MCSymbol *Sym = Ctx.CreateTempSymbol(); local
1541 MCSymbol *Sym = getContext().LookupSymbol(Name); local
2219 MCSymbol *Sym = getContext().LookupSymbol(Name); local
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp193 MCSymbol *Sym; local
217 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName));
218 if (Sym->isUndefined()) {
219 OutStreamer.EmitLabel(Sym);
220 OutStreamer.EmitSymbolAttribute(Sym, MCSA_Global);
245 Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName));
246 if (Sym->isUndefined()) {
247 OutStreamer.EmitLabel(Sym);
248 OutStreamer.EmitSymbolAttribute(Sym, MCSA_Local);
253 return Sym;
284 MCSymbol *Sym = smallData(*this, MI, *OutStreamer, Imm, 8); local
304 MCSymbol *Sym = smallData(*this, MI, *OutStreamer, Imm, 4); local
[all...]
/external/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp161 resolveSectionAndAddress(const COFFObjectFile *Obj, const SymbolRef &Sym, argument
164 Expected<uint64_t> ResolvedAddrOrErr = Sym.getAddress();
168 Expected<section_iterator> Iter = Sym.getSection();
178 uint64_t Offset, SymbolRef &Sym) {
184 Sym = *I->getSymbol();
199 SymbolRef Sym; local
200 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym))
203 if (std::error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
215 SymbolRef Sym; local
216 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym))
177 resolveSymbol(const std::vector<RelocationRef> &Rels, uint64_t Offset, SymbolRef &Sym) argument
228 StringRef Sym; local
230 Out << Sym; local
[all...]
/external/llvm/include/llvm/Object/
H A DELFObjectFile.h187 uint64_t getSymbolSize(DataRefImpl Sym) const override;
313 const Elf_Sym *getSymbol(DataRefImpl Sym) const {
314 return EF.template getEntry<Elf_Sym>(Sym.d.a, Sym.d.b);
360 void ELFObjectFile<ELFT>::moveSymbolNext(DataRefImpl &Sym) const {
361 ++Sym.d.b;
365 Expected<StringRef> ELFObjectFile<ELFT>::getSymbolName(DataRefImpl Sym) const {
366 const Elf_Sym *ESym = getSymbol(Sym);
367 const Elf_Shdr *SymTableSec = *EF.getSection(Sym.d.a);
429 const Elf_Sym *Sym local
552 const Elf_Sym *Sym = getSymbol(Symb); local
792 DataRefImpl Sym = toDRI(DotSymtabSec, 0); local
807 DataRefImpl Sym = toDRI(DotDynSymSec, 0); local
814 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); local
[all...]
/external/llvm/lib/MC/
H A DMCContext.cpp120 MCSymbol *&Sym = Symbols[NameRef]; local
121 if (!Sym)
122 Sym = createSymbol(NameRef, false, false);
124 return Sym;
128 MCSymbolELF *&Sym = SectionSymbols[&Section]; local
129 if (Sym)
130 return Sym;
134 Sym = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false);
136 return Sym;
238 MCSymbol *&Sym local
[all...]
H A DMCStreamer.cpp119 void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size, argument
125 EmitValueImpl(MCSymbolRefExpr::create(Sym, getContext()), Size);
127 EmitCOFFSecRel32(Sym);
352 void MCStreamer::EmitCFIPersonality(const MCSymbol *Sym, argument
356 CurFrame->Personality = Sym;
360 void MCStreamer::EmitCFILsda(const MCSymbol *Sym, unsigned Encoding) { argument
363 CurFrame->Lsda = Sym;
501 void MCStreamer::EmitWinEHHandler(const MCSymbol *Sym, bool Unwind, argument
506 CurrentWinFrameInfo->ExceptionHandler = Sym;
695 void MCStreamer::visitUsedSymbol(const MCSymbol &Sym) { argument
795 MCSymbol *Sym = Section->getBeginSymbol(); local
804 MCSymbol *Sym = Section->getEndSymbol(Context); local
[all...]
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
143 for (const Elf_Sym &Sym : Obj.symbols(Symtab)) {
151 ELFDumper<ELFT>::dumpSymbol(&Sym, Symtab, StrTable, S))
154 switch (Sym.getBinding())
175 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, argument
177 S.Type = Sym->getType();
178 S.Value = Sym->st_value;
179 S.Size = Sym->st_size;
180 S.Other = Sym->st_other;
182 Expected<StringRef> SymbolNameOrErr = Sym
211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp357 SymbolRef Sym = V.getAsSymbol(/* IncludeBaseRegion */ true);
358 if (!Sym)
361 return getStateManager().ConstraintMgr->isNull(this, Sym);
570 if (SymbolRef Sym = val.getAsSymbol())
571 return scan(Sym);
573 if (const SymExpr *Sym = val.getAsSymbolicExpression())
574 return scan(Sym);
657 SymbolRef Sym = getSVal(S, LCtx).getAsSymbol(); local
658 if (Sym)
659 return addTaint(Sym, Kin
675 addTaint(SymbolRef Sym, TaintTagType Kind) const argument
722 isTainted(SymbolRef Sym, TaintTagType Kind) const argument
[all...]
/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp170 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); local
173 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx);
175 Add = MCSymbolRefExpr::create(Sym, Ctx);
185 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); local
186 Sub = MCSymbolRefExpr::create(Sym, Ctx);
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp78 MCSymbol *Sym = Ctx.getOrCreateSymbol(StringRef(GV->getName())); local
80 MCSymbolRefExpr::create(Sym, getVariantKind(MO.getTargetFlags()),Ctx);
87 MCSymbol *Sym = Ctx.getOrCreateSymbol(StringRef(MO.getSymbolName())); local
88 Sym->setExternal(true);
89 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::create(Sym, Ctx);
/external/swiftshader/third_party/LLVM/lib/Target/
H A DTargetLoweringObjectFile.cpp113 const MCSymbol *Sym) const {
301 const MCSymbol *Sym = Mang->getSymbol(GV); local
302 return getExprForDwarfReference(Sym, Encoding, Streamer);
306 getExprForDwarfReference(const MCSymbol *Sym, unsigned Encoding, argument
308 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, getContext());
/external/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h173 void addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym,
181 void addDefinedDataSymbol(const object::BasicSymbolRef &Sym);
185 void addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym);

Completed in 2680 milliseconds

1234567891011>>