Searched refs:DR (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10.0-release/contrib/gcc/
H A Dtree-data-ref.h73 /* A pointer to the statement that contains this DR. */
114 #define DR_STMT(DR) (DR)->stmt
115 #define DR_REF(DR) (DR)->ref
116 #define DR_BASE_OBJECT(DR) (DR)->object_info.base_object
117 #define DR_TYPE(DR) (DR)->type
118 #define DR_ACCESS_FNS(DR)\
[all...]
H A Dtree-vectorizer.h268 #define DR_MISALIGNMENT(DR) (DR)->aux
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local
38 if (DR && isa<EnumConstantDecl>(DR->getDecl()))
52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local
54 if (DR)
55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
H A DBugReporterVisitors.cpp324 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(RetE))
325 if (const DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(DR->getDecl()))
839 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) {
840 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1116 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Head)) {
1117 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1274 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
1275 const bool quotes = isa<VarDecl>(DR->getDecl());
1280 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()),
1292 Out << DR
1451 VisitTrueTest(const Expr *Cond, const DeclRefExpr *DR, const bool tookTrue, BugReporterContext &BRC, BugReport &report, const ExplodedNode *N) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp55 bool VisitDeclRefExpr(DeclRefExpr *DR) { argument
57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
227 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument
229 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
230 CheckVarDecl(VD, DR, Val, dsk, Live);
243 const DeclRefExpr *DR; local
245 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
246 if (DR->getDecl() == VD)
249 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
250 if (DR
[all...]
H A DIdempotentOperationChecker.cpp95 static bool isConstantOrPseudoConstant(const DeclRefExpr *DR,
499 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); local
500 if (!DR)
503 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl());
702 const DeclRefExpr *DR,
705 if (DR->getType().isConstQualified())
709 if (isa<EnumConstantDecl>(DR->getDecl()))
712 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl());
729 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local
731 if (DR)
701 isConstantOrPseudoConstant( const DeclRefExpr *DR, AnalysisDeclContext *AC) argument
[all...]
H A DDereferenceChecker.cpp63 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); local
64 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
67 Ranges.push_back(DR->getSourceRange());
H A DMallocOverflowSecurityChecker.cpp135 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) {
136 const Decl * EdreD = DR->getDecl();
H A DObjCSelfInitChecker.cpp425 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts()))
426 return (DR->getDecl() == analCtx->getSelfDecl());
H A DCheckSecuritySyntaxOnly.cpp193 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
194 const NamedDecl *ND = DR->getDecl();
195 return ND == x || ND == y ? DR : NULL;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp224 void VisitDeclRefExpr(DeclRefExpr *DR);
357 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
358 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
369 observer->observerKill(DR);
386 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { argument
387 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
388 if (!isAlwaysAlive(D) && LV.inAssignment.find(DR) == LV.inAssignment.end())
403 DeclRefExpr *DR = 0; local
410 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
411 VD = cast<VarDecl>(DR
[all...]
H A DPseudoConstantAnalysis.cpp70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
71 return DR->getDecl();
202 const DeclRefExpr *DR = cast<DeclRefExpr>(Head); local
203 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
H A DBodyFarm.cpp110 DeclRefExpr *DR = local
119 return DR;
195 DeclRefExpr *DR = M.makeDeclRefExpr(Block); local
196 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty);
258 DeclRefExpr *DR = M.makeDeclRefExpr(PV); local
259 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty);
H A DAnalysisDeclContext.cpp441 void VisitDeclRefExpr(DeclRefExpr *DR) { argument
443 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp50 DispRange DR; member in struct:__anon2503::SystemZAddressingMode
61 : Form(form), DR(dr), Base(), Disp(0), Index(),
116 // Try to match Addr as a FormBD address with displacement type DR.
119 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
123 // displacement type DR. Return true on success, storing the base,
126 SystemZAddressingMode::DispRange DR, SDValue Addr,
241 // with range DR. Here we're interested in the range of both the instruction
242 // described by DR and of any pairing instruction.
243 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { argument
244 switch (DR) {
344 isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument
498 selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) argument
509 selectBDXAddr(SystemZAddressingMode::AddrForm Form, SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp, SDValue &Index) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/
H A DCFGRecStmtDeclVisitor.h41 void VisitDeclRefExpr(DeclRefExpr *DR) { argument
42 static_cast<ImplClass*>(this)->VisitDecl(DR->getDecl());
/freebsd-10.0-release/contrib/llvm/tools/llvm-readobj/
H A DMachODumper.cpp236 DataRefImpl DR = SecI->getRawDataRefImpl(); local
242 ArrayRef<char> RawName = Obj->getSectionRawName(DR);
243 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR);
244 ArrayRef<char> RawSegmentName = Obj->getSectionRawFinalSegmentName(DR);
352 DataRefImpl DR = RelI->getRawDataRefImpl();
353 macho::RelocationEntry RE = Obj->getRelocation(DR);
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h68 virtual void observerKill(const DeclRefExpr *DR) {} argument
/freebsd-10.0-release/usr.sbin/ndp/
H A Dndp.c1137 #define DR dr.defrouter[i]
1138 for (i = 0 ; DR.if_index && i < DRLSTSIZ ; i++) {
1144 sin6.sin6_addr = DR.rtaddr;
1150 if_indextoname(DR.if_index, ifix_buf));
1152 DR.flags & ND_RA_FLAG_MANAGED ? "M" : "",
1153 DR.flags & ND_RA_FLAG_OTHER ? "O" : "");
1155 if (DR.expire == 0)
1159 sec2str(DR.expire - now.tv_sec));
1161 #undef DR
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp1358 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1359 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
1707 const DeclRefExpr *DR = cast<DeclRefExpr>(E); local
1711 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1713 QualType T = DR->getType();
3634 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
3637 << DR->getDecl()->getDeclName() << diagRange;
3706 DeclRefExpr *DR = cast<DeclRefExpr>(E); local
3708 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl()))
3714 refVars.push_back(DR);
3861 DeclRefExpr *DR = cast<DeclRefExpr>(E); local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h349 void VisitCommonDeclRefExpr(const Expr *DR, const NamedDecl *D,
376 void VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *DR, ExplodedNode *Pred,
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitor.h221 const DeclRefExpr *DR,
/freebsd-10.0-release/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp260 DataRefImpl DR = i->getRawDataRefImpl(); local
261 SegmentName = MachO->getSectionFinalSegmentName(DR);
605 DataRefImpl DR = Section->getRawDataRefImpl(); local
606 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR);
H A DMachODump.cpp319 DataRefImpl DR = Sections[SectIdx].getRawDataRefImpl(); local
320 StringRef SegmentName = MachOOF->getSectionFinalSegmentName(DR);
/freebsd-10.0-release/sys/dev/hptmv/
H A Damd64-elf.raid.o.uu76 M``-V&TB)[DR)[^@`````]H62````!'0'@(N2````!$'_Q`^V0WA$.>!_P^DO
115 M````#[=%6D2)Z=/XJ`%T<DR)_^@`````2(G#26/%38NDQJ````!,B2-(B6M`
131 M``#H`````$B)[DR)]T'_56CI@0```(![(0%T'0^W4UI!#[9-`[@!````T^`Y
167 MBX3%H````$B)!DR)Y_]0:$'_Q4&#_0%^K.G#````2(M&"$B)12`/MT809HE%
252 M#$EC_$C!YP1(C;PO<`L``.AH_?__0?_$1#GC?^1(B>CI(@$``$B)[DR)[^B=
257 M'$ECQ$B+M,6@"@``3(GOZ+C[__]!_\Q!@_S_=>2Z!P```$B)[DR)[^AO^?__
286 M"$B)<`A(B09(B58(2(DR@+YB#````758@'T2`G5)2`^V1DM(B[S&H`H``.@3
291 M3#GP=0A-B;0DF````$B)[DR)[^BZ-@``Z14#``!F9I!FD`^VA8$```#_P(B%
299 M`$B)[DR)[^C>^?__Z5D!``"Z`````$B)[DR)[
[all...]

Completed in 386 milliseconds

12