| /freebsd-12-stable/contrib/gcc/ |
| D | tree-data-ref.h | 114 #define DR_STMT(DR) (DR)->stmt argument 115 #define DR_REF(DR) (DR)->ref argument 116 #define DR_BASE_OBJECT(DR) (DR)->object_info.base_object argument 117 #define DR_TYPE(DR) (DR)->type argument 118 #define DR_ACCESS_FNS(DR)\ argument 119 (DR_TYPE(DR) == ARRAY_REF_TYPE ? \ 120 (DR)->object_info.access_fns : (DR)->first_location.access_fns) 121 #define DR_ACCESS_FN(DR, I) VEC_index (tree, DR_ACCESS_FNS (DR), I) argument 122 #define DR_NUM_DIMENSIONS(DR) VEC_length (tree, DR_ACCESS_FNS (DR)) argument 123 #define DR_IS_READ(DR) (DR)->is_read argument [all …]
|
| D | tree-vectorizer.h | 268 #define DR_MISALIGNMENT(DR) (DR)->aux argument
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| D | DeadStoresChecker.cpp | 55 bool VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument 57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr() 289 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, in CheckDeclRef() argument 291 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() 292 CheckVarDecl(VD, DR, Val, dsk, Live); in CheckDeclRef() 305 const DeclRefExpr *DR; in isIncrement() local 307 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement() 308 if (DR->getDecl() == VD) in isIncrement() 311 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement() 312 if (DR->getDecl() == VD) in isIncrement() [all …]
|
| D | MallocOverflowSecurityChecker.cpp | 143 static const Decl *getDecl(const DeclRefExpr *DR) { return DR->getDecl(); } in getDecl() argument 149 void Erase(const T1 *DR, in Erase() argument 151 auto P = [DR, Pred](const MallocOverflowCheck &Check) { in Erase() 153 return getDecl(CheckDR) == getDecl(DR) && Pred(Check); in Erase() 163 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in CheckExpr() local 164 Erase<DeclRefExpr>(DR, PredTrue); in CheckExpr() 220 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in CheckAssignmentExpr() local 221 Erase<DeclRefExpr>(DR, pred); in CheckAssignmentExpr()
|
| D | DereferenceChecker.cpp | 67 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource() local 68 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() 71 Ranges.push_back(DR->getSourceRange()); in AddDerefSource()
|
| D | ObjCSelfInitChecker.cpp | 418 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts())) in isSelfVar() local 419 return (DR->getDecl() == analCtx->getSelfDecl()); in isSelfVar()
|
| D | CheckSecuritySyntaxOnly.cpp | 246 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { in getIncrementedVar() local 247 const NamedDecl *ND = DR->getDecl(); in getIncrementedVar() 248 return ND == x || ND == y ? DR : nullptr; in getIncrementedVar()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/ |
| D | LiveVariables.cpp | 166 void VisitDeclRefExpr(DeclRefExpr *DR); 329 if (const auto *DR = dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParens())) { in VisitBinaryOperator() local 330 LV.inAssignment[DR] = 1; in VisitBinaryOperator() 340 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) { in VisitBinaryOperator() local 341 const Decl* D = DR->getDecl(); in VisitBinaryOperator() 356 observer->observerKill(DR); in VisitBinaryOperator() 370 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument 371 const Decl* D = DR->getDecl(); in VisitDeclRefExpr() 372 bool InAssignment = LV.inAssignment[DR]; in VisitDeclRefExpr() 396 DeclRefExpr *DR = nullptr; in VisitObjCForCollectionStmt() local [all …]
|
| D | BodyFarm.cpp | 141 DeclRefExpr *DR = DeclRefExpr::Create( in makeDeclRefExpr() local 144 return DR; in makeDeclRefExpr() 581 DeclRefExpr *DR = M.makeDeclRefExpr(PV); in create_dispatch_sync() local 582 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); in create_dispatch_sync()
|
| D | ReachableCode.cpp | 35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); in isEnumConstant() local 36 if (!DR) in isEnumConstant() 38 return isa<EnumConstantDecl>(DR->getDecl()); in isEnumConstant()
|
| D | CalledOnceCheck.cpp | 314 const DeclRefExpr *VisitDeclRefExpr(const DeclRefExpr *DR) { return DR; } in VisitDeclRefExpr() argument 400 if (const DeclRefExpr *DR = in findReferencedParmVarDecl() local 402 return dyn_cast<ParmVarDecl>(DR->getDecl()); in findReferencedParmVarDecl()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| D | CheckerHelpers.cpp | 39 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsEnum() local 41 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum() 53 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsStaticLocal() local 55 if (DR) in containsStaticLocal() 56 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal()
|
| D | LoopUnrolling.cpp | 166 static bool isCapturedByReference(ExplodedNode *N, const DeclRefExpr *DR) { in isCapturedByReference() argument 169 assert(DR->refersToEnclosingVariableOrCapture()); in isCapturedByReference() 183 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isCapturedByReference() 195 static bool isPossiblyEscaped(ExplodedNode *N, const DeclRefExpr *DR) { in isPossiblyEscaped() argument 196 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isPossiblyEscaped() 203 isa<ParmVarDecl>(VD) || DR->refersToEnclosingVariableOrCapture(); in isPossiblyEscaped() 205 if ((DR->refersToEnclosingVariableOrCapture() && in isPossiblyEscaped() 206 isCapturedByReference(N, DR)) || in isPossiblyEscaped()
|
| D | BugReporterVisitors.cpp | 160 if (const auto *DR = dyn_cast<DeclRefExpr>(E)) { in getLocationRegionIfReference() local 161 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) { in getLocationRegionIfReference() 771 const auto *DR = cast<DeclRegion>(R); in prettyPrintRegionName() local 772 Sep = DR->getValueType()->isAnyPointerType() ? "->" : "."; in prettyPrintRegionName() 773 DR->getDecl()->getDeclName().print(os, PP); in prettyPrintRegionName() 1042 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE)) in visitNodeInitial() local 1043 if (const auto *DD = dyn_cast<DeclaratorDecl>(DR->getDecl())) in visitNodeInitial() 2696 if (const auto *DR = dyn_cast<DeclRefExpr>(Ex)) { in patternMatch() local 2697 const bool quotes = isa<VarDecl>(DR->getDecl()); in patternMatch() 2702 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()), in patternMatch() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| D | HexagonGenMux.cpp | 112 MuxInfo(MachineBasicBlock::iterator It, unsigned DR, unsigned PR, in MuxInfo() 115 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(&D1), in MuxInfo() 242 Register DR = MI->getOperand(0).getReg(); in genMuxInBlock() local 243 if (isRegPair(DR)) in genMuxInBlock() 251 CondsetMap::iterator F = CM.find(DR); in genMuxInBlock() 261 auto It = CM.insert(std::make_pair(DR, CondsetInfo())); in genMuxInBlock() 311 if (DU.Defs[PR] || DU.Defs[DR] || DU.Uses[DR]) { in genMuxInBlock() 328 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
|
| D | RDFCopy.cpp | 145 RegisterRef DR = DA.Addr->getRegRef(DFG); in run() local 146 auto FR = EM.find(DR); in run() 150 if (DR == SR) in run() 161 if (UA.Addr->getRegRef(DFG) != DR) in run() 174 dbgs() << "Can replace " << Print<RegisterRef>(DR, DFG) in run() 202 if (J.second != DR) in run()
|
| D | HexagonGenPredicate.cpp | 474 RegisterSubReg DR = MI.getOperand(0); in eliminatePredCopies() local 476 if (!DR.R.isVirtual()) in eliminatePredCopies() 480 if (MRI->getRegClass(DR.R) != PredRC) in eliminatePredCopies() 484 assert(!DR.S && !SR.S && "Unexpected subregister"); in eliminatePredCopies() 485 MRI->replaceRegWith(DR.R, SR.R); in eliminatePredCopies()
|
| D | HexagonSplitDouble.cpp | 425 for (unsigned DR : Part) { in isProfitable() local 426 MachineInstr *DefI = MRI->getVRegDef(DR); in isProfitable() 432 if (isInduction(DR, IRM)) in isProfitable() 435 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); in isProfitable() 1135 for (unsigned DR : Part) { in splitPartition() local 1136 MachineInstr *DefI = MRI->getVRegDef(DR); in splitPartition() 1141 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); in splitPartition() 1147 LLVM_DEBUG(dbgs() << "Created mapping: " << printReg(DR, TRI) << " -> " in splitPartition() 1150 PairMap.insert(std::make_pair(DR, UUPair(LoR, HiR))); in splitPartition() 1165 for (unsigned DR : Part) { in splitPartition() local [all …]
|
| D | HexagonExpandCondsets.cpp | 377 Register DR = Op.getReg(), DSR = Op.getSubReg(); in updateDeadsInRange() local 378 if (!DR.isVirtual() || DR != Reg) in updateDeadsInRange() 380 LaneBitmask SLM = getLaneMask(DR, DSR); in updateDeadsInRange() 676 Register DR = MD.getReg(), DSR = MD.getSubReg(); in split() local 710 genCondTfrFor(ST, At, DR, DSR, MP, true, ReadUndef, false); in split() 712 genCondTfrFor(SF, At, DR, DSR, MP, false, ReadUndef, true); in split()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| D | SystemZISelDAGToDAG.cpp | 54 DispRange DR; member 65 : Form(form), DR(dr), Base(), Disp(0), Index(), in SystemZAddressingMode() 166 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 172 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 179 SystemZAddressingMode::DispRange DR, SDValue Addr, 390 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in selectDisp() argument 391 switch (DR) { in selectDisp() 447 if (selectDisp(AM.DR, TestDisp)) { in expandDisp() 501 static bool isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in isValidDisp() argument 502 assert(selectDisp(DR, Val) && "Invalid displacement"); in isValidDisp() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lldb/tools/lldb-instr/ |
| D | Instrument.cpp | 309 bool HandleTopLevelDecl(DeclGroupRef DR) override { in HandleTopLevelDecl() argument 310 for (DeclGroupRef::iterator b = DR.begin(), e = DR.end(); b != e; ++b) { in HandleTopLevelDecl()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| D | MachODumper.cpp | 464 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders() local 466 ArrayRef<char> RawName = Obj->getSectionRawName(DR); in printSectionHeaders() 467 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); in printSectionHeaders() 468 ArrayRef<char> RawSegmentName = Obj->getSectionRawFinalSegmentName(DR); in printSectionHeaders() 545 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation() local 546 MachO::any_relocation_info RE = Obj->getRelocation(DR); in printRelocation() 560 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGOpenCLRuntime.cpp | 135 if (auto DR = dyn_cast<DeclRefExpr>(E)) { in getBlockExpr() local 136 E = cast<VarDecl>(DR->getDecl())->getInit(); in getBlockExpr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| D | CodeViewDebug.cpp | 1167 LocalVarDefRange DR; in createDefRangeMem() local 1168 DR.InMemory = -1; in createDefRangeMem() 1169 DR.DataOffset = Offset; in createDefRangeMem() 1170 assert(DR.DataOffset == Offset && "truncation"); in createDefRangeMem() 1171 DR.IsSubfield = 0; in createDefRangeMem() 1172 DR.StructOffset = 0; in createDefRangeMem() 1173 DR.CVRegister = CVRegister; in createDefRangeMem() 1174 return DR; in createDefRangeMem() 1291 LocalVarDefRange DR; in calculateRanges() local 1292 DR.CVRegister = TRI->getCodeViewRegNum(Location->Register); in calculateRanges() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| D | LiveVariables.h | 67 virtual void observerKill(const DeclRefExpr *DR) {} in observerKill() argument
|