/freebsd-11.0-release/contrib/gcc/ |
H A D | tree-data-ref.h | 73 /* 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 D | tree-vectorizer.h | 268 #define DR_MISALIGNMENT(DR) (DR)->aux
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local 37 if (DR && isa<EnumConstantDecl>(DR->getDecl())) 49 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local 51 if (DR) 52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
H A D | BugReporterVisitors.cpp | 320 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(RetE)) 321 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())) { 1117 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Head)) { 1118 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 1452 VisitTrueTest(const Expr *Cond, const DeclRefExpr *DR, const bool tookTrue, BugReporterContext &BRC, BugReport &report, const ExplodedNode *N) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 54 bool VisitDeclRefExpr(DeclRefExpr *DR) { argument 56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 232 CheckVarDecl(VD, DR, Val, dsk, Live); 245 const DeclRefExpr *DR; local 247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) 248 if (DR->getDecl() == VD) 251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) 252 if (DR [all...] |
H A D | MallocOverflowSecurityChecker.cpp | 144 const Decl *getDecl(const DeclRefExpr *DR) { return DR->getDecl(); } argument 149 void Erase(const T1 *DR, std::function<bool(theVecType::iterator)> pred) { argument 155 if ((getDecl(DR_i) == getDecl(DR)) && pred(i)) 164 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 165 Erase<DeclRefExpr>(DR, PredTrue); 218 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 219 Erase<DeclRefExpr>(DR, pred);
|
H A D | DereferenceChecker.cpp | 64 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); local 65 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 68 Ranges.push_back(DR->getSourceRange());
|
H A D | ObjCSelfInitChecker.cpp | 419 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts())) 420 return (DR->getDecl() == analCtx->getSelfDecl());
|
H A D | CheckSecuritySyntaxOnly.cpp | 203 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { 204 const NamedDecl *ND = DR->getDecl(); 205 return ND == x || ND == y ? DR : nullptr;
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenMux.cpp | 72 MuxInfo(MachineBasicBlock::iterator It, unsigned DR, unsigned PR, argument 75 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(D1), 205 unsigned DR = MI->getOperand(0).getReg(); local 206 if (isRegPair(DR)) 211 CondsetMap::iterator F = CM.find(DR); 221 auto It = CM.insert(std::make_pair(DR, CondsetInfo())); 233 // There is now a complete definition of DR, i.e. we have the predicate 268 if (DU.Defs[PR] || DU.Defs[DR] || DU.Uses[DR]) { 285 ML.push_back(MuxInfo(At, DR, P [all...] |
H A D | HexagonGenPredicate.cpp | 457 Register DR = I->getOperand(0); local 459 if (!TargetRegisterInfo::isVirtualRegister(DR.R)) 463 if (MRI->getRegClass(DR.R) != PredRC) 467 assert(!DR.S && !SR.S && "Unexpected subregister"); 468 MRI->replaceRegWith(DR.R, SR.R);
|
H A D | HexagonSplitDouble.cpp | 393 for (unsigned DR : Part) { 394 MachineInstr *DefI = MRI->getVRegDef(DR); 400 if (isInduction(DR, IRM)) 403 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); 791 // Shift left: DR = shl R, #s 795 // Shift right: DR = shr R, #s 906 // DR = or (R1, asl(R2, #s)) 914 // DR = or (R1, asl(R2, #0)) 943 // DR = or (R1, asl(R2, #32)) 953 // DR [all...] |
H A D | HexagonBitSimplify.cpp | 935 unsigned DR = UseI->getOperand(0).getReg(); local 936 if (DR == R) 1435 unsigned DR = Defs.find_first(); 1436 if (!TargetRegisterInfo::isVirtualRegister(DR)) 1439 if (isConst(DR, C)) { 1442 unsigned ImmReg = genTfrConst(MRI.getRegClass(DR), C, B, At, DL); 1444 HBS::replaceReg(DR, ImmReg, MRI); 1445 BT.put(ImmReg, BT.lookup(DR)); 2508 unsigned DR = getDefReg(SI); 2509 const TargetRegisterClass *RC = MRI->getRegClass(DR); [all...] |
H A D | HexagonExpandCondsets.cpp | 721 unsigned DR = MD.getReg(), DSR = MD.getSubReg(); local 726 if (MachineInstr *TfrT = genTfrFor(MI->getOperand(2), DR, DSR, MP, true)) 728 if (MachineInstr *TfrF = genTfrFor(MI->getOperand(3), DR, DSR, MP, false))
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 208 void VisitDeclRefExpr(DeclRefExpr *DR); 340 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) 341 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 352 observer->observerKill(DR); 366 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { argument 367 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 368 if (!isAlwaysAlive(D) && LV.inAssignment.find(DR) == LV.inAssignment.end()) 382 DeclRefExpr *DR = nullptr; local 389 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { 390 VD = cast<VarDecl>(DR [all...] |
H A D | PseudoConstantAnalysis.cpp | 70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 71 return DR->getDecl(); 201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head); local 202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
H A D | BodyFarm.cpp | 110 DeclRefExpr *DR = local 119 return DR; 205 DeclRefExpr *DR = M.makeDeclRefExpr(Block); local 206 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); 266 DeclRefExpr *DR = M.makeDeclRefExpr(PV); local 267 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty);
|
H A D | ReachableCode.cpp | 35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); local 36 if (!DR) 38 return isa<EnumConstantDecl>(DR->getDecl());
|
H A D | AnalysisDeclContext.cpp | 497 void VisitDeclRefExpr(DeclRefExpr *DR) { argument 499 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 53 DispRange DR; member in struct:__anon3014::SystemZAddressingMode 64 : Form(form), DR(dr), Base(), Disp(0), Index(), 161 // Try to match Addr as a FormBD address with displacement type DR. 164 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 167 // Try to match Addr as a FormBDX address with displacement type DR. 170 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 174 // displacement type DR. Return true on success, storing the base, 177 SystemZAddressingMode::DispRange DR, SDValue Addr, 361 // with range DR. Here we're interested in the range of both the instruction 362 // described by DR an 363 selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument 474 isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument 630 selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument 641 selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument 652 selectBDXAddr(SystemZAddressingMode::AddrForm Form, SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp, SDValue &Index) const argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | LiveVariables.h | 66 virtual void observerKill(const DeclRefExpr *DR) {} argument
|
/freebsd-11.0-release/contrib/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 442 DataRefImpl DR = Section.getRawDataRefImpl(); local 447 ArrayRef<char> RawName = Obj->getSectionRawName(DR); 448 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); 449 ArrayRef<char> RawSegmentName = Obj->getSectionRawFinalSegmentName(DR); 534 DataRefImpl DR = Reloc.getRawDataRefImpl(); local 535 MachO::any_relocation_info RE = Obj->getRelocation(DR); 548 section_iterator SecI = Obj->getRelocationSection(DR);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporterVisitor.h | 221 const DeclRefExpr *DR,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExprEngine.h | 366 void VisitCommonDeclRefExpr(const Expr *DR, const NamedDecl *D, 393 void VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *DR, ExplodedNode *Pred,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 2447 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) { 2448 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) { 3085 const DeclRefExpr *DR = cast<DeclRefExpr>(E); local 3089 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 3091 QualType T = DR->getType(); 5656 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var. 5658 << DR->getDecl()->getDeclName() << diagRange; 5726 DeclRefExpr *DR = cast<DeclRefExpr>(E); local 5729 if (DR->refersToEnclosingVariableOrCapture()) 5732 if (VarDecl *V = dyn_cast<VarDecl>(DR 5893 DeclRefExpr *DR = cast<DeclRefExpr>(E); local [all...] |