Home
last modified time | relevance | path

Searched refs:addAttr (Results 1 – 25 of 42) sorted by relevance

12

/external/clang/lib/Sema/
DSemaDeclAttr.cpp351 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 …]
DSemaCUDA.cpp284 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()
DSemaAttr.cpp59 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()
DSemaDecl.cpp2230 New->addAttr(Clone); in mergeAlignedAttrs()
2239 New->addAttr(Clone); in mergeAlignedAttrs()
2312 D->addAttr(NewAttr); in mergeDeclAttribute()
2432 New->addAttr(NewAttr); in mergeDeclAttributes()
2552 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
4170 IndirectField->addAttr(Attr->clone(SemaRef.Context)); in InjectAnonymousStructOrUnionMembers()
5682 NewDecl->addAttr(::new (S.Context) DLLExportAttr( in checkDLLAttributeRedeclaration()
6348 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
6355 NewVD->addAttr(I->second); in ActOnVariableDeclarator()
8093 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
[all …]
DSemaObjCProperty.cpp2136 PropertyMethod->addAttr(A->clone(S.Context)); in AddPropertyAttrs()
2239 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2243 GetterMethod->addAttr( in ProcessPropertyDecl()
2247 GetterMethod->addAttr( in ProcessPropertyDecl()
2313 SetterMethod->addAttr( in ProcessPropertyDecl()
DSemaOpenMP.cpp628 Decl->addAttr(*I); in buildVarDecl()
1383 VD->addAttr(OMPThreadPrivateDeclAttr::CreateImplicit( in CheckOMPThreadPrivateDecl()
1646 getCurCapturedRegion()->TheCapturedDecl->addAttr( in ActOnOpenMPRegionStart()
1681 getCurCapturedRegion()->TheCapturedDecl->addAttr( in ActOnOpenMPRegionStart()
1745 CED->addAttr(OMPCaptureNoInitAttr::CreateImplicit(C, SourceRange())); in buildCaptureDecl()
3872 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()
11524 ND->addAttr(A); in ActOnOpenMPDeclareTargetName()
11551 D->addAttr(A); in checkDeclInTargetContext()
11568 D->addAttr(A); in checkDeclInTargetContext()
11600 D->addAttr(A); in checkDeclInTargetContext()
[all …]
DSemaDeclObjC.cpp101 method->addAttr(UnavailableAttr::CreateImplicit(Context, "", in checkInitMethod()
228 method->addAttr(NSConsumesSelfAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
247 method->addAttr(NSReturnsRetainedAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
4244 method->addAttr( in mergeInterfaceMethodToImpl()
/external/llvm/include/llvm/IR/
DArgument.h127 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/
DArgument.h127 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-7.0/llvm/include/llvm/IR/
DArgument.h112 void addAttr(Attribute::AttrKind Kind);
114 void addAttr(Attribute Attr);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp572 A->addAttr(Attribute::Returned); in addArgumentReturnedAttrs()
611 FArg->addAttr(Attribute::NonNull); in addArgumentAttrsFromCallsites()
648 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
667 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
693 A->addAttr(R); in addArgumentAttrs()
718 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
760 A->addAttr(Attribute::NoCapture); in addArgumentAttrs()
796 A->addAttr(ReadAttr); in addArgumentAttrs()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp511 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/clang/examples/AnnotateFunctions/
DAnnotateFunctions.cpp35 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(), in HandleTopLevelDecl()
/external/llvm/lib/Analysis/
DCFLGraph.h104 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/
Dac_llvm_helper.cpp49 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/
DGrGLProgramBuilder.cpp142 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-7.0/llvm/lib/Analysis/
DCFLGraph.h122 void addAttr(Node N, AliasAttrs Attr) { in addAttr() function
448 Graph.addAttr(InstantiatedValue{V, 0}, getAttrEscaped()); in visitCallSite()
461 Graph.addAttr(InstantiatedValue{Inst, 0}, getAttrUnknown()); in visitCallSite()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp121 auto addAttr = [&](int i, const auto& a, size_t* stride) { in computeCountsAndStrides() local
134 addAttr(i++, attr, &fVertexStride); in computeCountsAndStrides()
139 addAttr(i++, attr, &fInstanceStride); in computeCountsAndStrides()
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java690 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()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp168 A->addAttr(AS); in TEST_F()
/external/clang/lib/CodeGen/
DCGCall.cpp2120 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog()
2212 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2231 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2234 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2246 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2266 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2272 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc628 arg->addAttr(UnavailableAttr::CreateImplicit(C, "ptregs")); in genParamDirectAssign()
1253 Decl->addAttr(DA->clone(C)); in VisitVarDecl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DFunction.cpp174 void Argument::addAttr(Attribute::AttrKind Kind) { in addAttr() function in Argument
178 void Argument::addAttr(Attribute Attr) { in addAttr() function in Argument
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp112 NewArg->addAttr(attrs); in CloneFunctionInto()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp171 A->addAttr(Attribute::NoCapture); in TEST_F()

12