Searched refs:NewD (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 444 void Sema::maybeAddCUDAHostDeviceAttrs(Scope *S, FunctionDecl *NewD, in maybeAddCUDAHostDeviceAttrs() argument 447 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs() 448 NewD->isVariadic() || NewD->hasAttr<CUDAHostAttr>() || in maybeAddCUDAHostDeviceAttrs() 449 NewD->hasAttr<CUDADeviceAttr>() || NewD->hasAttr<CUDAGlobalAttr>()) in maybeAddCUDAHostDeviceAttrs() 460 !IsOverload(NewD, OldD, /* UseMemberUsingDeclRules = */ false, in maybeAddCUDAHostDeviceAttrs() 471 Diag(NewD->getLocation(), in maybeAddCUDAHostDeviceAttrs() 473 << NewD->getName(); in maybeAddCUDAHostDeviceAttrs() 480 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 481 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
|
D | SemaDeclAttr.cpp | 6019 NamedDecl *NewD = nullptr; in DeclClonePragmaWeak() local 6032 NewD = NewFD; in DeclClonePragmaWeak() 6050 NewD = VarDecl::Create(VD->getASTContext(), VD->getDeclContext(), in DeclClonePragmaWeak() 6055 VarDecl *NewVD = cast<VarDecl>(NewD); in DeclClonePragmaWeak() 6059 return NewD; in DeclClonePragmaWeak() 6069 NamedDecl *NewD = DeclClonePragmaWeak(ND, W.getAlias(), W.getLocation()); in DeclApplyPragmaWeak() local 6070 NewD->addAttr(AliasAttr::CreateImplicit(Context, NDId->getName(), in DeclApplyPragmaWeak() 6072 NewD->addAttr(WeakAttr::CreateImplicit(Context, W.getLocation())); in DeclApplyPragmaWeak() 6073 WeakTopLevelDecl.push_back(NewD); in DeclApplyPragmaWeak() 6078 NewD->setDeclContext(CurContext); in DeclApplyPragmaWeak() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Casting.cpp | 201 auto NewD = unique_dyn_cast<derived>(D); in TEST() local 202 ASSERT_EQ(OrigD, NewD.get()); in TEST() 207 auto B = unique_dyn_cast<base>(NewD); in TEST() 209 ASSERT_EQ(nullptr, NewD); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstPropagation.cpp | 2867 const MCInstrDesc *NewD = (Ps & P::Zero) ? in rewriteHexConstDefs() local 2871 const MachineInstrBuilder &MIB = BuildMI(B, At, DL, *NewD, NewR); in rewriteHexConstDefs() 2883 const MCInstrDesc *NewD; in rewriteHexConstDefs() local 2896 NewD = &HII.get(Hexagon::A2_tfrsi); in rewriteHexConstDefs() 2897 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs() 2901 NewD = &HII.get(Hexagon::A2_tfrpi); in rewriteHexConstDefs() 2902 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs() 2908 NewD = &HII.get(Hexagon::A2_combineii); in rewriteHexConstDefs() 2909 NewMI = BuildMI(B, At, DL, *NewD, NewR) in rewriteHexConstDefs() 2913 NewD = &HII.get(Hexagon::CONST64); in rewriteHexConstDefs() [all …]
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1019 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() argument
|