Home
last modified time | relevance | path

Searched refs:FnAttrs (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSMEABIPass.cpp45 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 DAMDGPUMemoryUtils.cpp241 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 DAMDGPUMemoryUtils.h58 ArrayRef<StringRef> FnAttrs);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp288 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 DDeadArgumentElimination.cpp855 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 DAttributor.cpp3372 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 DTargetLibraryInfo.h303 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs(); variable
304 for (const Attribute &Attr : FnAttrs) {
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp542 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 DLLParser.cpp235 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 DRewriteStatepointsForGC.cpp1461 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 DAttributes.cpp1351 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 DAsmWriter.cpp1038 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 DAttributes.h496 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1039 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 DParseDecl.cpp7517 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 DOMPIRBuilder.cpp528 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 DInstCombineCalls.cpp4283 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall() local
4291 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()