Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp25 AttributeSet FnAttrs = AttributeSet::get( in TEST() local
33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp159 AttributeSet FnAttrs = F.getAttributes(); in getSubtargetImpl() local
161 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
163 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp235 AttributeList FnAttrs = F.getAttributes(); in getSubtargetImpl() local
237 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
239 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
250 if (FnAttrs.hasFnAttribute("unsafe-fp-math") && in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp228 AttributeList FnAttrs = F.getAttributes(); in getSubtargetImpl() local
230 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
232 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp416 AttrBuilder FnAttrs(InvokeAL.getFnAttributes()); in wrapInvoke() local
417 if (FnAttrs.contains(Attribute::AllocSize)) { in wrapInvoke()
422 std::tie(SizeArg, NEltArg) = FnAttrs.getAllocSizeArgs(); in wrapInvoke()
426 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
431 AttributeList::get(C, AttributeSet::get(C, FnAttrs), in wrapInvoke()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h234 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes(); variable
235 for (const Attribute &Attr : FnAttrs) {
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h235 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes(); variable
236 for (const Attribute &Attr : FnAttrs) {
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp438 AttrBuilder FnAttrs(InvokeAL.getFnAttributes()); in wrapInvoke() local
439 if (FnAttrs.contains(Attribute::AllocSize)) { in wrapInvoke()
444 std::tie(SizeArg, NEltArg) = FnAttrs.getAllocSizeArgs(); in wrapInvoke()
448 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
453 AttributeList::get(C, AttributeSet::get(C, FnAttrs), in wrapInvoke()
/external/llvm-project/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp852 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
858 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
929 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
933 F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp850 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
928 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
932 F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
/external/llvm/lib/AsmParser/
DLLParser.cpp120 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
124 FnAttrs.merge(B); in ValidateEndOfModule()
128 if (FnAttrs.hasAlignmentAttr()) { in ValidateEndOfModule()
129 Fn->setAlignment(FnAttrs.getAlignment()); in ValidateEndOfModule()
130 FnAttrs.removeAttribute(Attribute::Alignment); in ValidateEndOfModule()
136 FnAttrs)); in ValidateEndOfModule()
140 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
143 FnAttrs.merge(B); in ValidateEndOfModule()
147 FnAttrs)); in ValidateEndOfModule()
151 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
[all …]
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp142 AttrBuilder FnAttrs(AS.getFnAttributes()); in validateEndOfModule() local
145 FnAttrs.merge(B); in validateEndOfModule()
149 if (FnAttrs.hasAlignmentAttr()) { in validateEndOfModule()
150 Fn->setAlignment(FnAttrs.getAlignment()); in validateEndOfModule()
151 FnAttrs.removeAttribute(Attribute::Alignment); in validateEndOfModule()
155 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
159 AttrBuilder FnAttrs(AS.getFnAttributes()); in validateEndOfModule() local
161 FnAttrs.merge(B); in validateEndOfModule()
163 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
167 AttrBuilder FnAttrs(AS.getFnAttributes()); in validateEndOfModule() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp135 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
138 FnAttrs.merge(B); in ValidateEndOfModule()
142 if (FnAttrs.hasAlignmentAttr()) { in ValidateEndOfModule()
143 Fn->setAlignment(FnAttrs.getAlignment()); in ValidateEndOfModule()
144 FnAttrs.removeAttribute(Attribute::Alignment); in ValidateEndOfModule()
148 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
152 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
154 FnAttrs.merge(B); in ValidateEndOfModule()
156 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
160 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1246 AttrBuilder FnAttrs = AL.getFnAttributes(); in legalizeCallAttributes() local
1247 FnAttrs.removeAttribute(Attribute::ReadNone); in legalizeCallAttributes()
1248 FnAttrs.removeAttribute(Attribute::ReadOnly); in legalizeCallAttributes()
1251 FnAttrs.remove(A); in legalizeCallAttributes()
1257 AttributeSet::get(Ctx, FnAttrs)); in legalizeCallAttributes()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1306 AttrBuilder FnAttrs = AL.getFnAttributes(); in legalizeCallAttributes() local
1307 FnAttrs.removeAttribute(Attribute::ReadNone); in legalizeCallAttributes()
1308 FnAttrs.removeAttribute(Attribute::ReadOnly); in legalizeCallAttributes()
1311 FnAttrs.remove(A); in legalizeCallAttributes()
1316 AttributeSet::get(Ctx, FnAttrs)); in legalizeCallAttributes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp1039 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get() argument
1057 else if (FnAttrs.hasAttributes()) in get()
1068 AttrSets.push_back(FnAttrs); in get()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2360 ParsedAttributesWithRange FnAttrs(AttrFactory); in ParseCXXClassMemberDeclaration() local
2365 FnAttrs.addAll(attrs.getList()); in ParseCXXClassMemberDeclaration()
2366 FnAttrs.Range = attrs.Range; in ParseCXXClassMemberDeclaration()
2418 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
2506 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp1164 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get() argument
1182 else if (FnAttrs.hasAttributes()) in get()
1193 AttrSets.push_back(FnAttrs); in get()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h365 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp2589 ParsedAttributesViewWithRange FnAttrs; in ParseCXXClassMemberDeclaration() local
2594 FnAttrs.addAll(attrs.begin(), attrs.end()); in ParseCXXClassMemberDeclaration()
2595 FnAttrs.Range = attrs.Range; in ParseCXXClassMemberDeclaration()
2654 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
2751 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
DParseDecl.cpp6452 ParsedAttributesWithRange FnAttrs(AttrFactory); in ParseFunctionDeclarator() local
6477 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator()
6478 ProhibitAttributes(FnAttrs); in ParseFunctionDeclarator()
6553 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator()
6569 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator()
6600 std::move(FnAttrs), EndLoc); in ParseFunctionDeclarator()
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp258 AttributeSet FnAttrs = Attrs.getFnAttributes(); in TEST_F() local
259 EXPECT_EQ(FnAttrs.hasAttribute(Attribute::StrictFP), true); in TEST_F()
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h393 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
/external/llvm/lib/IR/
DAsmWriter.cpp834 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); in processModule() local
835 if (FnAttrs.hasAttributes(AttributeSet::FunctionIndex)) in processModule()
836 CreateAttributeSetSlot(FnAttrs); in processModule()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2337 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall() local
2345 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()

12