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

12

/freebsd-11-stable/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-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp38 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); local
40 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.cpp749 const auto *DR = cast<DeclRegion>(R); local
750 Sep = DR->getValueType()->isAnyPointerType() ? "->" : ".";
751 DR->getDecl()->getDeclName().print(os, PP);
1106 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE))
1107 if (const auto *DD = dyn_cast<DeclaratorDecl>(DR->getDecl()))
1832 if (const auto *DR = dyn_cast<DeclRefExpr>(E)) {
1833 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) {
2348 if (const auto *DR = dyn_cast<DeclRefExpr>(Ex)) {
2349 const bool quotes = isa<VarDecl>(DR->getDecl());
2354 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp54 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 DMallocOverflowSecurityChecker.cpp143 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 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 DObjCSelfInitChecker.cpp418 if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts()))
419 return (DR->getDecl() == analCtx->getSelfDecl());
H A DMoveChecker.cpp580 if (const auto DR =
582 const auto *RegionDecl = cast<NamedDecl>(DR->getDecl());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFCopy.cpp145 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 DHexagonGenMux.cpp112 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 DHexagonGenPredicate.cpp473 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 DHexagonSplitDouble.cpp426 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();
818 // Shift left: DR = shl R, #s
822 // Shift right: DR = shr R, #s
933 // DR = or (R1, asl(R2, #s))
941 // DR = or (R1, asl(R2, #0))
970 // DR = or (R1, asl(R2, #32))
980 // DR
[all...]
H A DHexagonExpandCondsets.cpp376 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-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp214 void VisitDeclRefExpr(DeclRefExpr *DR);
380 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) {
381 const Decl* D = DR->getDecl();
396 observer->observerKill(DR);
410 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { argument
411 const Decl* D = DR->getDecl();
412 bool InAssignment = LV.inAssignment[DR];
436 DeclRefExpr *DR = nullptr; local
443 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
444 VD = cast<VarDecl>(DR
[all...]
H A DReachableCode.cpp35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); local
36 if (!DR)
38 return isa<EnumConstantDecl>(DR->getDecl());
H A DBodyFarm.cpp143 DeclRefExpr *DR = DeclRefExpr::Create( local
146 return DR;
579 DeclRefExpr *DR = M.makeDeclRefExpr(PV); local
580 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h67 virtual void observerKill(const DeclRefExpr *DR) {} argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A Diterator.h354 const DataRef DR; member in class:llvm::WrappedPairNodeDataIterator
358 WrappedPairNodeDataIterator(ItType Begin, const DataRef DR) argument
359 : BaseT(Begin), DR(DR) {
360 NR.first = DR;
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp310 bool HandleTopLevelDecl(DeclGroupRef DR) override {
311 for (DeclGroupRef::iterator b = DR.begin(), e = DR.end(); b != e; ++b) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp135 if (auto DR = dyn_cast<DeclRefExpr>(E)) {
136 E = cast<VarDecl>(DR->getDecl())->getInit();
H A DCoverageMappingGen.cpp500 SourceMappingRegion DR = DeferredRegion.getValue();
504 FileID StartFile = SM.getFileID(DR.getBeginLoc());
517 if (DR.getBeginLoc() == DeferredEndLoc)
522 if (!SpellingRegion(SM, DR.getBeginLoc(), DeferredEndLoc).isInSourceOrder())
525 DR.setGap(true);
526 DR.setCounter(Count);
527 DR.setEndLoc(DeferredEndLoc);
529 RegionStack.push_back(DR);
547 SourceMappingRegion DR = RegionStack.back();
548 DR
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp54 DispRange DR; member in struct:__anon2408::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-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp467 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-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1132 LocalVarDefRange DR; local
1133 DR.InMemory = -1;
1134 DR.DataOffset = Offset;
1135 assert(DR.DataOffset == Offset && "truncation");
1136 DR.IsSubfield = 0;
1137 DR.StructOffset = 0;
1138 DR.CVRegister = CVRegister;
1139 return DR;
1253 LocalVarDefRange DR; local
1254 DR
[all...]

Completed in 315 milliseconds

12