/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
D | ObjectFile.h | 83 class SymbolRef { 89 SymbolRef() : OwningObject(NULL) { in SymbolRef() function 100 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 102 bool operator==(const SymbolRef &Other) const; 104 error_code getNext(SymbolRef &Result) const; 110 error_code getSymbolType(SymbolRef::SymbolType &Result) const; 126 typedef content_iterator<SymbolRef> symbol_iterator; 146 error_code getSymbol(SymbolRef &Result) const; 166 friend class SymbolRef; variable 194 error_code containsSymbol(SymbolRef S, bool &Result) const; [all …]
|
/external/llvm/include/llvm/Object/ |
D | ObjectFile.h | 33 class SymbolRef; variable 70 friend class SymbolRef; variable 100 bool containsSymbol(SymbolRef S) const; 115 class SymbolRef : public BasicSymbolRef { 119 SymbolRef() : BasicSymbolRef() {} in SymbolRef() function 130 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 131 SymbolRef(const BasicSymbolRef &B) : BasicSymbolRef(B) { in SymbolRef() function 147 Expected<SymbolRef::Type> getType() const; 158 symbol_iterator(SymbolRef Sym) : basic_symbol_iterator(Sym) {} in symbol_iterator() 160 : basic_symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in symbol_iterator() [all …]
|
D | ELFObjectFile.h | 110 class ELFSymbolRef : public SymbolRef { 112 ELFSymbolRef(const SymbolRef &B) : SymbolRef(B) { in ELFSymbolRef() 113 assert(isa<ELFObjectFileBase>(SymbolRef::getObject())); in ELFSymbolRef() 136 : symbol_iterator(SymbolRef(B->getRawDataRefImpl(), in elf_symbol_iterator() 217 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 461 Expected<SymbolRef::Type> 467 return SymbolRef::ST_Unknown; in getSymbolType() 469 return SymbolRef::ST_Debug; in getSymbolType() 471 return SymbolRef::ST_File; in getSymbolType() 473 return SymbolRef::ST_Function; in getSymbolType() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.h | 53 SymbolRef Sym, 67 virtual ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 71 virtual ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 75 virtual ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 79 virtual ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 83 virtual ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 87 virtual ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 93 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 97 ProgramStateRef state, SymbolRef Sym, const llvm::APSInt &From, 113 SymbolRef Sym,
|
D | RangeConstraintManager.cpp | 290 CLANG_ENTO_PROGRAMSTATE_MAP(SymbolRef, 295 RangeSet GetRange(ProgramStateRef state, SymbolRef sym); 300 ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, 304 ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, 308 ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, 312 ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, 316 ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, 320 ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, 325 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, 329 ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, [all …]
|
D | SimpleConstraintManager.cpp | 99 SymbolRef Sym, bool Assumption) { in assumeAuxForSymbol() 122 SymbolRef sym = Cond.getAsSymExpr(); in assumeAux() 132 SymbolRef sym = SV.getSymbol(); in assumeAux() 166 SymbolRef Subtraction = SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, in assumeAux() 203 SymbolRef Sym = Value.getAsSymExpr(); in assumeWithinInclusiveRange() 215 if (SymbolRef Sym = Value.getAsSymbol()) in assumeWithinInclusiveRange() 229 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { in computeAdjustment() 264 SymbolRef Sym = LHS; in assumeSymRel() 303 SymbolRef Sym, in assumeSymWithinInclusiveRange() 312 SymbolRef AdjustedSym = Sym; in assumeSymWithinInclusiveRange()
|
D | SymbolManager.cpp | 109 SymbolRef SymExpr::symbol_iterator::operator*() { in operator *() 186 SymbolManager::getDerivedSymbol(SymbolRef parentSymbol, in getDerivedSymbol() 347 void SymbolManager::addSymbolDependency(const SymbolRef Primary, in addSymbolDependency() 348 const SymbolRef Dependent) { in addSymbolDependency() 361 const SymbolRef Primary) { in getDependentSymbols() 368 void SymbolReaper::markDependentsLive(SymbolRef sym) { in markDependentsLive() 386 void SymbolReaper::markLive(SymbolRef sym) { in markLive() 408 void SymbolReaper::markInUse(SymbolRef sym) { in markInUse() 413 bool SymbolReaper::maybeDead(SymbolRef sym) { in maybeDead() 452 bool SymbolReaper::isLive(SymbolRef sym) { in isLive()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | SimpleStreamChecker.cpp | 29 typedef SmallVector<SymbolRef, 2> SymbolVector; 60 void reportDoubleClose(SymbolRef FileDescSym, 64 void reportLeaks(ArrayRef<SymbolRef> LeakedStreams, CheckerContext &C, 90 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) 99 bool VisitSymbol(SymbolRef sym) override { in VisitSymbol() 127 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in checkPostCall() 146 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall() 163 static bool isLeaked(SymbolRef Sym, const StreamState &SS, in isLeaked() 182 SymbolRef Sym = I->first; in checkDeadSymbols() 200 void SimpleStreamChecker::reportDoubleClose(SymbolRef FileDescSym, in reportDoubleClose() [all …]
|
D | CheckObjCDealloc.cpp | 133 bool diagnoseExtraRelease(SymbolRef ReleasedValue, const ObjCMethodCall &M, 136 bool diagnoseMistakenDealloc(SymbolRef DeallocedValue, 140 SymbolRef getValueReleasedByNillingOut(const ObjCMethodCall &M, 143 const ObjCIvarRegion *getIvarRegionForIvarSymbol(SymbolRef IvarSym) const; 144 SymbolRef getInstanceSymbolFromIvarSymbol(SymbolRef IvarSym) const; 147 findPropertyOnDeallocatingInstance(SymbolRef IvarSym, 166 void transitionToReleaseValue(CheckerContext &C, SymbolRef Value) const; 168 SymbolRef InstanceSym, 169 SymbolRef ValueSym) const; 179 typedef llvm::ImmutableSet<SymbolRef> SymbolSet; [all …]
|
D | ObjCSuperDeallocChecker.cpp | 54 void reportUseAfterDealloc(SymbolRef Sym, StringRef Desc, const Stmt *S, 62 REGISTER_SET_WITH_PROGRAMSTATE(CalledSuperDealloc, SymbolRef) 68 SymbolRef ReceiverSymbol; 72 SuperDeallocBRVisitor(SymbolRef ReceiverSymbol) in SuperDeallocBRVisitor() 91 SymbolRef ReceiverSymbol = M.getReceiverSVal().getAsSymbol(); in checkPreObjCMessage() 126 SymbolRef ReceiverSymbol = M.getSelfSVal().getAsSymbol(); in checkPostObjCMessage() 138 SymbolRef BaseSym = L.getLocSymbolInBase(); in checkLocation() 181 void ObjCSuperDeallocChecker::reportUseAfterDealloc(SymbolRef Sym, in reportUseAfterDealloc() 211 SymbolRef Sym = CE.getArgSVal(I).getAsSymbol(); in diagnoseCallArguments()
|
D | MacOSKeychainAPIChecker.cpp | 40 SymbolRef Region; 42 AllocationState(const Expr *E, unsigned int Idx, SymbolRef R) : in AllocationState() 62 typedef std::pair<SymbolRef, const AllocationState*> AllocationPair; 103 const ExplodedNode *getAllocationNode(const ExplodedNode *N, SymbolRef Sym, 110 bool definitelyReturnedError(SymbolRef RetSym, 116 bool definitelyDidnotReturnError(SymbolRef RetSym, in definitelyDidnotReturnError() 135 SymbolRef Sym; 138 SecKeychainBugVisitor(SymbolRef S) : Sym(S) {} in SecKeychainBugVisitor() 158 SymbolRef, in REGISTER_MAP_WITH_PROGRAMSTATE() argument 210 static SymbolRef getAsPointeeSymbol(const Expr *Expr, in getAsPointeeSymbol() [all …]
|
D | MallocChecker.cpp | 141 SymbolRef ReallocatedSym; 144 ReallocPair(SymbolRef S, ReallocPairKind K) : in ReallocPair() 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; 345 SymbolRef &EscapingSymbol) const; 363 Optional<CheckKind> getCheckIfTracked(CheckerContext &C, SymbolRef Sym, 374 SymbolRef Sym, bool OwnershipTransferred) const; 379 SymbolRef Sym) const; [all …]
|
D | ObjCContainersChecker.cpp | 41 inline SymbolRef getArraySym(const Expr *E, CheckerContext &C) const { in getArraySym() 43 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym() 64 REGISTER_MAP_WITH_PROGRAMSTATE(ArraySizeMap, SymbolRef, DefinedSVal) in REGISTER_MAP_WITH_PROGRAMSTATE() argument 76 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE() 120 SymbolRef ArraySym = getArraySym(ArrayExpr, C); in checkPreStmt()
|
D | RetainCountChecker.cpp | 363 REGISTER_MAP_WITH_PROGRAMSTATE(RefBindings, SymbolRef, RefVal) in REGISTER_MAP_WITH_PROGRAMSTATE() argument 366 SymbolRef Sym) { in REGISTER_MAP_WITH_PROGRAMSTATE() 371 SymbolRef Sym, RefVal Val) { in setRefBinding() 375 static ProgramStateRef removeRefBinding(ProgramStateRef State, SymbolRef Sym) { in removeRefBinding() 1508 if (SymbolRef Sym = ReceiverV.getAsLocSymbol()) in getInstanceMethodSummary() 1750 SymbolRef Sym; 1755 CFRefReportVisitor(SymbolRef sym, bool gcEnabled, const SummaryLogTy &log) in CFRefReportVisitor() 1776 CFRefLeakReportVisitor(SymbolRef sym, bool GCEnabled, in CFRefLeakReportVisitor() 1799 const SummaryLogTy &Log, ExplodedNode *n, SymbolRef sym, in CFRefReport() 1808 const SummaryLogTy &Log, ExplodedNode *n, SymbolRef sym, in CFRefReport() [all …]
|
D | TestAfterDivZeroChecker.cpp | 29 SymbolRef ZeroSymbol; 34 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC) in ZeroState() 60 SymbolRef ZeroSymbol; 65 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC) in DivisionBRVisitor() 149 SymbolRef SR = Var.getAsSymbol(); in setDivZeroMap() 161 SymbolRef SR = Var.getAsSymbol(); in hasDivZeroMap()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | SymbolizableObjectFile.cpp | 56 std::vector<std::pair<SymbolRef, uint64_t>> Symbols = in create() 119 std::error_code SymbolizableObjectFile::addSymbol(const SymbolRef &Symbol, in addSymbol() 123 Expected<SymbolRef::Type> SymbolTypeOrErr = Symbol.getType(); in addSymbol() 126 SymbolRef::Type SymbolType = *SymbolTypeOrErr; in addSymbol() 127 if (SymbolType != SymbolRef::ST_Function && SymbolType != SymbolRef::ST_Data) in addSymbol() 154 auto &M = SymbolType == SymbolRef::ST_Function ? Functions : Objects; in addSymbol() 172 bool SymbolizableObjectFile::getNameFromSymbolTable(SymbolRef::Type Type, in getNameFromSymbolTable() 177 const auto &SymbolMap = Type == SymbolRef::ST_Function ? Functions : Objects; in getNameFromSymbolTable() 216 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset, in symbolizeCode() 239 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset, in symbolizeInlinedCode() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 118 SymbolRef parentSymbol; 122 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived() 125 SymbolRef getParentSymbol() const { return parentSymbol; } in getParentSymbol() 133 static void Profile(llvm::FoldingSetNodeID& profile, SymbolRef parent, in Profile() 391 typedef llvm::DenseMap<SymbolRef, SymbolRefSmallVectorTy*> SymbolDependTy; 428 const SymbolDerived *getDerivedSymbol(SymbolRef parentSymbol, 466 void addSymbolDependency(const SymbolRef Primary, const SymbolRef Dependent); 468 const SymbolRefSmallVectorTy *getDependentSymbols(const SymbolRef Primary); 481 typedef llvm::DenseSet<SymbolRef> SymbolSetTy; 482 typedef llvm::DenseMap<SymbolRef, SymbolStatus> SymbolMapTy; [all …]
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 89 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(DebugObj)) { in NotifyObjectEmitted() 90 SymbolRef Sym = P.first; in NotifyObjectEmitted() 91 if (Sym.getType() != SymbolRef::ST_Function) in NotifyObjectEmitted() 131 if (I->getType() == SymbolRef::ST_Function) { in NotifyFreeingObject()
|
/external/llvm/lib/Object/ |
D | SymbolSize.cpp | 40 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID() 46 std::vector<std::pair<SymbolRef, uint64_t>> 48 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() 64 SymbolRef Sym = *I; in computeSymbolSizes()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 30 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 33 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 61 case MCExpr::SymbolRef: in AddValueSymbols_()
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 150 for (const SymbolRef &Symbol : MainBinary.symbols()) { in parseOneBinary() 274 for (const SymbolRef &Symbol : MainBinary.symbols()) { in dumpOneBinaryStab() 419 if (Sym.getFlags() & (SymbolRef::SF_Absolute | SymbolRef::SF_Common)) in loadCurrentObjectFileSymbols() 443 Expected<SymbolRef::Type> TypeOrErr = Sym.getType(); in loadMainBinarySymbols() 449 SymbolRef::Type Type = *TypeOrErr; in loadMainBinarySymbols() 451 if ((Type & SymbolRef::ST_Debug) || (Type & SymbolRef::ST_Unknown)) in loadMainBinarySymbols() 457 if (!(Sym.getFlags() & SymbolRef::SF_Global)) in loadMainBinarySymbols()
|
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 111 for (const std::pair<SymbolRef, uint64_t> &P : computeSymbolSizes(DebugObj)) { in NotifyObjectEmitted() 112 SymbolRef Sym = P.first; in NotifyObjectEmitted() 116 Expected<SymbolRef::Type> SymTypeOrErr = Sym.getType(); in NotifyObjectEmitted() 122 SymbolRef::Type SymType = *SymTypeOrErr; in NotifyObjectEmitted() 123 if (SymType != SymbolRef::ST_Function) in NotifyObjectEmitted()
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | COFFObjectFile.cpp | 90 SymbolRef &Result) const { in getSymbolNext() 94 Result = SymbolRef(Symb, this); in getSymbolNext() 157 SymbolRef::SymbolType &Result) const { in getSymbolType() 159 Result = SymbolRef::ST_Other; in getSymbolType() 162 Result = SymbolRef::ST_External; in getSymbolType() 165 Result = SymbolRef::ST_Function; in getSymbolType() 171 Result = SymbolRef::ST_Data; in getSymbolType() 477 return symbol_iterator(SymbolRef(ret, this)); in begin_symbols() 485 return symbol_iterator(SymbolRef(ret, this)); in end_symbols() 579 SymbolRef &Res) const { in getRelocationSymbol() [all …]
|
D | MachOObjectFile.cpp | 106 SymbolRef &Result) const { in getSymbolNext() 109 Result = SymbolRef(DRI, this); in getSymbolNext() 232 SymbolRef::SymbolType &Res) const { in getSymbolType() 243 Res = SymbolRef::ST_Other; in getSymbolType() 251 Res = SymbolRef::ST_External; in getSymbolType() 254 Res = SymbolRef::ST_Function; in getSymbolType() 266 return symbol_iterator(SymbolRef(DRI, this)); in begin_symbols() 273 return symbol_iterator(SymbolRef(DRI, this)); in end_symbols() 457 SymbolRef::SymbolType ST; in sectionContainsSymbol() 459 if (ST == SymbolRef::ST_External) { in sectionContainsSymbol() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 164 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset() 208 if (Flags & SymbolRef::SF_Common) in loadObjectImpl() 213 object::SymbolRef::Type SymType; in loadObjectImpl() 228 if (Flags & SymbolRef::SF_Weak) in loadObjectImpl() 230 if (Flags & SymbolRef::SF_Exported) in loadObjectImpl() 233 if (Flags & SymbolRef::SF_Absolute && in loadObjectImpl() 234 SymType != object::SymbolRef::ST_File) { in loadObjectImpl() 249 } else if (SymType == object::SymbolRef::ST_Function || in loadObjectImpl() 250 SymType == object::SymbolRef::ST_Data || in loadObjectImpl() 251 SymType == object::SymbolRef::ST_Unknown || in loadObjectImpl() [all …]
|