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

12

/freebsd-9.3-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-9.3-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()))
843 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) {
844 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1123 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Head)) {
1124 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1281 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
1282 const bool quotes = isa<VarDecl>(DR->getDecl());
1287 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()),
1299 Out << DR
1459 VisitTrueTest(const Expr *Cond, const DeclRefExpr *DR, const bool tookTrue, BugReporterContext &BRC, BugReport &report, const ExplodedNode *N) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp54 bool VisitDeclRefExpr(DeclRefExpr *DR) { argument
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
225 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument
227 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
228 CheckVarDecl(VD, DR, Val, dsk, Live);
241 const DeclRefExpr *DR; local
243 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
244 if (DR->getDecl() == VD)
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
248 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());
691 const DeclRefExpr *DR,
694 if (DR->getType().isConstQualified())
698 if (isa<EnumConstantDecl>(DR->getDecl()))
701 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl());
718 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local
720 if (DR)
690 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-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp223 void VisitDeclRefExpr(DeclRefExpr *DR);
356 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
357 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
368 observer->observerKill(DR);
385 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { argument
386 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
387 if (!isAlwaysAlive(D) && LV.inAssignment.find(DR) == LV.inAssignment.end())
402 DeclRefExpr *DR = 0; local
409 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
410 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.cpp468 void VisitDeclRefExpr(DeclRefExpr *DR) { argument
470 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp51 DispRange DR; member in struct:__anon2489::SystemZAddressingMode
62 : Form(form), DR(dr), Base(), Disp(0), Index(),
157 // Try to match Addr as a FormBD address with displacement type DR.
160 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
163 // Try to match Addr as a FormBDX address with displacement type DR.
166 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
170 // displacement type DR. Return true on success, storing the base,
173 SystemZAddressingMode::DispRange DR, SDValue Addr,
343 // with range DR. Here we're interested in the range of both the instruction
344 // described by DR an
345 selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument
456 isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument
612 selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument
623 selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument
634 selectBDXAddr(SystemZAddressingMode::AddrForm Form, SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp, SDValue &Index) const argument
[all...]
/freebsd-9.3-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);
351 DataRefImpl DR = RelI->getRawDataRefImpl();
352 MachO::any_relocation_info RE = Obj->getRelocation(DR);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h68 virtual void observerKill(const DeclRefExpr *DR) {} argument
/freebsd-9.3-release/usr.sbin/ndp/
H A Dndp.c1175 #define DR dr.defrouter[i]
1176 for (i = 0 ; DR.if_index && i < DRLSTSIZ ; i++) {
1182 sin6.sin6_addr = DR.rtaddr;
1188 if_indextoname(DR.if_index, ifix_buf));
1190 DR.flags & ND_RA_FLAG_MANAGED ? "M" : "",
1191 DR.flags & ND_RA_FLAG_OTHER ? "O" : "");
1193 if (DR.expire == 0)
1197 sec2str(DR.expire - time.tv_sec));
1199 #undef DR
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h351 void VisitCommonDeclRefExpr(const Expr *DR, const NamedDecl *D,
378 void VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *DR, ExplodedNode *Pred,
/freebsd-9.3-release/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp319 DataRefImpl DR = Sections[SectIdx].getRawDataRefImpl(); local
321 StringRef SegmentName = MachOOF->getSectionFinalSegmentName(DR);
H A Dllvm-objdump.cpp435 DataRefImpl DR = i->getRawDataRefImpl(); local
436 SegmentName = MachO->getSectionFinalSegmentName(DR);
743 DataRefImpl DR = Section->getRawDataRefImpl(); local
744 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitor.h221 const DeclRefExpr *DR,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp1633 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1634 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
2033 const DeclRefExpr *DR = cast<DeclRefExpr>(E); local
2037 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
2039 QualType T = DR->getType();
4024 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
4027 << DR->getDecl()->getDeclName() << diagRange;
4096 DeclRefExpr *DR = cast<DeclRefExpr>(E); local
4098 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl()))
4104 refVars.push_back(DR);
4251 DeclRefExpr *DR = cast<DeclRefExpr>(E); local
[all...]
/freebsd-9.3-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...]
/freebsd-9.3-release/sys/amd64/amd64/
H A Ddb_disasm.c84 #define DR 17 /* debug register */ macro
254 /*21*/ { "mov", TRUE, LONG, op2(DR,El), 0 },
256 /*23*/ { "mov", TRUE, LONG, op2(El,DR), 0 },
1544 case DR:

Completed in 328 milliseconds

12