Home
last modified time | relevance | path

Searched refs:SymExpr (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp24 void SymExpr::anchor() { } in anchor()
26 void SymExpr::dump() const { in dump()
91 bool SymExpr::symbol_iterator::operator==(const symbol_iterator &X) const { in operator ==()
95 bool SymExpr::symbol_iterator::operator!=(const symbol_iterator &X) const { in operator !=()
99 SymExpr::symbol_iterator::symbol_iterator(const SymExpr *SE) { in symbol_iterator()
103 SymExpr::symbol_iterator &SymExpr::symbol_iterator::operator++() { in operator ++()
109 SymbolRef SymExpr::symbol_iterator::operator*() { in operator *()
114 void SymExpr::symbol_iterator::expand() { in expand()
115 const SymExpr *SE = itr.pop_back_val(); in expand()
118 case SymExpr::RegionValueKind: in expand()
[all …]
DProgramState.cpp529 bool ScanReachableSymbols::scan(const SymExpr *sym) { in scan()
539 case SymExpr::RegionValueKind: in scan()
540 case SymExpr::ConjuredKind: in scan()
541 case SymExpr::DerivedKind: in scan()
542 case SymExpr::ExtentKind: in scan()
543 case SymExpr::MetadataKind: in scan()
545 case SymExpr::CastSymbolKind: in scan()
547 case SymExpr::SymIntKind: in scan()
549 case SymExpr::IntSymKind: in scan()
551 case SymExpr::SymSymKind: { in scan()
[all …]
DSValBuilder.cpp44 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op, in makeNonLoc()
55 BinaryOperator::Opcode op, const SymExpr *rhs, in makeNonLoc()
62 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op, in makeNonLoc()
63 const SymExpr *rhs, QualType type) { in makeNonLoc()
69 NonLoc SValBuilder::makeNonLoc(const SymExpr *operand, in makeNonLoc()
339 const SymExpr *symLHS = LHS.getAsSymExpr(); in makeSymExprValNN()
340 const SymExpr *symRHS = RHS.getAsSymExpr(); in makeSymExprValNN()
DSVals.cpp121 const SymExpr *SVal::getAsSymbolicExpression() const { in getAsSymbolicExpression()
128 const SymExpr* SVal::getAsSymExpr() const { in getAsSymExpr()
129 const SymExpr* Sym = getAsSymbol(); in getAsSymExpr()
DSimpleConstraintManager.cpp29 const SymExpr *SE = SymVal->getSymbol(); in canReasonAbout()
247 const SymExpr *LHS, in assumeSymRel()
DSimpleConstraintManager.h48 const SymExpr *LHS,
DEnvironment.cpp178 SymExpr::symbol_iterator SI = X.symbol_begin(), SE = X.symbol_end(); in removeDeadBindings()
DSimpleSValBuilder.cpp47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op,
83 if (const SymExpr *se = val.getAsSymbolicExpression()) { in evalCastFromNonLoc()
209 SVal SimpleSValBuilder::MakeSymIntVal(const SymExpr *LHS, in MakeSymIntVal()
DRegionStore.cpp2390 for (SymExpr::symbol_iterator SI = V.symbol_begin(), SE = V.symbol_end(); in VisitBinding()
2449 SymExpr::symbol_iterator SI = X.symbol_begin(), SE = X.symbol_end(); in removeDeadBindings()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h42 class SymExpr : public llvm::FoldingSetNode {
57 SymExpr(Kind k) : K(k) {} in SymExpr() function
60 virtual ~SymExpr() {} in ~SymExpr()
77 SmallVector<const SymExpr*, 5> itr;
81 symbol_iterator(const SymExpr *SE);
84 const SymExpr* operator*();
98 typedef const SymExpr* SymbolRef;
104 class SymbolData : public SymExpr {
109 SymbolData(Kind k, SymbolID sym) : SymExpr(k), Sym(sym) {} in SymbolData()
117 static inline bool classof(const SymExpr *SE) { in classof()
[all …]
DSValBuilder.h73 bool haveSameType(const SymExpr *Sym1, const SymExpr *Sym2) { in haveSameType()
276 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
280 const SymExpr *lhs, QualType type);
282 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
283 const SymExpr *rhs, QualType type);
286 NonLoc makeNonLoc(const SymExpr *operand, QualType fromTy, QualType toTy);
DSVals.h168 const SymExpr *getAsSymbolicExpression() const;
170 const SymExpr* getAsSymExpr() const;
177 SymExpr::symbol_iterator symbol_begin() const { in symbol_begin()
178 const SymExpr *SE = getAsSymbolicExpression(); in symbol_begin()
182 return SymExpr::symbol_iterator(); in symbol_begin()
185 SymExpr::symbol_iterator symbol_end() const { in symbol_end()
186 return SymExpr::symbol_end(); in symbol_end()
318 return (const SymExpr*) Data; in getSymbol()
DProgramState.h847 bool scan(const SymExpr *sym);
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h85 const MCSymbolRefExpr *SymExpr;
88 : SymExpr(_SymExpr) {} in NVPTXGenericMCSymbolRefExpr()
95 *create(const MCSymbolRefExpr *SymExpr, MCContext &Ctx);
102 const MCSymbolRefExpr *getSymbolExpr() const { return SymExpr; } in getSymbolExpr()
DNVPTXMCExpr.cpp50 NVPTXGenericMCSymbolRefExpr::create(const MCSymbolRefExpr *SymExpr, in create() argument
52 return new (Ctx) NVPTXGenericMCSymbolRefExpr(SymExpr); in create()
58 SymExpr->print(OS, MAI); in printImpl()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp157 const MCSymbolRefExpr *SymExpr = cast<MCSymbolRefExpr>(SExpr->getSubExpr()); in getCallTargetOpValue() local
158 assert(SymExpr->getSymbol().getName() == "__tls_get_addr" && in getCallTargetOpValue()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h46 class SymExpr; variable
47 typedef const SymExpr* SymbolRef;
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp187 bool loadAndAddSymbolAddress(const MCExpr *SymExpr, unsigned DstReg,
2361 const MCExpr *SymExpr, unsigned DstReg, unsigned SrcReg, bool Is32BitSym, in loadAndAddSymbolAddress() argument
2365 const MCExpr *Symbol = cast<MCExpr>(SymExpr); in loadAndAddSymbolAddress()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp2124 for (SymExpr::symbol_iterator si = Len.symbol_begin(), in checkLiveSymbols()