/freebsd-13-stable/contrib/llvm-project/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())) 288 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 290 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 291 CheckVarDecl(VD, DR, Val, dsk, Live); 304 const DeclRefExpr *DR; local 306 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) 307 if (DR->getDecl() == VD) 310 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) 311 if (DR [all...] |
H A D | MallocOverflowSecurityChecker.cpp | 143 static const Decl *getDecl(const DeclRefExpr *DR) { return DR->getDecl(); } argument 149 void Erase(const T1 *DR, argument 151 auto P = [DR, Pred](const MallocOverflowCheck &Check) { 153 return getDecl(CheckDR) == getDecl(DR) && Pred(Check); 163 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 164 Erase<DeclRefExpr>(DR, PredTrue); 220 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 221 Erase<DeclRefExpr>(DR, pred);
|
H A D | DereferenceChecker.cpp | 63 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 D | ObjCSelfInitChecker.cpp | 418 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts())) 419 return (DR->getDecl() == analCtx->getSelfDecl());
|
H A D | MoveChecker.cpp | 580 if (const auto DR = 582 const auto *RegionDecl = cast<NamedDecl>(DR->getDecl());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 39 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local 41 if (DR && isa<EnumConstantDecl>(DR->getDecl())) 53 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local 55 if (DR) 56 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
H A D | BugReporterVisitors.cpp | 748 const auto *DR = cast<DeclRegion>(R); local 749 Sep = DR->getValueType()->isAnyPointerType() ? "->" : "."; 750 DR->getDecl()->getDeclName().print(os, PP); 1105 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE)) 1106 if (const auto *DD = dyn_cast<DeclaratorDecl>(DR->getDecl())) 1830 if (const auto *DR = dyn_cast<DeclRefExpr>(E)) { 1831 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) { 2346 if (const auto *DR = dyn_cast<DeclRefExpr>(Ex)) { 2347 const bool quotes = isa<VarDecl>(DR->getDecl()); 2352 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 167 void VisitDeclRefExpr(DeclRefExpr *DR); 333 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) { 334 const Decl* D = DR->getDecl(); 349 observer->observerKill(DR); 363 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { argument 364 const Decl* D = DR->getDecl(); 365 bool InAssignment = LV.inAssignment[DR]; 389 DeclRefExpr *DR = nullptr; local 396 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { 397 VD = cast<VarDecl>(DR [all...] |
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 | BodyFarm.cpp | 141 DeclRefExpr *DR = DeclRefExpr::Create( local 144 return DR; 579 DeclRefExpr *DR = M.makeDeclRefExpr(PV); local 580 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty);
|
H A D | AnalysisDeclContext.cpp | 556 void VisitDeclRefExpr(DeclRefExpr *DR) { argument 558 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | RDFCopy.cpp | 145 RegisterRef DR = DA.Addr->getRegRef(DFG); local 146 auto FR = EM.find(DR); 150 if (DR == SR) 161 if (UA.Addr->getRegRef(DFG) != DR) 174 dbgs() << "Can replace " << Print<RegisterRef>(DR, DFG) 202 if (J.second != DR)
|
H A D | HexagonGenMux.cpp | 112 MuxInfo(MachineBasicBlock::iterator It, unsigned DR, unsigned PR, argument 115 : At(It), DefR(DR), PredR(PR), SrcT(TOp), SrcF(FOp), Def1(&D1), 242 Register DR = MI->getOperand(0).getReg(); local 243 if (isRegPair(DR)) 251 CondsetMap::iterator F = CM.find(DR); 261 auto It = CM.insert(std::make_pair(DR, CondsetInfo())); 274 // There is now a complete definition of DR, i.e. we have the predicate 311 if (DU.Defs[PR] || DU.Defs[DR] || DU.Uses[DR]) { 328 ML.push_back(MuxInfo(At, DR, P [all...] |
H A D | HexagonGenPredicate.cpp | 473 RegisterSubReg DR = MI.getOperand(0); local 475 if (!Register::isVirtualRegister(DR.R)) 479 if (MRI->getRegClass(DR.R) != PredRC) 483 assert(!DR.S && !SR.S && "Unexpected subregister"); 484 MRI->replaceRegWith(DR.R, SR.R);
|
H A D | HexagonSplitDouble.cpp | 426 for (unsigned DR : Part) { 427 MachineInstr *DefI = MRI->getVRegDef(DR); 433 if (isInduction(DR, IRM)) 436 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); 819 // Shift left: DR = shl R, #s 823 // Shift right: DR = shr R, #s 934 // DR = or (R1, asl(R2, #s)) 942 // DR = or (R1, asl(R2, #0)) 971 // DR = or (R1, asl(R2, #32)) 981 // DR [all...] |
H A D | HexagonExpandCondsets.cpp | 376 Register DR = Op.getReg(), DSR = Op.getSubReg(); 377 if (!Register::isVirtualRegister(DR) || DR != Reg) 379 LaneBitmask SLM = getLaneMask(DR, DSR); 675 Register DR = MD.getReg(), DSR = MD.getSubReg(); local 709 genCondTfrFor(ST, At, DR, DSR, MP, true, ReadUndef, false); 711 genCondTfrFor(SF, At, DR, DSR, MP, false, ReadUndef, true);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | iterator.h | 356 const DataRef DR; member in class:llvm::WrappedPairNodeDataIterator 360 WrappedPairNodeDataIterator(ItType Begin, const DataRef DR) argument 361 : BaseT(Begin), DR(DR) { 362 NR.first = DR;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | LiveVariables.h | 67 virtual void observerKill(const DeclRefExpr *DR) {} argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CFGDiff.h | 204 static auto makeChildRange(Range &&R, DataRef DR) { argument 206 return make_range(Iter(R.begin(), DR), Iter(R.end(), DR));
|
/freebsd-13-stable/contrib/llvm-project/lldb/tools/lldb-instr/ |
H A D | Instrument.cpp | 309 bool HandleTopLevelDecl(DeclGroupRef DR) override { 310 for (DeclGroupRef::iterator b = DR.begin(), e = DR.end(); b != e; ++b) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenCLRuntime.cpp | 135 if (auto DR = dyn_cast<DeclRefExpr>(E)) { 136 E = cast<VarDecl>(DR->getDecl())->getInit();
|
H A D | CoverageMappingGen.cpp | 507 SourceMappingRegion DR = DeferredRegion.getValue(); 511 FileID StartFile = SM.getFileID(DR.getBeginLoc()); 524 if (DR.getBeginLoc() == DeferredEndLoc) 529 if (!SpellingRegion(SM, DR.getBeginLoc(), DeferredEndLoc).isInSourceOrder()) 532 DR.setGap(true); 533 DR.setCounter(Count); 534 DR.setEndLoc(DeferredEndLoc); 536 RegionStack.push_back(DR); 554 SourceMappingRegion DR = RegionStack.back(); 555 DR [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 54 DispRange DR; member in struct:__anon4325::SystemZAddressingMode 65 : Form(form), DR(dr), Base(), Disp(0), Index(), 163 // Try to match Addr as a FormBD address with displacement type DR. 166 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 169 // Try to match Addr as a FormBDX address with displacement type DR. 172 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 176 // displacement type DR. Return true on success, storing the base, 179 SystemZAddressingMode::DispRange DR, SDValue Addr, 384 // with range DR. Here we're interested in the range of both the instruction 385 // described by DR an 386 selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument 497 isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) argument 663 selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument 674 selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp) const argument 685 selectBDXAddr(SystemZAddressingMode::AddrForm Form, SystemZAddressingMode::DispRange DR, SDValue Addr, SDValue &Base, SDValue &Disp, SDValue &Index) const argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 467 DataRefImpl DR = Section.getRawDataRefImpl(); local 469 ArrayRef<char> RawName = Obj->getSectionRawName(DR); 470 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); 471 ArrayRef<char> RawSegmentName = Obj->getSectionRawFinalSegmentName(DR); 548 DataRefImpl DR = Reloc.getRawDataRefImpl(); local 549 MachO::any_relocation_info RE = Obj->getRelocation(DR); 563 section_iterator SecI = Obj->getRelocationSection(DR);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 1153 LocalVarDefRange DR; local 1154 DR.InMemory = -1; 1155 DR.DataOffset = Offset; 1156 assert(DR.DataOffset == Offset && "truncation"); 1157 DR.IsSubfield = 0; 1158 DR.StructOffset = 0; 1159 DR.CVRegister = CVRegister; 1160 return DR; 1274 LocalVarDefRange DR; local 1275 DR [all...] |