/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ELF.h | 73 ELFSym *Sym = new ELFSym(); in getGV() local 74 Sym->Source.GV = GV; in getGV() 75 Sym->setBind(Bind); in getGV() 76 Sym->setType(Type); in getGV() 77 Sym->setVisibility(Visibility); in getGV() 78 Sym->SourceType = isGV; in getGV() 79 return Sym; in getGV() 85 ELFSym *Sym = new ELFSym(); in getExtSym() local 86 Sym->Source.Ext = Ext; in getExtSym() 87 Sym->setBind(ELF::STB_GLOBAL); in getExtSym() [all …]
|
/external/swiftshader/third_party/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 | 123 object::symbol_iterator Sym = Reloc.getSymbol(); in dumpSections() local 124 Expected<StringRef> SymbolNameOrErr = Sym->getName(); in dumpSections() 143 dumpFunctionDefinition(COFFYAML::Symbol *Sym, in dumpFunctionDefinition() argument 151 Sym->FunctionDefinition = YAMLFD; in dumpFunctionDefinition() 155 dumpbfAndEfLineInfo(COFFYAML::Symbol *Sym, in dumpbfAndEfLineInfo() argument 161 Sym->bfAndefSymbol = YAMLAAS; in dumpbfAndEfLineInfo() 164 static void dumpWeakExternal(COFFYAML::Symbol *Sym, in dumpWeakExternal() argument 170 Sym->WeakExternal = YAMLWE; in dumpWeakExternal() 174 dumpSectionDefinition(COFFYAML::Symbol *Sym, in dumpSectionDefinition() argument 186 Sym->SectionDefinition = YAMLASD; in dumpSectionDefinition() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RangeConstraintManager.cpp | 325 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 329 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 334 ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym) override; 344 RangeSet getSymLTRange(ProgramStateRef St, SymbolRef Sym, 347 RangeSet getSymGTRange(ProgramStateRef St, SymbolRef Sym, 350 RangeSet getSymLERange(ProgramStateRef St, SymbolRef Sym, 355 RangeSet getSymGERange(ProgramStateRef St, SymbolRef Sym, 374 SymbolRef Sym) { in checkNull() argument 375 const RangeSet *Ranges = State->get<ConstraintRange>(Sym); in checkNull() 386 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() [all …]
|
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() 203 SymbolRef Sym = Value.getAsSymExpr(); in assumeWithinInclusiveRange() local 204 assert(Sym); in assumeWithinInclusiveRange() 205 return assumeSymWithinInclusiveRange(State, Sym, From, To, InRange); in assumeWithinInclusiveRange() 215 if (SymbolRef Sym = Value.getAsSymbol()) in assumeWithinInclusiveRange() local 216 return assumeSymWithinInclusiveRange(State, Sym, From, To, InRange); in assumeWithinInclusiveRange() 229 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { in computeAdjustment() argument [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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | coff2yaml.cpp | 186 object::symbol_iterator Sym = Reloc.getSymbol(); in dumpSections() local 187 Expected<StringRef> SymbolNameOrErr = Sym->getName(); in dumpSections() 206 dumpFunctionDefinition(COFFYAML::Symbol *Sym, in dumpFunctionDefinition() argument 214 Sym->FunctionDefinition = YAMLFD; in dumpFunctionDefinition() 218 dumpbfAndEfLineInfo(COFFYAML::Symbol *Sym, in dumpbfAndEfLineInfo() argument 224 Sym->bfAndefSymbol = YAMLAAS; in dumpbfAndEfLineInfo() 227 static void dumpWeakExternal(COFFYAML::Symbol *Sym, in dumpWeakExternal() argument 233 Sym->WeakExternal = YAMLWE; in dumpWeakExternal() 237 dumpSectionDefinition(COFFYAML::Symbol *Sym, in dumpSectionDefinition() argument 249 Sym->SectionDefinition = YAMLASD; in dumpSectionDefinition() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfoImpls.h | 44 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument 45 assert(Sym && "Key cannot be null"); in getGVStubEntry() 46 return GVStubs[Sym]; in getGVStubEntry() 49 StubValueTy &getThreadLocalGVStubEntry(MCSymbol *Sym) { in getThreadLocalGVStubEntry() argument 50 assert(Sym && "Key cannot be null"); in getThreadLocalGVStubEntry() 51 return ThreadLocalGVStubs[Sym]; in getThreadLocalGVStubEntry() 73 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument 74 assert(Sym && "Key cannot be null"); in getGVStubEntry() 75 return GVStubs[Sym]; in getGVStubEntry()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfoImpls.h | 40 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument 41 assert(Sym && "Key cannot be null"); in getGVStubEntry() 42 return GVStubs[Sym]; in getGVStubEntry() 45 StubValueTy &getThreadLocalGVStubEntry(MCSymbol *Sym) { in getThreadLocalGVStubEntry() argument 46 assert(Sym && "Key cannot be null"); in getThreadLocalGVStubEntry() 47 return ThreadLocalGVStubs[Sym]; in getThreadLocalGVStubEntry() 68 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument 69 assert(Sym && "Key cannot be null"); in getGVStubEntry() 70 return GVStubs[Sym]; in getGVStubEntry()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | JITSymbol.cpp | 59 if (auto Sym = findSymbolInLogicalDylib(SymName)) { in lookup() local 60 if (auto AddrOrErr = Sym.getAddress()) in lookup() 61 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup() 64 } else if (auto Err = Sym.takeError()) in lookup() 68 if (auto Sym = findSymbol(SymName)) { in lookup() local 69 if (auto AddrOrErr = Sym.getAddress()) in lookup() 70 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup() 73 } else if (auto Err = Sym.takeError()) in lookup() 92 if (auto Sym = findSymbolInLogicalDylib(SymName)) in lookupFlags() local 93 Result[Symbol] = Sym.getFlags(); in lookupFlags() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 231 for (auto &Sym : Symbols) in assignIndices() local 232 Sym->Index = Index++; in assignIndices() 239 Symbol Sym; in addSymbol() local 240 Sym.Name = Name; in addSymbol() 241 Sym.Binding = Bind; in addSymbol() 242 Sym.Type = Type; in addSymbol() 243 Sym.DefinedIn = DefinedIn; in addSymbol() 248 Sym.ShndxType = static_cast<SymbolShndxType>(Shndx); in addSymbol() 250 Sym.ShndxType = SYMBOL_SIMPLE_INDEX; in addSymbol() 252 Sym.Value = Value; in addSymbol() [all …]
|
D | llvm-objcopy.cpp | 258 Obj.SymbolTable->updateSymbols([&](Symbol &Sym) { in HandleArgs() argument 260 (Sym.Visibility == STV_HIDDEN || Sym.Visibility == STV_INTERNAL)) || in HandleArgs() 262 is_contained(Config.SymbolsToLocalize, Sym.Name))) in HandleArgs() 263 Sym.Binding = STB_LOCAL; in HandleArgs() 266 is_contained(Config.SymbolsToGlobalize, Sym.Name)) in HandleArgs() 267 Sym.Binding = STB_GLOBAL; in HandleArgs() 270 is_contained(Config.SymbolsToWeaken, Sym.Name) && in HandleArgs() 271 Sym.Binding == STB_GLOBAL) in HandleArgs() 272 Sym.Binding = STB_WEAK; in HandleArgs() 274 if (Config.Weaken && Sym.Binding == STB_GLOBAL && in HandleArgs() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/ |
D | llvm-lto2.cpp | 267 for (const InputFile::Symbol &Sym : Input->symbols()) { in run() local 268 auto I = CommandLineResolutions.find({F, Sym.getName()}); in run() 271 << ',' << Sym.getName() << '\n'; in run() 346 for (const InputFile::Symbol &Sym : Input->symbols()) { in dumpSymtab() local 347 switch (Sym.getVisibility()) { in dumpSymtab() 360 PrintBool('U', Sym.isUndefined()); in dumpSymtab() 361 PrintBool('C', Sym.isCommon()); in dumpSymtab() 362 PrintBool('W', Sym.isWeak()); in dumpSymtab() 363 PrintBool('I', Sym.isIndirect()); in dumpSymtab() 364 PrintBool('O', Sym.canBeOmittedFromSymbolTable()); in dumpSymtab() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 61 for (const auto &Sym : Records) in calculateRecordByteSize() local 62 Size += Sym.length(); in calculateRecordByteSize() 109 for (const CVSymbol &Sym : Records) { in finalizeBuckets() local 116 StringRef Name = getSymbolName(Sym); in finalizeBuckets() 119 SymOffset += Sym.length(); in finalizeBuckets() 230 for (const CVSymbol &Sym : Records) { in computeAddrMap() local 231 assert(Sym.kind() == SymbolKind::S_PUB32); in computeAddrMap() 233 cantFail(SymbolDeserializer::deserializeAs<PublicSym32>(Sym))); in computeAddrMap() 234 PublicsByAddr.emplace_back(&Sym, &DeserializedPublics.back()); in computeAddrMap() 236 SymOffset += Sym.length(); in computeAddrMap() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/ |
D | Symmetry.h | 28 template<std::size_t NumIndices, typename... Sym> struct tensor_symmetry_pre_anal… 29 template<std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup; 30 template<bool instantiate, std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup_i… 33 template<typename... Sym> struct tensor_symmetry_num_indices; 154 template<typename... Sym> struct tensor_symmetry_num_indices 159 template<int One_, int Two_, typename... Sym> struct tensor_symmetry_num_indices<Symmetry<One_, Two… 164 constexpr static std::size_t Three = tensor_symmetry_num_indices<Sym...>::value; 172 template<int One_, int Two_, typename... Sym> struct tensor_symmetry_num_indices<AntiSymmetry<One_,… 173 : public tensor_symmetry_num_indices<Symmetry<One_, Two_>, Sym...> {}; 174 template<int One_, int Two_, typename... Sym> struct tensor_symmetry_num_indices<Hermiticity<One_, … [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | IRSymtab.cpp | 111 ModuleSymbolTable::Symbol Sym); 184 storage::Symbol &Sym = Syms.back(); in addSymbol() local 185 Sym = {}; in addSymbol() 191 Sym.Flags |= 1 << storage::Symbol::FB_has_uncommon; in addSymbol() 205 setStr(Sym.Name, Saver.save(StringRef(Name))); in addSymbol() 209 Sym.Flags |= 1 << storage::Symbol::FB_undefined; in addSymbol() 211 Sym.Flags |= 1 << storage::Symbol::FB_weak; in addSymbol() 213 Sym.Flags |= 1 << storage::Symbol::FB_common; in addSymbol() 215 Sym.Flags |= 1 << storage::Symbol::FB_indirect; in addSymbol() 217 Sym.Flags |= 1 << storage::Symbol::FB_global; in addSymbol() [all …]
|
D | SymbolSize.cpp | 34 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID() argument 36 return M->getSymbolSectionID(Sym); in getSymbolSectionID() 37 return cast<COFFObjectFile>(O).getSymbolSectionID(Sym); in getSymbolSectionID() 48 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes() local 49 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes() 58 SymbolRef Sym = *I; in computeSymbolSizes() local 59 uint64_t Value = Sym.getValue(); in computeSymbolSizes() 60 Addresses.push_back({I, Value, SymNum, getSymbolSectionID(O, Sym)}); in computeSymbolSizes()
|
/external/llvm/lib/Object/ |
D | SymbolSize.cpp | 40 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID() argument 42 return M->getSymbolSectionID(Sym); in getSymbolSectionID() 43 return cast<COFFObjectFile>(O).getSymbolSectionID(Sym); in getSymbolSectionID() 54 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes() local 55 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes() 64 SymbolRef Sym = *I; in computeSymbolSizes() local 65 uint64_t Value = Sym.getValue(); in computeSymbolSizes() 66 Addresses.push_back({I, Value, SymNum, getSymbolSectionID(O, Sym)}); in computeSymbolSizes()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 324 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) const; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DebugMap.cpp | 64 for (const auto &Sym : make_range(Symbols.begin(), Symbols.end())) in print() local 65 Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue())); in print() 69 for (const auto &Sym : Entries) { in print() local 70 if (Sym.second.ObjectAddress) in print() 71 OS << format("\t%016" PRIx64, uint64_t(*Sym.second.ObjectAddress)); in print() 75 uint64_t(Sym.second.BinaryAddress), uint32_t(Sym.second.Size), in print() 76 Sym.first.data()); in print() 95 StringMap<SymbolMapping>::const_iterator Sym = Symbols.find(SymbolName); in lookupSymbol() local 96 if (Sym == Symbols.end()) in lookupSymbol() 98 return &*Sym; in lookupSymbol() [all …]
|
/external/llvm/tools/dsymutil/ |
D | DebugMap.cpp | 44 for (const auto &Sym : make_range(Symbols.begin(), Symbols.end())) in print() local 45 Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue())); in print() 49 for (const auto &Sym : Entries) { in print() local 50 if (Sym.second.ObjectAddress) in print() 51 OS << format("\t%016" PRIx64, uint64_t(*Sym.second.ObjectAddress)); in print() 55 uint64_t(Sym.second.BinaryAddress), uint32_t(Sym.second.Size), in print() 56 Sym.first.data()); in print() 73 StringMap<SymbolMapping>::const_iterator Sym = Symbols.find(SymbolName); in lookupSymbol() local 74 if (Sym == Symbols.end()) in lookupSymbol() 76 return &*Sym; in lookupSymbol() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 137 if (auto Sym = findSymbol(*S)) in lookupFlags() local 138 SymbolFlags[S] = Sym.getFlags(); in lookupFlags() 139 else if (auto Err = Sym.takeError()) { in lookupFlags() 154 if (auto Sym = findSymbol(*S)) { in lookup() local 155 if (auto Addr = Sym.getAddress()) { in lookup() 156 Query->resolve(S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookup() 162 } else if (auto Err = Sym.takeError()) { in lookup() 185 if (auto Sym = Stack.CODLayer.findSymbol(Name, true)) in findSymbol() local 186 return Sym; in findSymbol() 187 else if (auto Err = Sym.takeError()) in findSymbol() [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 277 Elf_Sym Sym; in initSymtabSectionHeader() local 278 zero(Sym); in initSymtabSectionHeader() 279 Syms.push_back(Sym); in initSymtabSectionHeader() 283 for (const auto &Sym : Doc.Symbols.Local) in initSymtabSectionHeader() local 284 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 285 for (const auto &Sym : Doc.Symbols.Global) in initSymtabSectionHeader() local 286 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 287 for (const auto &Sym : Doc.Symbols.Weak) in initSymtabSectionHeader() local 288 DotStrtab.add(Sym.Name); in initSymtabSectionHeader() 318 for (const auto &Sym : Symbols) { in addSymbols() local [all …]
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 48 SparcELFMCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, in getExprForPersonalitySymbol() argument 54 MCSymbolRefExpr::create(Sym, Ctx), Ctx); in getExprForPersonalitySymbol() 57 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 61 SparcELFMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, in getExprForFDESymbol() argument 67 MCSymbolRefExpr::create(Sym, Ctx), Ctx); in getExprForFDESymbol() 69 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
|
/external/swiftshader/third_party/llvm-7.0/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()
|