Searched refs:Sym (Results 1 - 25 of 176) sorted by relevance

12345678

/external/llvm/include/llvm/CodeGen/
H A DMachineModuleInfoImpls.h45 StubValueTy &getFnStubEntry(MCSymbol *Sym) { argument
46 assert(Sym && "Key cannot be null");
47 return FnStubs[Sym];
50 StubValueTy &getGVStubEntry(MCSymbol *Sym) { argument
51 assert(Sym && "Key cannot be null");
52 return GVStubs[Sym];
55 StubValueTy &getHiddenGVStubEntry(MCSymbol *Sym) { argument
56 assert(Sym && "Key cannot be null");
57 return HiddenGVStubs[Sym];
83 StubValueTy &getGVStubEntry(MCSymbol *Sym) { argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DConstraintManager.cpp22 SymbolRef Sym) {
24 .getSymbolicRegion(Sym);
29 SymbolRef Sym) {
30 QualType Ty = Sym->getType();
31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
32 : nonloc::SymbolVal(Sym);
21 getLocFromSymbol(const ProgramStateRef &State, SymbolRef Sym) argument
28 checkNull(ProgramStateRef State, SymbolRef Sym) argument
H A DSimpleConstraintManager.cpp99 SymbolRef Sym, bool Assumption) {
101 QualType T = Sym->getType();
109 return assumeSymNE(State, Sym, zero, zero);
111 return assumeSymEQ(State, Sym, zero, zero);
193 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { argument
195 if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym)) {
198 Sym = SE->getLHS();
228 SymbolRef Sym = LHS; local
230 computeAdjustment(Sym, Adjustment);
246 return assumeSymEQ(state, Sym, ConvertedIn
98 assumeAuxForSymbol(ProgramStateRef State, SymbolRef Sym, bool Assumption) argument
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFRelocationInfo.cpp37 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); variable
39 if (!Sym->isVariable())
40 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx));
79 Expr = MCSymbolRefExpr::Create(Sym, Ctx);
88 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, Ctx);
93 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PLT, Ctx);
98 Expr = MCSymbolRefExpr::Create(Sym, Ctx);
104 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx);
108 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx);
119 Expr = MCSymbolRefExpr::Create(Sym, Ct
[all...]
H A DX86MachORelocationInfo.cpp39 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); variable
41 if (!Sym->isVariable())
42 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx));
47 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx);
50 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx),
55 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx),
60 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx),
65 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx);
68 Expr = MCSymbolRefExpr::Create(Sym, isPCRel ?
87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ct
[all...]
/external/llvm/tools/dsymutil/
H A DDebugMap.cpp42 for (const auto &Sym : make_range(Symbols.begin(), Symbols.end()))
43 Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue()));
47 for (const auto &Sym : Entries) {
49 Sym.second.ObjectAddress, Sym.second.BinaryAddress,
50 Sym.second.Size, Sym.first.data());
66 StringMap<SymbolMapping>::const_iterator Sym = Symbols.find(SymbolName); local
67 if (Sym
[all...]
H A DMachODebugMapParser.cpp199 for (auto Sym : CurrentObjectHolder.Get().symbols()) {
202 if (Sym.getAddress(Addr) || Addr == UnknownAddressOrSize ||
203 Sym.getName(Name))
213 auto Sym = MainBinarySymbolAddresses.find(Name); local
214 if (Sym == MainBinarySymbolAddresses.end())
216 return Sym->second;
224 for (const auto &Sym : MainBinary.symbols()) {
227 if (Sym.getType(Type) || (Type & SymbolRef::ST_Debug) ||
236 if (Sym.getAddress(Addr) || Addr == UnknownAddressOrSize ||
237 !(Sym
[all...]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCAsmInfo.h27 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
29 const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
H A DSparcMCAsmInfo.cpp49 SparcELFMCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, argument
55 MCSymbolRefExpr::Create(Sym, Ctx), Ctx);
58 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer);
62 SparcELFMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, argument
68 MCSymbolRefExpr::Create(Sym, Ctx), Ctx);
70 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer);
/external/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp122 object::symbol_iterator Sym = Reloc.getSymbol(); local
123 Sym->getName(Rel.SymbolName);
134 dumpFunctionDefinition(COFFYAML::Symbol *Sym, argument
142 Sym->FunctionDefinition = YAMLFD;
146 dumpbfAndEfLineInfo(COFFYAML::Symbol *Sym, argument
152 Sym->bfAndefSymbol = YAMLAAS;
155 static void dumpWeakExternal(COFFYAML::Symbol *Sym, argument
161 Sym->WeakExternal = YAMLWE;
165 dumpSectionDefinition(COFFYAML::Symbol *Sym, argument
177 Sym
181 dumpCLRTokenDefinition(COFFYAML::Symbol *Sym, const object::coff_aux_clr_token *ObjCLRToken) argument
194 COFFYAML::Symbol Sym; local
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.h42 MCSymbol *Sym) const;
44 MCSymbol *Sym) const;
45 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
H A DAArch64TargetObjectFile.cpp41 const MCSymbol *Sym = TM.getSymbol(GV, Mang); local
43 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, getContext());
61 const MCSymbol *Sym, const MCValue &MV, int64_t Offset,
68 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, getContext());
60 getIndirectSymViaGOTPCRel( const MCSymbol *Sym, const MCValue &MV, int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const argument
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp63 uint64_t RuntimeDyldCOFF::getSymbolOffset(const SymbolRef &Sym) { argument
65 if (Sym.getAddress(Address))
71 const ObjectFile *Obj = Sym.getObject();
73 if (Sym.getSection(SecI))
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCAsmInfo.h27 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.h30 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
H A DPPCTargetObjectFile.cpp56 getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
58 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PPC_DTPREL, getContext());
/external/llvm/lib/MC/
H A DMCAsmInfo.cpp119 MCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, argument
122 return getExprForFDESymbol(Sym, Encoding, Streamer);
126 MCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, argument
130 return MCSymbolRefExpr::Create(Sym, Streamer.getContext());
133 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAddressPool.cpp19 unsigned AddressPool::getIndex(const MCSymbol *Sym, bool TLS) { argument
22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS)));
H A DAsmPrinterHandler.h34 virtual void setSymbolSize(const MCSymbol *Sym, uint64_t Size) = 0;
/external/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp58 getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
59 return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_ARM_TLSLDO,
/external/llvm/lib/Target/Sparc/
H A DSparcTargetObjectFile.cpp32 MCSymbol *Sym = TM.getSymbol(GV, Mang); local
33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage());
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp112 const MCSymbolRefExpr *Sym = Value.getSymA(); local
113 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind();
141 Sym = MCSymbolRefExpr::Create(&Sym->getSymbol(), Modifier, Context);
142 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/external/llvm/lib/Target/R600/
H A DAMDGPUMCInstLower.cpp72 MCSymbol *Sym = Ctx.GetOrCreateSymbol(StringRef(GV->getName())); local
73 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create(Sym, Ctx));
78 MCSymbol *Sym = Ctx.GetOrCreateSymbol(StringRef(END_OF_TEXT_LABEL_NAME)); local
79 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
84 MCSymbol *Sym = Ctx.GetOrCreateSymbol(StringRef(MO.getSymbolName())); local
85 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp260 Elf_Sym Sym; local
261 zero(Sym);
262 Syms.push_back(Sym);
266 for (const auto &Sym : Doc.Symbols.Local)
267 DotStrtab.add(Sym.Name);
268 for (const auto &Sym : Doc.Symbols.Global)
269 DotStrtab.add(Sym.Name);
270 for (const auto &Sym : Doc.Symbols.Weak)
271 DotStrtab.add(Sym.Name);
299 for (const auto &Sym
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DConstraintManager.h124 ConditionTruthVal isNull(ProgramStateRef State, SymbolRef Sym) { argument
127 return checkNull(State, Sym);
148 virtual ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym);

Completed in 537 milliseconds

12345678