/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 351 D->addAttr(::new (S.Context) AttrType(Attr.getRange(), S.Context, in handleSimpleAttribute() 604 D->addAttr(::new (S.Context) in handlePtGuardedVarAttr() 629 D->addAttr(::new (S.Context) GuardedByAttr(Attr.getRange(), S.Context, Arg, in handleGuardedByAttr() 642 D->addAttr(::new (S.Context) PtGuardedByAttr(Attr.getRange(), in handlePtGuardedByAttr() 676 D->addAttr(::new (S.Context) in handleAcquiredAfterAttr() 689 D->addAttr(::new (S.Context) in handleAcquiredBeforeAttr() 713 D->addAttr(::new (S.Context) in handleAssertSharedLockAttr() 726 D->addAttr(::new (S.Context) in handleAssertExclusiveLockAttr() 757 D->addAttr(::new (S.Context) in handleSharedTrylockFunctionAttr() 770 D->addAttr(::new (S.Context) ExclusiveTrylockFunctionAttr( in handleExclusiveTrylockFunctionAttr() [all …]
|
D | SemaCUDA.cpp | 284 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 330 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 338 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 340 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 342 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 343 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 348 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 349 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 480 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 481 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
|
D | SemaAttr.cpp | 59 RD->addAttr(AlignMac68kAttr::CreateImplicit(Context)); in AddAlignmentAttributesForRecord() 61 RD->addAttr(MaxFieldAlignmentAttr::CreateImplicit(Context, in AddAlignmentAttributesForRecord() 68 RD->addAttr(MSStructAttr::CreateImplicit(Context)); in AddMsStructLayoutForRecord() 74 RD->addAttr( in AddMsStructLayoutForRecord() 354 VD->addAttr(UnusedAttr::CreateImplicit(Context, UnusedAttr::GNU_unused, in ActOnPragmaUnused() 367 D->addAttr(CFAuditedTransferAttr::CreateImplicit(Context, Loc)); in AddCFAuditedAttribute() 393 FD->addAttr(OptimizeNoneAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts() 395 FD->addAttr(NoInlineAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts() 417 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc)); in AddPushedVisibilityAttribute()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 407 D->addAttr(::new (S.Context) AttrType(S.Context, CI)); in handleSimpleAttribute() 733 D->addAttr(::new (S.Context) PtGuardedVarAttr(S.Context, AL)); in handlePtGuardedVarAttr() 755 D->addAttr(::new (S.Context) GuardedByAttr(S.Context, AL, Arg)); in handleGuardedByAttr() 766 D->addAttr(::new (S.Context) PtGuardedByAttr(S.Context, AL, Arg)); in handlePtGuardedByAttr() 795 D->addAttr(::new (S.Context) in handleAcquiredAfterAttr() 805 D->addAttr(::new (S.Context) in handleAcquiredBeforeAttr() 825 D->addAttr(::new (S.Context) in handleAssertSharedLockAttr() 837 D->addAttr(::new (S.Context) in handleAssertExclusiveLockAttr() 898 D->addAttr(::new (S.Context) in handleAllocSizeAttr() 925 D->addAttr(::new (S.Context) SharedTrylockFunctionAttr( in handleSharedTrylockFunctionAttr() [all …]
|
D | SemaCUDA.cpp | 351 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 396 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 416 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 418 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 591 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 593 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 630 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 631 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs() 637 VD->addAttr(CUDAConstantAttr::CreateImplicit(getASTContext())); in MaybeAddCUDAConstantAttr() 806 Method->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in CUDASetLambdaAttrs() [all …]
|
D | SemaAttr.cpp | 58 RD->addAttr(AlignMac68kAttr::CreateImplicit(Context)); in AddAlignmentAttributesForRecord() 60 RD->addAttr(MaxFieldAlignmentAttr::CreateImplicit(Context, in AddAlignmentAttributesForRecord() 78 RD->addAttr(MSStructAttr::CreateImplicit(Context)); in AddMsStructLayoutForRecord() 84 RD->addAttr(MSVtorDispAttr::CreateImplicit( in AddMsStructLayoutForRecord() 95 Redecl->addAttr(Attribute::CreateImplicit(Context, /*DerefType=*/nullptr)); in addGslOwnerPointerAttributeIfNotExisting() 604 VD->addAttr(UnusedAttr::CreateImplicit(Context, IdTok.getLocation(), in ActOnPragmaUnused() 622 D->addAttr(CFAuditedTransferAttr::CreateImplicit(Context, Info)); in AddCFAuditedAttribute() 899 FD->addAttr(OptimizeNoneAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts() 901 FD->addAttr(NoInlineAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts() 923 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc)); in AddPushedVisibilityAttribute()
|
/external/llvm/include/llvm/IR/ |
D | Argument.h | 127 void addAttr(AttributeSet AS); 129 void addAttr(Attribute::AttrKind Kind) { in addAttr() function 130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Argument.h | 127 void addAttr(AttributeSet AS); 129 void addAttr(Attribute::AttrKind Kind) { in addAttr() function 130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Argument.h | 122 void addAttr(Attribute::AttrKind Kind); 124 void addAttr(Attribute Attr);
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Argument.h | 148 void addAttr(Attribute::AttrKind Kind); 150 void addAttr(Attribute Attr);
|
/external/llvm-project/clang/unittests/AST/ |
D | DeclTest.cpp | 88 DeclF->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "foo", in TEST() 90 DeclG->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "goo", in TEST()
|
/external/toybox/toys/pending/ |
D | route.c | 81 void addAttr(struct nlmsghdr *nl, int maxlen, void *attr, int type, int len) in addAttr() function 307 addAttr(nlMsg, sizeof(toybuf), &priority, RTA_PRIORITY, sizeof(unsigned int)); in setroute() 330 addAttr(nlMsg, sizeof(toybuf), &addr, RTA_GATEWAY, addr_len); in setroute() 348 addAttr(nlMsg, sizeof(toybuf), &if_idx, RTA_OIF, sizeof(unsigned int)); in setroute() 359 addAttr(nlMsg, sizeof(toybuf), &addr, RTA_DST, addr_len); in setroute()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 511 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs() 530 A->addAttr( in addArgumentAttrs() 559 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs() 584 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs() 626 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs() 664 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 613 A->addAttr(Attribute::Returned); in addArgumentReturnedAttrs() 652 FArg->addAttr(Attribute::NonNull); in addArgumentAttrsFromCallsites() 679 A->addAttr(R); in addReadAttr() 708 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 727 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 775 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 817 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
|
/external/llvm-project/clang/examples/Attribute/ |
D | Attribute.cpp | 73 D->addAttr(AnnotateAttr::Create(S.Context, "example(" + Str.str() + ")", in handleDeclAttribute()
|
/external/clang/examples/AnnotateFunctions/ |
D | AnnotateFunctions.cpp | 35 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(), in HandleTopLevelDecl()
|
/external/llvm-project/clang/examples/AnnotateFunctions/ |
D | AnnotateFunctions.cpp | 35 FD->addAttr(AnnotateAttr::CreateImplicit( in HandleTopLevelDecl()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 614 A->addAttr(Attribute::Returned); in addArgumentReturnedAttrs() 653 FArg->addAttr(Attribute::NonNull); in addArgumentAttrsFromCallsites() 680 A->addAttr(R); in addReadAttr() 709 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 728 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 776 A->addAttr(Attribute::NoCapture); in addArgumentAttrs() 818 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
|
/external/llvm/lib/Analysis/ |
D | CFLGraph.h | 104 void addAttr(Node N, AliasAttrs Attr) { in addAttr() function 398 Graph.addAttr(InstantiatedValue{V, 0}, getAttrEscaped()); in visitCallSite() 411 Graph.addAttr(InstantiatedValue{Inst, 0}, getAttrUnknown()); in visitCallSite()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_helper.cpp | 49 A->addAttr(llvm::Attribute::getWithDereferenceableBytes(A->getContext(), bytes)); in ac_add_attr_dereferenceable() 56 A->addAttr(llvm::Attribute::getWithAlignment(A->getContext(), llvm::Align(bytes))); in ac_add_attr_alignment()
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 142 auto addAttr = [&](int i, const auto& a, size_t* stride) { in computeCountsAndStrides() local 155 addAttr(i++, attr, &fVertexStride); in computeCountsAndStrides() 160 addAttr(i++, attr, &fInstanceStride); in computeCountsAndStrides()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CFLGraph.h | 120 void addAttr(Node N, AliasAttrs Attr) { in addAttr() function 448 Graph.addAttr(InstantiatedValue{V, 0}, getAttrEscaped()); in visitCallBase() 461 Graph.addAttr(InstantiatedValue{&Call, 0}, getAttrUnknown()); in visitCallBase()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CFLGraph.h | 120 void addAttr(Node N, AliasAttrs Attr) { in addAttr() function 448 Graph.addAttr(InstantiatedValue{V, 0}, getAttrEscaped()); in visitCallBase() 461 Graph.addAttr(InstantiatedValue{&Call, 0}, getAttrUnknown()); in visitCallBase()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 126 auto addAttr = [&](int i, const auto& a, size_t* stride) { in computeCountsAndStrides() local 139 addAttr(i++, attr, &fVertexStride); in computeCountsAndStrides() 144 addAttr(i++, attr, &fInstanceStride); in computeCountsAndStrides()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOM3TreeWalker.java | 690 boolean addAttr = true; in serializeAttList() 809 addAttr = false; in serializeAttList() 824 addAttr = false; in serializeAttList() 833 if (addAttr && xmlnsAttr) { in serializeAttList() 842 addAttr && !xmlnsAttr) { // if the node is not a namespace node in serializeAttList()
|