/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 25 AttributeSet FnAttrs = AttributeSet::get( in TEST() local 33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetMachine.cpp | 159 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/ |
D | HexagonTargetMachine.cpp | 235 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/ |
D | HexagonTargetMachine.cpp | 228 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/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 234 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes(); variable 235 for (const Attribute &Attr : FnAttrs) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 416 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/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 235 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes(); variable 236 for (const Attribute &Attr : FnAttrs) {
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 438 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 850 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-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 852 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/llvm/lib/AsmParser/ |
D | LLParser.cpp | 120 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/ |
D | LLParser.cpp | 142 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/ |
D | LLParser.cpp | 135 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/ |
D | RewriteStatepointsForGC.cpp | 1246 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/ |
D | RewriteStatepointsForGC.cpp | 1306 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/ |
D | Attributes.cpp | 1039 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.h | 365 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
|
/external/llvm-project/llvm/lib/IR/ |
D | Attributes.cpp | 1164 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/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2360 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/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2589 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()
|
D | ParseDecl.cpp | 6452 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/include/llvm/IR/ |
D | Attributes.h | 393 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
|
/external/llvm-project/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 258 AttributeSet FnAttrs = Attrs.getFnAttributes(); in TEST_F() local 259 EXPECT_EQ(FnAttrs.hasAttribute(Attribute::StrictFP), true); in TEST_F()
|
/external/llvm/lib/IR/ |
D | AsmWriter.cpp | 834 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/ |
D | InstCombineCalls.cpp | 2337 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall() local 2345 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
|