Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp24 void SymExpr::anchor() { } in anchor()
26 LLVM_DUMP_METHOD 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::SymbolRegionValueKind: in expand()
[all …]
DProgramState.cpp529 bool ScanReachableSymbols::scan(const SymExpr *sym) { in scan()
539 case SymExpr::SymbolRegionValueKind: in scan()
540 case SymExpr::SymbolConjuredKind: in scan()
541 case SymExpr::SymbolDerivedKind: in scan()
542 case SymExpr::SymbolExtentKind: in scan()
543 case SymExpr::SymbolMetadataKind: in scan()
545 case SymExpr::SymbolCastKind: in scan()
547 case SymExpr::SymIntExprKind: in scan()
549 case SymExpr::IntSymExprKind: in scan()
551 case SymExpr::SymSymExprKind: { 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()
441 const SymExpr *se = val.getAsSymbolicExpression(); in evalIntegralCast()
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()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h66 static inline bool classof(const SymExpr *SE) { in classof()
110 static inline bool classof(const SymExpr *SE) { in classof()
145 static inline bool classof(const SymExpr *SE) { in classof()
176 static inline bool classof(const SymExpr *SE) { in classof()
221 static inline bool classof(const SymExpr *SE) { in classof()
227 class SymbolCast : public SymExpr {
228 const SymExpr *Operand;
235 SymbolCast(const SymExpr *In, QualType From, QualType To) : in SymbolCast()
236 SymExpr(SymbolCastKind), Operand(In), FromTy(From), ToTy(To) { } in SymbolCast()
240 const SymExpr *getOperand() const { return Operand; } in getOperand()
[all …]
DSymExpr.h29 class SymExpr : public llvm::FoldingSetNode {
43 SymExpr(Kind k) : K(k) {} in SymExpr() function
46 virtual ~SymExpr() {} in ~SymExpr()
63 SmallVector<const SymExpr *, 5> itr;
68 symbol_iterator(const SymExpr *SE);
71 const SymExpr *operator*();
95 typedef const SymExpr *SymbolRef;
101 class SymbolData : public SymExpr {
106 SymbolData(Kind k, SymbolID sym) : SymExpr(k), Sym(sym) {} in SymbolData()
114 static inline bool classof(const SymExpr *SE) { in classof()
DSymbols.def1 //===-- Symbols.def - Metadata about SymExpr kinds --------------*- C++ -*-===//
10 // The list of symbols (SymExpr sub-classes) used in the Static Analyzer.
14 // SYMBOL(Id, Parent) - for specific SymExpr sub-classes, reserving the
37 ABSTRACT_SYMBOL(BinarySymExpr, SymExpr)
43 SYMBOL(SymbolCast, SymExpr)
45 ABSTRACT_SYMBOL(SymbolData, SymExpr)
DSValBuilder.h74 bool haveSameType(const SymExpr *Sym1, const SymExpr *Sym2) { in haveSameType()
281 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
285 const SymExpr *lhs, QualType type);
287 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
288 const SymExpr *rhs, QualType type);
291 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()
320 return (const SymExpr*) Data; in getSymbol()
DSValVisitor.h86 case SymExpr::Id ## Kind: DISPATCH(Id); in Visit()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h92 const MCSymbolRefExpr *SymExpr;
95 : SymExpr(_SymExpr) {} in NVPTXGenericMCSymbolRefExpr()
102 *create(const MCSymbolRefExpr *SymExpr, MCContext &Ctx);
109 const MCSymbolRefExpr *getSymbolExpr() const { return SymExpr; } in getSymbolExpr()
DNVPTXMCExpr.cpp55 NVPTXGenericMCSymbolRefExpr::create(const MCSymbolRefExpr *SymExpr, in create() argument
57 return new (Ctx) NVPTXGenericMCSymbolRefExpr(SymExpr); in create()
63 SymExpr->print(OS, MAI); in printImpl()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h86 const MCSymbolRefExpr *SymExpr;
89 : SymExpr(_SymExpr) {} in NVPTXGenericMCSymbolRefExpr()
96 *create(const MCSymbolRefExpr *SymExpr, MCContext &Ctx);
103 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/AMDGPU/
DAMDGPUMCInstLower.cpp79 const MCExpr *SymExpr = in lower() local
81 const MCExpr *Expr = MCBinaryExpr::createAdd(SymExpr, in lower()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp158 const MCSymbolRefExpr *SymExpr = cast<MCSymbolRefExpr>(SExpr->getSubExpr()); in getCallTargetOpValue() local
159 assert(SymExpr->getSymbol().getName() == "__tls_get_addr" && in getCallTargetOpValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp165 const MCSymbolRefExpr *SymExpr = cast<MCSymbolRefExpr>(SExpr->getSubExpr()); in getCallTargetOpValue() local
166 assert(SymExpr->getSymbol().getName() == "__tls_get_addr" && in getCallTargetOpValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp145 const MCExpr *SymExpr = in lowerOperand() local
147 const MCExpr *Expr = MCBinaryExpr::createAdd(SymExpr, in lowerOperand()
/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,
2359 bool MipsAsmParser::loadAndAddSymbolAddress(const MCExpr *SymExpr, in loadAndAddSymbolAddress() argument
2370 if (!SymExpr->evaluateAsRelocatable(Res, nullptr, nullptr)) { in loadAndAddSymbolAddress()
2386 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, SymExpr, getContext()); in loadAndAddSymbolAddress()
2403 MipsMCExpr::create(MipsMCExpr::MEK_GOT, SymExpr, getContext()); in loadAndAddSymbolAddress()
2407 LoExpr = MipsMCExpr::create(MipsMCExpr::MEK_LO, SymExpr, getContext()); in loadAndAddSymbolAddress()
2441 MipsMCExpr::create(MipsMCExpr::MEK_HI, SymExpr, getContext()); in loadAndAddSymbolAddress()
2443 MipsMCExpr::create(MipsMCExpr::MEK_LO, SymExpr, getContext()); in loadAndAddSymbolAddress()
2454 MipsMCExpr::create(MipsMCExpr::MEK_HIGHEST, SymExpr, getContext()); in loadAndAddSymbolAddress()
2456 MipsMCExpr::create(MipsMCExpr::MEK_HIGHER, SymExpr, getContext()); in loadAndAddSymbolAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp223 bool loadAndAddSymbolAddress(const MCExpr *SymExpr, unsigned DstReg,
2856 bool MipsAsmParser::loadAndAddSymbolAddress(const MCExpr *SymExpr, in loadAndAddSymbolAddress() argument
2868 if (!SymExpr->evaluateAsRelocatable(Res, nullptr, nullptr)) { in loadAndAddSymbolAddress()
2888 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, SymExpr, getContext()); in loadAndAddSymbolAddress()
2905 MipsMCExpr::create(MipsMCExpr::MEK_GOT, SymExpr, getContext()); in loadAndAddSymbolAddress()
2909 LoExpr = MipsMCExpr::create(MipsMCExpr::MEK_LO, SymExpr, getContext()); in loadAndAddSymbolAddress()
2944 if (!SymExpr->evaluateAsRelocatable(Res, nullptr, nullptr)) { in loadAndAddSymbolAddress()
2964 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, SymExpr, getContext()); in loadAndAddSymbolAddress()
3022 MipsMCExpr::create(MipsMCExpr::MEK_HI, SymExpr, getContext()); in loadAndAddSymbolAddress()
3024 MipsMCExpr::create(MipsMCExpr::MEK_LO, SymExpr, getContext()); in loadAndAddSymbolAddress()
[all …]

12