/external/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfoImpls.h | 45 StubValueTy &getFnStubEntry(MCSymbol *Sym) { in getFnStubEntry() argument 46 assert(Sym && "Key cannot be null"); in getFnStubEntry() 47 return FnStubs[Sym]; in getFnStubEntry() 50 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument 51 assert(Sym && "Key cannot be null"); in getGVStubEntry() 52 return GVStubs[Sym]; in getGVStubEntry() 55 StubValueTy &getHiddenGVStubEntry(MCSymbol *Sym) { in getHiddenGVStubEntry() argument 56 assert(Sym && "Key cannot be null"); in getHiddenGVStubEntry() 57 return HiddenGVStubs[Sym]; in getHiddenGVStubEntry() 83 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument [all …]
|
/external/llvm/tools/obj2yaml/ |
D | coff2yaml.cpp | 70 object::symbol_iterator Sym = Reloc.getSymbol(); in dumpSections() local 71 Sym->getName(Rel.SymbolName); in dumpSections() 82 dumpFunctionDefinition(COFFYAML::Symbol *Sym, in dumpFunctionDefinition() argument 90 Sym->FunctionDefinition = YAMLFD; in dumpFunctionDefinition() 94 dumpbfAndEfLineInfo(COFFYAML::Symbol *Sym, in dumpbfAndEfLineInfo() argument 100 Sym->bfAndefSymbol = YAMLAAS; in dumpbfAndEfLineInfo() 103 static void dumpWeakExternal(COFFYAML::Symbol *Sym, in dumpWeakExternal() argument 109 Sym->WeakExternal = YAMLWE; in dumpWeakExternal() 113 dumpSectionDefinition(COFFYAML::Symbol *Sym, in dumpSectionDefinition() argument 123 Sym->SectionDefinition = YAMLASD; in dumpSectionDefinition() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86ELFRelocationInfo.cpp | 37 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); in createExprForRelocation() local 39 if (Sym->isVariable() == false) in createExprForRelocation() 40 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation() 79 Expr = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation() 88 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, Ctx); in createExprForRelocation() 93 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PLT, Ctx); in createExprForRelocation() 98 Expr = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation() 104 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); in createExprForRelocation() 108 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx); in createExprForRelocation() 119 Expr = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation()
|
D | X86MachORelocationInfo.cpp | 39 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); in createExprForRelocation() local 41 if (Sym->isVariable() == false) in createExprForRelocation() 42 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation() 47 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx); in createExprForRelocation() 50 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation() 55 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation() 60 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation() 65 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); in createExprForRelocation() 68 Expr = MCSymbolRefExpr::Create(Sym, isPCRel ? in createExprForRelocation() 87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 99 SymbolRef Sym, bool Assumption) { in assumeAuxForSymbol() argument 101 QualType T = Sym->getType(); in assumeAuxForSymbol() 109 return assumeSymNE(State, Sym, zero, zero); in assumeAuxForSymbol() 111 return assumeSymEQ(State, Sym, zero, zero); in assumeAuxForSymbol() 193 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { in computeAdjustment() argument 195 if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym)) { in computeAdjustment() 198 Sym = SE->getLHS(); in computeAdjustment() 228 SymbolRef Sym = LHS; in assumeSymRel() local 230 computeAdjustment(Sym, Adjustment); in assumeSymRel() 246 return assumeSymEQ(state, Sym, ConvertedInt, Adjustment); in assumeSymRel() [all …]
|
D | ConstraintManager.cpp | 22 SymbolRef Sym) { in getLocFromSymbol() argument 24 .getSymbolicRegion(Sym); in getLocFromSymbol() 29 SymbolRef Sym) { in checkNull() argument 30 QualType Ty = Sym->getType(); in checkNull() 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym) in checkNull() 32 : nonloc::SymbolVal(Sym); in checkNull()
|
D | RangeConstraintManager.cpp | 317 ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym) override; 343 SymbolRef Sym) { in checkNull() argument 344 const RangeSet *Ranges = State->get<ConstraintRange>(Sym); in checkNull() 355 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() 419 RangeConstraintManager::assumeSymNE(ProgramStateRef St, SymbolRef Sym, in assumeSymNE() argument 434 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower); in assumeSymNE() 435 return New.isEmpty() ? nullptr : St->set<ConstraintRange>(Sym, New); in assumeSymNE() 439 RangeConstraintManager::assumeSymEQ(ProgramStateRef St, SymbolRef Sym, in assumeSymEQ() argument 449 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, AdjInt, AdjInt); in assumeSymEQ() 450 return New.isEmpty() ? nullptr : St->set<ConstraintRange>(Sym, New); in assumeSymEQ() [all …]
|
D | ProgramState.cpp | 357 SymbolRef Sym = V.getAsSymbol(/* IncludeBaseRegion */ true); in isNull() local 358 if (!Sym) in isNull() 361 return getStateManager().ConstraintMgr->isNull(this, Sym); in isNull() 570 if (SymbolRef Sym = val.getAsSymbol()) in scan() local 571 return scan(Sym); in scan() 573 if (const SymExpr *Sym = val.getAsSymbolicExpression()) in scan() local 574 return scan(Sym); in scan() 657 SymbolRef Sym = getSVal(S, LCtx).getAsSymbol(); in addTaint() local 658 if (Sym) in addTaint() 659 return addTaint(Sym, Kind); in addTaint() [all …]
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_elf_symbols.h | 25 const ELF::Sym* LookupByName(const char* symbol_name) const; 27 const ELF::Sym* LookupById(size_t symbol_id) const { in LookupById() 31 const ELF::Sym* LookupByAddress(void* address, size_t load_bias) const; 39 const ELF::Sym* sym = LookupById(symbol_id); in LookupNameById() 46 const ELF::Sym* sym = LookupByName(symbol_name); in LookupAddressByName() 63 const ELF::Sym* symbol_table() const { return symbol_table_; } in symbol_table() 67 const ELF::Sym* symbol_table_;
|
D | crazy_linker_elf_symbols.cpp | 51 symbol_table_ = reinterpret_cast<const ELF::Sym*>(dyn_addr); in Init() 63 const ELF::Sym* ElfSymbols::LookupByAddress(void* address, in LookupByAddress() 69 const ELF::Sym* sym = &symbol_table_[n]; in LookupByAddress() 86 const ELF::Sym* nearest_sym = NULL; in LookupNearestByAddress() 90 const ELF::Sym* sym = &symbol_table_[n]; in LookupNearestByAddress() 122 const ELF::Sym* ElfSymbols::LookupByName(const char* symbol_name) const { in LookupByName() 127 const ELF::Sym* symbol = &symbol_table_[n]; in LookupByName()
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 252 Elf_Sym Sym; in initSymtabSectionHeader() local 253 zero(Sym); in initSymtabSectionHeader() 254 Syms.push_back(Sym); in initSymtabSectionHeader() 258 for (const auto &Sym : Doc.Symbols.Local) in initSymtabSectionHeader() local 259 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 260 for (const auto &Sym : Doc.Symbols.Global) in initSymtabSectionHeader() local 261 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 262 for (const auto &Sym : Doc.Symbols.Weak) in initSymtabSectionHeader() local 263 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 291 for (const auto &Sym : Symbols) { in addSymbols() local [all …]
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 51 SparcELFMCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, in getExprForPersonalitySymbol() argument 57 MCSymbolRefExpr::Create(Sym, Ctx), Ctx); in getExprForPersonalitySymbol() 60 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 64 SparcELFMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, in getExprForFDESymbol() argument 70 MCSymbolRefExpr::Create(Sym, Ctx), Ctx); in getExprForFDESymbol() 72 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 291 bool isReleased(SymbolRef Sym, CheckerContext &C) const; 293 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const; 295 bool checkDoubleDelete(SymbolRef Sym, CheckerContext &C) const; 325 Optional<CheckKind> getCheckIfTracked(CheckerContext &C, SymbolRef Sym) const; 333 SymbolRef Sym, bool OwnershipTransferred) const; 338 SymbolRef Sym) const; 340 SymbolRef Sym, SymbolRef PrevSym) const; 342 void ReportDoubleDelete(CheckerContext &C, SymbolRef Sym) const; 346 LeakInfo getAllocationSite(const ExplodedNode *N, SymbolRef Sym, 349 void reportLeak(SymbolRef Sym, ExplodedNode *N, CheckerContext &C) const; [all …]
|
D | RetainCountChecker.cpp | 339 SymbolRef Sym) { in REGISTER_MAP_WITH_PROGRAMSTATE() 340 return State->get<RefBindings>(Sym); in REGISTER_MAP_WITH_PROGRAMSTATE() 344 SymbolRef Sym, RefVal Val) { in setRefBinding() argument 345 return State->set<RefBindings>(Sym, Val); in setRefBinding() 348 static ProgramStateRef removeRefBinding(ProgramStateRef State, SymbolRef Sym) { in removeRefBinding() argument 349 return State->remove<RefBindings>(Sym); in removeRefBinding() 1458 if (SymbolRef Sym = ReceiverV.getAsLocSymbol()) in getInstanceMethodSummary() local 1459 if (const RefVal *T = getRefBinding(State, Sym)) in getInstanceMethodSummary() 1700 SymbolRef Sym; member in __anon03ef51080611::CFRefReportVisitor 1706 : Sym(sym), SummaryLog(log), GCEnabled(gcEnabled) {} in CFRefReportVisitor() [all …]
|
D | SimpleStreamChecker.cpp | 173 static bool isLeaked(SymbolRef Sym, const StreamState &SS, in isLeaked() argument 179 ConditionTruthVal OpenFailed = CMgr.isNull(State, Sym); in isLeaked() 192 SymbolRef Sym = I->first; in checkDeadSymbols() local 193 bool IsSymDead = SymReaper.isDead(Sym); in checkDeadSymbols() 196 if (isLeaked(Sym, I->second, IsSymDead, State)) in checkDeadSymbols() 197 LeakedStreams.push_back(Sym); in checkDeadSymbols() 201 State = State->remove<StreamMap>(Sym); in checkDeadSymbols() 269 SymbolRef Sym = *I; in checkPointerEscape() local 273 State = State->remove<StreamMap>(Sym); in checkPointerEscape()
|
/external/llvm/lib/MC/ |
D | MCAsmInfo.cpp | 113 MCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, in getExprForPersonalitySymbol() argument 116 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 120 MCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, in getExprForFDESymbol() argument 124 return MCSymbolRefExpr::Create(Sym, Streamer.getContext()); in getExprForFDESymbol() 127 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context); in getExprForFDESymbol()
|
D | MCContext.cpp | 103 MCSymbol *Sym = Entry.getValue(); in GetOrCreateSymbol() local 105 if (Sym) in GetOrCreateSymbol() 106 return Sym; in GetOrCreateSymbol() 108 Sym = CreateSymbol(Name); in GetOrCreateSymbol() 109 Entry.setValue(Sym); in GetOrCreateSymbol() 110 return Sym; in GetOrCreateSymbol() 173 MCSymbol *&Sym = LocalSymbols[std::make_pair(LocalLabelVal, Instance)]; in getOrCreateDirectionalLocalSymbol() local 174 if (!Sym) in getOrCreateDirectionalLocalSymbol() 175 Sym = CreateTempSymbol(); in getOrCreateDirectionalLocalSymbol() 176 return Sym; in getOrCreateDirectionalLocalSymbol()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 66 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name.str()); in GetSymbolFromOperand() local 73 getMachOMMI(AP).getFnStubEntry(Sym); in GetSymbolFromOperand() 75 return Sym; in GetSymbolFromOperand() 87 return Sym; in GetSymbolFromOperand() 97 MachO.getHiddenGVStubEntry(Sym) : MachO.getGVStubEntry(Sym); in GetSymbolFromOperand() 105 return Sym; in GetSymbolFromOperand() 108 return Sym; in GetSymbolFromOperand()
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 273 void LTOModule::addDefinedDataSymbol(const object::BasicSymbolRef &Sym) { in addDefinedDataSymbol() argument 277 Sym.printName(OS); in addDefinedDataSymbol() 280 const GlobalValue *V = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); in addDefinedDataSymbol() 334 void LTOModule::addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym) { in addDefinedFunctionSymbol() argument 338 Sym.printName(OS); in addDefinedFunctionSymbol() 342 cast<Function>(IRFile->getSymbolGV(Sym.getRawDataRefImpl())); in addDefinedFunctionSymbol() 497 void LTOModule::addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym, in addPotentialUndefinedSymbol() argument 502 Sym.printName(OS); in addPotentialUndefinedSymbol() 516 const GlobalValue *decl = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); in addPotentialUndefinedSymbol() 532 for (auto &Sym : IRFile->symbols()) { in parseSymbols() local [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCExpr.cpp | 95 const MCSymbolRefExpr *Sym = Value.getSymA(); in EvaluateAsRelocatableImpl() local 96 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in EvaluateAsRelocatableImpl() 124 Sym = MCSymbolRefExpr::Create(&Sym->getSymbol(), Modifier, Context); in EvaluateAsRelocatableImpl() 125 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in EvaluateAsRelocatableImpl()
|
/external/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 161 resolveSectionAndAddress(const COFFObjectFile *Obj, const SymbolRef &Sym, in resolveSectionAndAddress() argument 164 if (std::error_code EC = Sym.getAddress(ResolvedAddr)) in resolveSectionAndAddress() 167 if (std::error_code EC = Sym.getSection(iter)) in resolveSectionAndAddress() 176 uint64_t Offset, SymbolRef &Sym) { in resolveSymbol() argument 184 Sym = *I->getSymbol(); in resolveSymbol() 199 SymbolRef Sym; in getSectionContents() local 200 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym)) in getSectionContents() 203 if (std::error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr)) in getSectionContents() 215 SymbolRef Sym; in resolveSymbolName() local 216 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym)) in resolveSymbolName() [all …]
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | elf_mem_image.cc | 62 static int ElfBind(const ElfW(Sym) *) { in ElfBind() argument 66 static int ElfType(const ElfW(Sym) *) { in ElfType() argument 75 static int ElfBind(const ElfW(Sym) *symbol) { in ElfBind() 78 static int ElfType(const ElfW(Sym) *symbol) { in ElfType() 86 static int ElfBind(const ElfW(Sym) *symbol) { in ElfBind() 89 static int ElfType(const ElfW(Sym) *symbol) { in ElfType() 126 const ElfW(Sym) *ElfMemImage::GetDynsym(int index) const { in ElfW() argument 149 const void *ElfMemImage::GetSymAddr(const ElfW(Sym) *sym) const { in GetSymAddr() 278 dynsym_ = reinterpret_cast<ElfW(Sym) *>(value); in Init() 403 const ElfW(Sym) *symbol = image->GetDynsym(index_); in Update()
|
D | elf_mem_image.h | 68 const ElfW(Sym) *symbol; // Symbol in the dynamic symbol table. 93 const ElfW(Sym)* GetDynsym(int index) const; 98 const void* GetSymAddr(const ElfW(Sym) *sym) const; 120 const ElfW(Sym) *dynsym_;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | elf_mem_image.cc | 62 static int ElfBind(const ElfW(Sym) *) { in ElfBind() argument 66 static int ElfType(const ElfW(Sym) *) { in ElfType() argument 75 static int ElfBind(const ElfW(Sym) *symbol) { in ElfBind() 78 static int ElfType(const ElfW(Sym) *symbol) { in ElfType() 86 static int ElfBind(const ElfW(Sym) *symbol) { in ElfBind() 89 static int ElfType(const ElfW(Sym) *symbol) { in ElfType() 126 const ElfW(Sym) *ElfMemImage::GetDynsym(int index) const { in ElfW() argument 149 const void *ElfMemImage::GetSymAddr(const ElfW(Sym) *sym) const { in GetSymAddr() 278 dynsym_ = reinterpret_cast<ElfW(Sym) *>(value); in Init() 403 const ElfW(Sym) *symbol = image->GetDynsym(index_); in Update()
|
D | elf_mem_image.h | 68 const ElfW(Sym) *symbol; // Symbol in the dynamic symbol table. 93 const ElfW(Sym)* GetDynsym(int index) const; 98 const void* GetSymAddr(const ElfW(Sym) *sym) const; 120 const ElfW(Sym) *dynsym_;
|