/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SMEABIPass.cpp | 45 SMEAttrs FnAttrs); 100 IRBuilder<> &Builder, SMEAttrs FnAttrs) { in updateNewStateFunctions() argument 109 if (FnAttrs.hasPrivateZAInterface()) { in updateNewStateFunctions() 135 if (FnAttrs.isNewZA()) { in updateNewStateFunctions() 142 if (FnAttrs.isNewZT0()) { in updateNewStateFunctions() 149 if (FnAttrs.hasPrivateZAInterface()) { in updateNewStateFunctions() 175 SMEAttrs FnAttrs(F); in runOnFunction() local 176 if (FnAttrs.isNewZA() || FnAttrs.isNewZT0()) in runOnFunction() 177 Changed |= updateNewStateFunctions(M, &F, Builder, FnAttrs); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUMemoryUtils.cpp | 241 ArrayRef<StringRef> FnAttrs) { in removeFnAttrFromReachable() argument 242 for (StringRef Attr : FnAttrs) in removeFnAttrFromReachable() 269 for (StringRef Attr : FnAttrs) in removeFnAttrFromReachable() 275 for (StringRef Attr : FnAttrs) in removeFnAttrFromReachable()
|
H A D | AMDGPUMemoryUtils.h | 58 ArrayRef<StringRef> FnAttrs);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetMachine.cpp | 288 AttributeList FnAttrs = F.getAttributes(); in getSubtargetImpl() local 289 Attribute CPUAttr = FnAttrs.getFnAttr("target-cpu"); in getSubtargetImpl() 290 Attribute FSAttr = FnAttrs.getFnAttr("target-features"); in getSubtargetImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 855 AttributeSet FnAttrs = in removeDeadStuffFromFunction() local 861 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction() 933 AttributeSet FnAttrs = CallPAL.getFnAttrs().removeAttribute( in removeDeadStuffFromFunction() local 937 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
|
H A D | Attributor.cpp | 3372 auto FnAttrs = Attrs.getFnAttrs(); in identifyDefaultAbstractAttributes() local 3388 checkAndQueryIRAttr<Attribute::MustProgress, AAMustProgress>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3391 checkAndQueryIRAttr<Attribute::NoFree, AANoFree>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3394 checkAndQueryIRAttr<Attribute::WillReturn, AAWillReturn>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3397 checkAndQueryIRAttr<Attribute::NoSync, AANoSync>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3405 checkAndQueryIRAttr<Attribute::NoUnwind, AANoUnwind>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3408 checkAndQueryIRAttr<Attribute::NoReturn, AANoReturn>(FPos, FnAttrs); in identifyDefaultAbstractAttributes() 3411 checkAndQueryIRAttr<Attribute::NoRecurse, AANoRecurse>(FPos, FnAttrs); in identifyDefaultAbstractAttributes()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 303 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs(); variable 304 for (const Attribute &Attr : FnAttrs) {
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 542 AttrBuilder FnAttrs(CI->getContext(), InvokeAL.getFnAttrs()); in wrapInvoke() local 543 if (auto Args = FnAttrs.getAllocSizeArgs()) { in wrapInvoke() 550 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke() 554 FnAttrs.removeAttribute(Attribute::NoReturn); in wrapInvoke() 558 C, AttributeSet::get(C, FnAttrs), InvokeAL.getRetAttrs(), ArgAttributes); in wrapInvoke()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 235 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule() local 238 FnAttrs.merge(B); in validateEndOfModule() 242 if (MaybeAlign A = FnAttrs.getAlignment()) { in validateEndOfModule() 244 FnAttrs.removeAttribute(Attribute::Alignment); in validateEndOfModule() 247 AS = AS.addFnAttributes(Context, FnAttrs); in validateEndOfModule() 251 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule() local 253 FnAttrs.merge(B); in validateEndOfModule() 254 AS = AS.addFnAttributes(Context, FnAttrs); in validateEndOfModule() 258 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule() local 260 FnAttrs.merge(B); in validateEndOfModule() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | RewriteStatepointsForGC.cpp | 1461 AttrBuilder FnAttrs(Ctx, OrigAL.getFnAttrs()); in legalizeCallAttributes() local 1463 FnAttrs.removeAttribute(Attr); in legalizeCallAttributes() 1467 FnAttrs.removeAttribute(A); in legalizeCallAttributes() 1470 StatepointAL = StatepointAL.addFnAttributes(Ctx, FnAttrs); in legalizeCallAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 1351 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get() argument 1369 else if (FnAttrs.hasAttributes()) in get() 1380 AttrSets.push_back(FnAttrs); in get()
|
H A D | AsmWriter.cpp | 1038 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule() local 1039 if (FnAttrs.hasAttributes()) in processModule() 1040 CreateAttributeSetSlot(FnAttrs); in processModule()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.h | 496 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 1039 auto FnAttrs = OrigF.getAttributes().getFnAttrs(); in create() local 1040 NewAttrs = NewAttrs.addFnAttributes(Context, AttrBuilder(Context, FnAttrs)); in create()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 7517 ParsedAttributes FnAttrs(AttrFactory); in ParseFunctionDeclarator() local 7542 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator() 7543 ProhibitAttributes(FnAttrs); in ParseFunctionDeclarator() 7628 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator() 7644 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator() 7683 std::move(FnAttrs), EndLoc); in ParseFunctionDeclarator()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 528 auto FnAttrs = Attrs.getFnAttrs(); in addAttributes() local 560 FnAttrs = FnAttrs.addAttributes(Ctx, FnAttrSet); \ in addAttributes() 564 Fn.setAttributes(AttributeList::get(Ctx, FnAttrs, RetAttrs, ArgAttrs)); \ in addAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 4283 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall() local 4291 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
|