/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 46 const char *GetTypeStr(SymbolRef::Type Type) { in GetTypeStr() 48 case SymbolRef::ST_Unknown: return "?"; in GetTypeStr() 49 case SymbolRef::ST_Data: return "DATA"; in GetTypeStr() 50 case SymbolRef::ST_Debug: return "DBG"; in GetTypeStr() 51 case SymbolRef::ST_File: return "FILE"; in GetTypeStr() 52 case SymbolRef::ST_Function: return "FUNC"; in GetTypeStr() 53 case SymbolRef::ST_Other: return "-"; in GetTypeStr() 60 if (Flags & SymbolRef::SF_Undefined) in GetFlagStr() 62 if (Flags & SymbolRef::SF_Global) in GetFlagStr() 64 if (Flags & SymbolRef::SF_Weak) in GetFlagStr() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BasicConstraintManager.cpp | 27 typedef llvm::ImmutableMap<SymbolRef,ProgramState::IntSetTy> ConstNotEqTy; 28 typedef llvm::ImmutableMap<SymbolRef,const llvm::APSInt*> ConstEqTy; 60 SymbolRef sym, 65 SymbolRef sym, 70 SymbolRef sym, 75 SymbolRef sym, 80 SymbolRef sym, 85 SymbolRef sym, 90 SymbolRef sym, 94 SymbolRef sym, [all …]
|
D | SimpleConstraintManager.h | 54 virtual ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 58 virtual ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 62 virtual ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 66 virtual ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 70 virtual ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 74 virtual ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 93 SymbolRef Sym,
|
D | RangeConstraintManager.cpp | 193 typedef llvm::ImmutableMap<SymbolRef,RangeSet> ConstraintRangeTy; 207 RangeSet GetRange(ProgramStateRef state, SymbolRef sym); 212 ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 216 ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 220 ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 224 ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 228 ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 232 ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 236 const llvm::APSInt* getSymVal(ProgramStateRef St, SymbolRef sym) const; 239 bool isEqual(ProgramStateRef St, SymbolRef sym, const llvm::APSInt& V) const { in isEqual() [all …]
|
D | SymbolManager.cpp | 132 SymbolRef SymExpr::symbol_iterator::operator*() { in operator *() 203 SymbolManager::getDerivedSymbol(SymbolRef parentSymbol, in getDerivedSymbol() 367 void SymbolManager::addSymbolDependency(const SymbolRef Primary, in addSymbolDependency() 368 const SymbolRef Dependent) { in addSymbolDependency() 381 const SymbolRef Primary) { in getDependentSymbols() 388 void SymbolReaper::markDependentsLive(SymbolRef sym) { in markDependentsLive() 406 void SymbolReaper::markLive(SymbolRef sym) { in markLive() 416 void SymbolReaper::markInUse(SymbolRef sym) { in markInUse() 421 bool SymbolReaper::maybeDead(SymbolRef sym) { in maybeDead() 457 bool SymbolReaper::isLive(SymbolRef sym) { in isLive()
|
D | SimpleConstraintManager.cpp | 139 SymbolRef Sym, in assumeAuxForSymbol() 157 SymbolRef sym = Cond.getAsSymExpr(); in assumeAux() 170 SymbolRef sym = SV.getSymbol(); in assumeAux() 213 SymbolRef &Sym) { in computeAdjustment() 256 SymbolRef Sym = LHS; in assumeSymRel()
|
D | SVals.cpp | 33 SymbolRef sym = SV->getSymbol(); in hasConjuredSymbol() 41 SymbolRef sym = SR->getSymbol(); in hasConjuredSymbol() 65 SymbolRef SVal::getAsLocSymbol() const { in getAsLocSymbol() 79 SymbolRef SVal::getLocSymbolInBase() const { in getLocSymbolInBase() 101 SymbolRef SVal::getAsSymbol() const { in getAsSymbol()
|
D | SValBuilder.cpp | 101 SymbolRef sym = SymMgr.getRegionValueSymbol(region); in getRegionValueSymbolVal() 127 SymbolRef sym = SymMgr.getConjuredSymbol(expr, LCtx, type, count, symbolTag); in getConjuredSymbolVal() 144 SymbolRef sym = SymMgr.getConjuredSymbol(stmt, LCtx, type, visitCount); in getConjuredSymbolVal() 158 SymbolRef sym = in getMetadataSymbolVal() 168 SValBuilder::getDerivedRegionValueSymbolVal(SymbolRef parentSymbol, in getDerivedRegionValueSymbolVal() 175 SymbolRef sym = SymMgr.getDerivedSymbol(parentSymbol, region); in getDerivedRegionValueSymbolVal()
|
/external/llvm/include/llvm/Object/ |
D | ObjectFile.h | 91 class SymbolRef; variable 110 error_code getSymbol(SymbolRef &Result) const; 135 friend class SymbolRef; variable 165 error_code containsSymbol(SymbolRef S, bool &Result) const; 176 class SymbolRef { 182 SymbolRef() : OwningObject(NULL) { } in SymbolRef() function 205 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 207 bool operator==(const SymbolRef &Other) const; 208 bool operator <(const SymbolRef &Other) const; 210 error_code getNext(SymbolRef &Result) const; [all …]
|
D | ELF.h | 523 error_code getSymbolVersion(SymbolRef Symb, StringRef &Version, 526 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const; 533 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const; 568 SymbolRef &Res) const; 720 SymbolRef &Result) const { 741 Result = SymbolRef(Symb, this); 756 ::getSymbolVersion(SymbolRef SymRef, 933 SymbolRef::Type &Result) const { 939 Result = SymbolRef::ST_Unknown; 942 Result = SymbolRef::ST_Debug; [all …]
|
D | MachO.h | 55 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const; 62 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const; 91 SymbolRef &Res) const;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 99 typedef const SymExpr* SymbolRef; typedef 100 typedef llvm::SmallVector<SymbolRef, 2> SymbolRefSmallVectorTy; 202 SymbolRef parentSymbol; 206 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived() 209 SymbolRef getParentSymbol() const { return parentSymbol; } in getParentSymbol() 216 static void Profile(llvm::FoldingSetNodeID& profile, SymbolRef parent, in Profile() 472 typedef llvm::DenseMap<SymbolRef, SymbolRefSmallVectorTy*> SymbolDependTy; 510 const SymbolDerived *getDerivedSymbol(SymbolRef parentSymbol, 548 void addSymbolDependency(const SymbolRef Primary, const SymbolRef Dependent); 550 const SymbolRefSmallVectorTy *getDependentSymbols(const SymbolRef Primary); [all …]
|
D | ConstraintManager.h | 47 SymbolRef sym) const = 0; 50 SymbolRef sym,
|
D | SVals.h | 127 SymbolRef getAsLocSymbol() const; 130 SymbolRef getLocSymbolInBase() const; 134 SymbolRef getAsSymbol() const; 270 SymbolVal(SymbolRef sym) : NonLoc(SymbolValKind, sym) {} in SymbolVal() 272 SymbolRef getSymbol() const { in getSymbol()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSKeychainAPIChecker.cpp | 41 SymbolRef Region; 43 AllocationState(const Expr *E, unsigned int Idx, SymbolRef R) : in AllocationState() 65 typedef std::pair<SymbolRef, const AllocationState*> AllocationPair; 105 const Stmt *getAllocationSite(const ExplodedNode *N, SymbolRef Sym, 113 bool definitelyReturnedError(SymbolRef RetSym, 119 bool definitelyDidnotReturnError(SymbolRef RetSym, in definitelyDidnotReturnError() 138 SymbolRef Sym; 141 SecKeychainBugVisitor(SymbolRef S) : Sym(S) {} in SecKeychainBugVisitor() 161 typedef llvm::ImmutableMap<SymbolRef, 225 static SymbolRef getAsPointeeSymbol(const Expr *Expr, in getAsPointeeSymbol() [all …]
|
D | MallocChecker.cpp | 72 SymbolRef ReallocatedSym; 74 ReallocPair(SymbolRef S, bool F) : ReallocatedSym(S), IsFreeOnFailure(F) {} in ReallocPair() 177 bool checkEscape(SymbolRef Sym, const Stmt *S, CheckerContext &C) const; 178 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, 192 LeakInfo getAllocationSite(const ExplodedNode *N, SymbolRef Sym, 195 void reportLeak(SymbolRef Sym, ExplodedNode *N, CheckerContext &C) const; 208 SymbolRef Sym; 214 SymbolRef FailedReallocSymbol; 217 MallocBugVisitor(SymbolRef S) in MallocBugVisitor() 260 StackHintGeneratorForReallocationFailed(SymbolRef S, StringRef M) in StackHintGeneratorForReallocationFailed() [all …]
|
D | ObjCContainersChecker.cpp | 41 inline SymbolRef getArraySym(const Expr *E, CheckerContext &C) const { in getArraySym() 43 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym() 60 typedef llvm::ImmutableMap<SymbolRef, DefinedSVal> ArraySizeM; 80 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in addSizeInfo() 123 SymbolRef ArraySym = getArraySym(ArrayExpr, C); in checkPreStmt()
|
D | RetainCountChecker.cpp | 339 typedef llvm::ImmutableMap<SymbolRef, RefVal> RefBindings; 1377 if (SymbolRef Sym = receiverV.getAsLocSymbol()) in getInstanceMethodSummary() 1562 typedef llvm::ImmutableMap<SymbolRef, unsigned> ARCounts; 1563 typedef llvm::ImmutableMap<SymbolRef, ARCounts> ARPoolContents; 1564 typedef llvm::ImmutableList<SymbolRef> ARStack; 1586 static SymbolRef GetCurrentAutoreleasePool(ProgramStateRef state) { in GetCurrentAutoreleasePool() 1588 return stack.isEmpty() ? SymbolRef() : stack.getHead(); in GetCurrentAutoreleasePool() 1594 SymbolRef sym) { in SendAutorelease() 1595 SymbolRef pool = GetCurrentAutoreleasePool(state); in SendAutorelease() 1725 SymbolRef Sym; [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 91 bool operator()(const SymbolRef &A, const SymbolRef &B) { in operator ()() 92 SymbolRef::Type AType, BType; in operator ()() 97 if (AType != SymbolRef::ST_Function) in operator ()() 101 if (BType != SymbolRef::ST_Function) in operator ()() 206 std::vector<SymbolRef> &Symbols, in getSectionsAndSymbols() 293 std::vector<SymbolRef> Symbols; in DisassembleInputMachO() 300 std::vector<SymbolRef> UnsortedSymbols(Symbols); in DisassembleInputMachO() 332 std::vector<SymbolRef> Symbols; in DisassembleInputMachO() 392 std::vector<std::pair<uint64_t, SymbolRef> > Relocs; in DisassembleInputMachO() 401 SymbolRef RelocSym; in DisassembleInputMachO() [all …]
|
D | llvm-objdump.cpp | 500 SymbolRef::Type Type; in PrintSymbolTable() 511 bool Global = Flags & SymbolRef::SF_Global; in PrintSymbolTable() 512 bool Weak = Flags & SymbolRef::SF_Weak; in PrintSymbolTable() 513 bool Absolute = Flags & SymbolRef::SF_Absolute; in PrintSymbolTable() 520 if (Type != SymbolRef::ST_Unknown) in PrintSymbolTable() 522 char Debug = (Type == SymbolRef::ST_Debug || Type == SymbolRef::ST_File) in PrintSymbolTable() 525 if (Type == SymbolRef::ST_File) in PrintSymbolTable() 527 else if (Type == SymbolRef::ST_Function) in PrintSymbolTable()
|
/external/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 91 SymbolRef &Result) const { in getSymbolNext() 95 Result = SymbolRef(Symb, this); in getSymbolNext() 142 SymbolRef::Type &Result) const { in getSymbolType() 144 Result = SymbolRef::ST_Other; in getSymbolType() 147 Result = SymbolRef::ST_Unknown; in getSymbolType() 150 Result = SymbolRef::ST_Function; in getSymbolType() 156 Result = SymbolRef::ST_Data; in getSymbolType() 166 Result = SymbolRef::SF_None; in getSymbolFlags() 172 Result |= SymbolRef::SF_Undefined; in getSymbolFlags() 176 Result |= SymbolRef::SF_Global; in getSymbolFlags() [all …]
|
D | MachOObjectFile.cpp | 106 SymbolRef &Result) const { in getSymbolNext() 109 Result = SymbolRef(DRI, this); in getSymbolNext() 178 uint32_t flags = SymbolRef::SF_None; in getSymbolSize() 180 if (flags & SymbolRef::SF_Common) in getSymbolSize() 206 uint32_t flags = SymbolRef::SF_None; in getSymbolSize() 208 if (flags & SymbolRef::SF_Common) in getSymbolSize() 291 Result = SymbolRef::SF_None; in getSymbolFlags() 294 Result |= SymbolRef::SF_Undefined; in getSymbolFlags() 297 Result |= SymbolRef::SF_FormatSpecific; in getSymbolFlags() 300 Result |= SymbolRef::SF_Global; in getSymbolFlags() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 30 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 33 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 60 case MCExpr::SymbolRef: in AddValueSymbols_()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 54 void updateSymbolAddress(const SymbolRef &Sym, uint64_t Addr); 96 virtual void updateSymbolAddress(const SymbolRef &Sym, uint64_t Addr) in updateSymbolAddress() 135 const SymbolRef &SymRef, in updateSymbolAddress() 344 const SymbolRef &Symbol = Rel.Symbol; in processRelocationRef() 362 SymbolRef::Type SymType; in processRelocationRef() 365 case SymbolRef::ST_Debug: { in processRelocationRef() 378 case SymbolRef::ST_Unknown: { in processRelocationRef()
|
D | RuntimeDyld.cpp | 90 object::SymbolRef::Type SymType; in loadObject() 98 bool isCommon = flags & SymbolRef::SF_Common; in loadObject() 106 if (SymType == object::SymbolRef::ST_Function || in loadObject() 107 SymType == object::SymbolRef::ST_Data) { in loadObject() 121 SymType == object::SymbolRef::ST_Function, in loadObject() 123 bool isGlobal = flags & SymbolRef::SF_Global; in loadObject()
|