Home
last modified time | relevance | path

Searched refs:addAttr (Results 1 – 25 of 47) 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()
/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/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/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/swiftshader/third_party/LLVM/include/llvm/
DArgument.h75 void addAttr(Attributes);
DAttributes.h214 AttrListPtr addAttr(unsigned Idx, Attributes Attrs) const;
/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp45 A->addAttr(llvm::AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in ac_add_attr_dereferenceable()
/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/clang/examples/AnnotateFunctions/
DAnnotateFunctions.cpp35 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(), in HandleTopLevelDecl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp120 void Argument::addAttr(Attributes attr) { in addAttr() function in Argument
246 PAL = PAL.addAttr(i, attr); in addAttribute()
DAttributes.cpp269 AttrListPtr AttrListPtr::addAttr(unsigned Idx, Attributes Attrs) const { in addAttr() function in AttrListPtr
DCore.cpp1340 const AttrListPtr PALnew = PAL.addAttr(~0U, PA); in LLVMAddFunctionAttr()
1417 unwrap<Argument>(Arg)->addAttr(PA); in LLVMAddAttribute()
1433 unwrap<Argument>(Arg)->addAttr( in LLVMSetParamAlignment()
1625 Call.getAttributes().addAttr(index, PA)); in LLVMAddInstrAttribute()
1639 Call.getAttributes().addAttr(index, in LLVMSetInstrParamAlignment()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneFunction.cpp95 Anew->addAttr( OldFunc->getAttributes() in CloneFunctionInto()
98 .addAttr(0, OldFunc->getAttributes() in CloneFunctionInto()
101 .addAttr(~0, OldFunc->getAttributes() in CloneFunctionInto()
/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVFunction.h58 void addAttr(SPIRVFuncParamAttrKind Kind) { in addAttr() function
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DObjCARC.cpp1546 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainRVCallee()
1563 Attributes.addAttr(~0u, Attribute::NoUnwind); in getAutoreleaseRVCallee()
1577 Attributes.addAttr(~0u, Attribute::NoUnwind); in getReleaseCallee()
1593 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainCallee()
1626 Attributes.addAttr(~0u, Attribute::NoUnwind); in getAutoreleaseCallee()
3401 Attributes.addAttr(~0u, Attribute::NoUnwind); in getStoreStrongCallee()
3402 Attributes.addAttr(1, Attribute::NoCapture); in getStoreStrongCallee()
3422 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainAutoreleaseCallee()
3438 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainAutoreleaseRVCallee()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPruneEH.cpp150 const AttrListPtr &NPAL = PAL.addAttr(~0, NewAttributes); in runOnSCC()
DFunctionAttrs.cpp249 A->addAttr(Attribute::NoCapture); in AddNoCaptureAttrs()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp659 BA->addAttr(FunctionParameterAttributeByVal); in transFunctionDecl()
661 BA->addAttr(FunctionParameterAttributeNoAlias); in transFunctionDecl()
663 BA->addAttr(FunctionParameterAttributeNoCapture); in transFunctionDecl()
665 BA->addAttr(FunctionParameterAttributeSret); in transFunctionDecl()
667 BA->addAttr(FunctionParameterAttributeZext); in transFunctionDecl()
669 BA->addAttr(FunctionParameterAttributeSext); in transFunctionDecl()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp765 A->addAttr(llvm::AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in lp_add_attr_dereferenceable()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp168 A->addAttr(AS); in TEST_F()

12