/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 55 bool VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() argument 57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr() 288 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() 289 CheckVarDecl(VD, DR, Val, dsk, Live); in CheckDeclRef() 302 const DeclRefExpr *DR; in isIncrement() local 305 if (DR->getDecl() == VD) in isIncrement() 309 if (DR->getDecl() == VD) in isIncrement() 355 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); in observeStmt() 368 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt() local 369 CheckDeclRef(DR, U, DeadIncrement, Live); in observeStmt() [all …]
|
H A 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() 165 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in CheckExpr() local 166 Erase<DeclRefExpr>(DR, PrecedesMalloc); in CheckExpr() 222 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in CheckAssignmentExpr() local 223 Erase<DeclRefExpr>(DR, pred); in CheckAssignmentExpr()
|
H A D | DereferenceChecker.cpp | 72 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource() local 73 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() 76 Ranges.push_back(DR->getSourceRange()); in AddDerefSource()
|
H A D | ObjCSelfInitChecker.cpp | 416 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts())) in isSelfVar() local 417 return (DR->getDecl() == analCtx->getSelfDecl()); in isSelfVar()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ODRDiagsEmitter.cpp | 627 DiffResult DR; in FindTypeDiffs() local 641 DR.FirstDiffType = in FindTypeDiffs() 642 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs() 643 DR.SecondDiffType = in FindTypeDiffs() 644 DR.SecondDecl ? DifferenceSelector(DR.SecondDecl) : EndOfClass; in FindTypeDiffs() 645 return DR; in FindTypeDiffs() 647 return DR; in FindTypeDiffs() 657 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected() 666 if (DR.SecondDecl) { in diagnoseSubMismatchUnexpected() 694 GetMismatchedDeclLoc(FirstRecord, DR.FirstDiffType, DR.FirstDecl); in diagnoseSubMismatchDifferentDeclKinds() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 40 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsEnum() local 42 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum() 54 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsStaticLocal() local 56 if (DR) in containsStaticLocal() 57 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal()
|
H A D | LoopUnrolling.cpp | 169 static bool isCapturedByReference(ExplodedNode *N, const DeclRefExpr *DR) { in isCapturedByReference() argument 172 assert(DR->refersToEnclosingVariableOrCapture()); in isCapturedByReference() 186 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isCapturedByReference() 198 static bool isPossiblyEscaped(ExplodedNode *N, const DeclRefExpr *DR) { in isPossiblyEscaped() argument 199 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isPossiblyEscaped() 206 isa<ParmVarDecl>(VD) || DR->refersToEnclosingVariableOrCapture(); in isPossiblyEscaped() 208 if ((DR->refersToEnclosingVariableOrCapture() && in isPossiblyEscaped() 209 isCapturedByReference(N, DR)) || in isPossiblyEscaped()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 172 void VisitDeclRefExpr(DeclRefExpr *DR); 336 LV.inAssignment[DR] = 1; in VisitBinaryOperator() 347 const Decl* D = DR->getDecl(); in VisitBinaryOperator() 366 observer->observerKill(DR); in VisitBinaryOperator() 381 const Decl* D = DR->getDecl(); in VisitDeclRefExpr() 418 DeclRefExpr *DR = nullptr; in VisitObjCForCollectionStmt() local 426 VD = cast<VarDecl>(DR->getDecl()); in VisitObjCForCollectionStmt() 431 if (observer && DR) in VisitObjCForCollectionStmt() 432 observer->observerKill(DR); in VisitObjCForCollectionStmt() 470 const Decl *D = DR->getDecl(); in VisitUnaryOperator() [all …]
|
H A D | BodyFarm.cpp | 147 DeclRefExpr *DR = DeclRefExpr::Create( in makeDeclRefExpr() local 150 return DR; in makeDeclRefExpr() 611 DeclRefExpr *DR = M.makeDeclRefExpr(PV); in create_dispatch_sync() local 612 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); in create_dispatch_sync()
|
H A D | ReachableCode.cpp | 37 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); in isEnumConstant() local 38 if (!DR) in isEnumConstant() 40 return isa<EnumConstantDecl>(DR->getDecl()); in isEnumConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A 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() 236 Register DR = MI.getOperand(0).getReg(); in genMuxInBlock() local 237 if (isRegPair(DR)) in genMuxInBlock() 245 CondsetMap::iterator F = CM.find(DR); in genMuxInBlock() 255 auto It = CM.insert(std::make_pair(DR, CondsetInfo())); in genMuxInBlock() 305 if (DU.Defs[PR] || DU.Defs[DR] || DU.Uses[DR]) { in genMuxInBlock() 322 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
|
H A D | RDFCopy.cpp | 185 RegisterRef DR = DA.Addr->getRegRef(DFG); in run() local 186 auto FR = EM.find(DR); in run() 190 if (PRI.equal_to(DR, SR)) in run() 202 if (!PRI.equal_to(UA.Addr->getRegRef(DFG), DR)) in run() 214 dbgs() << "Can replace " << Print<RegisterRef>(DR, DFG) in run() 242 if (!PRI.equal_to(J.second, DR)) in run()
|
H A D | HexagonGenPredicate.cpp | 472 RegisterSubReg DR = MI.getOperand(0); in eliminatePredCopies() local 474 if (!DR.R.isVirtual()) in eliminatePredCopies() 478 if (MRI->getRegClass(DR.R) != PredRC) in eliminatePredCopies() 482 assert(!DR.S && !SR.S && "Unexpected subregister"); in eliminatePredCopies() 483 MRI->replaceRegWith(DR.R, SR.R); in eliminatePredCopies()
|
H A D | HexagonSplitDouble.cpp | 424 for (unsigned DR : Part) { in isProfitable() local 425 MachineInstr *DefI = MRI->getVRegDef(DR); in isProfitable() 431 if (isInduction(DR, IRM)) in isProfitable() 434 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); in isProfitable() 1133 for (unsigned DR : Part) { in splitPartition() local 1134 MachineInstr *DefI = MRI->getVRegDef(DR); in splitPartition() 1139 for (auto U = MRI->use_nodbg_begin(DR), W = MRI->use_nodbg_end(); in splitPartition() 1145 LLVM_DEBUG(dbgs() << "Created mapping: " << printReg(DR, TRI) << " -> " in splitPartition() 1148 PairMap.insert(std::make_pair(DR, UUPair(LoR, HiR))); in splitPartition() 1163 for (unsigned DR : Part) { in splitPartition() local [all …]
|
H A D | HexagonExpandCondsets.cpp | 379 Register DR = Op.getReg(), DSR = Op.getSubReg(); in updateDeadsInRange() local 380 if (!DR.isVirtual() || DR != Reg) in updateDeadsInRange() 382 LaneBitmask SLM = getLaneMask(DR, DSR); in updateDeadsInRange() 696 Register DR = MD.getReg(), DSR = MD.getSubReg(); in split() local 731 genCondTfrFor(ST, At, DR, DSR, MP, true, ReadUndef, false); in split() 733 genCondTfrFor(SF, At, DR, DSR, MP, false, ReadUndef, true); in split()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.h | 75 uint64_t static toOpaqueValue(const LocalVarDef DR) { in toOpaqueValue() 77 std::memcpy(&Val, &DR, sizeof(Val)); in toOpaqueValue() 82 LocalVarDef DR; in createFromOpaqueValue() local 83 std::memcpy(&DR, &Val, sizeof(Val)); in createFromOpaqueValue() 84 return DR; in createFromOpaqueValue() 539 static unsigned getHashValue(const CodeViewDebug::LocalVarDef &DR) { 540 return CodeViewDebug::LocalVarDef::toOpaqueValue(DR) * 37ULL;
|
H A D | CodeViewDebug.cpp | 1264 LocalVarDef DR; in createDefRangeMem() local 1265 DR.InMemory = -1; in createDefRangeMem() 1266 DR.DataOffset = Offset; in createDefRangeMem() 1268 DR.IsSubfield = 0; in createDefRangeMem() 1269 DR.StructOffset = 0; in createDefRangeMem() 1271 return DR; in createDefRangeMem() 1406 LocalVarDef DR; in calculateRanges() local 1409 DR.DataOffset = in calculateRanges() 1412 DR.IsSubfield = true; in calculateRanges() 1416 DR.StructOffset = 0; in calculateRanges() [all …]
|
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/ |
H A D | Instrument.cpp | 127 bool HandleTopLevelDecl(DeclGroupRef DR) override { in HandleTopLevelDecl() argument 128 for (DeclGroupRef::iterator b = DR.begin(), e = DR.end(); b != e; ++b) { in HandleTopLevelDecl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 55 DispRange DR; member 66 : Form(form), DR(dr), Disp(0), IncludesDynAlloc(false) {} in SystemZAddressingMode() 166 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 172 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr, 397 switch (DR) { in selectDisp() 453 if (selectDisp(AM.DR, TestDisp)) { in expandDisp() 509 assert(selectDisp(DR, Val) && "Invalid displacement"); in isValidDisp() 510 switch (DR) { in isValidDisp() 607 if (!isValidDisp(AM.DR, AM.Disp)) in selectAddress() 677 SystemZAddressingMode AM(SystemZAddressingMode::FormBD, DR); in selectBDAddr() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ODRDiagsEmitter.h | 139 void diagnoseSubMismatchUnexpected(DiffResult &DR, 145 void diagnoseSubMismatchDifferentDeclKinds(DiffResult &DR,
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | microchip,mcp3911.yaml | 48 true = The DR pin state is high-impedance 49 false = The DR pin state is logic high
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenCLRuntime.cpp | 118 if (auto DR = dyn_cast<DeclRefExpr>(E)) { in getBlockExpr() local 119 E = cast<VarDecl>(DR->getDecl())->getInit(); in getBlockExpr()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 477 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders() local 479 ArrayRef<char> RawName = Obj->getSectionRawName(DR); in printSectionHeaders() 480 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); in printSectionHeaders() 481 ArrayRef<char> RawSegmentName = Obj->getSectionRawFinalSegmentName(DR); in printSectionHeaders() 557 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation() local 558 MachO::any_relocation_info RE = Obj->getRelocation(DR); in printRelocation() 569 section_iterator SecI = Obj->getRelocationSection(DR); in printRelocation()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | LiveVariables.h | 67 virtual void observerKill(const DeclRefExpr *DR) {} in observerKill() argument
|
/freebsd/sys/contrib/device-tree/Bindings/security/tpm/ |
H A D | ibmvtpm.txt | 12 Reconfiguration(DR) Connector is enabled
|