Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp23 AttributeSet FnAttrs = AttributeSet::get( in TEST() local
31 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DDeadArgumentElimination.cpp239 if (Attributes FnAttrs = PAL.getFnAttributes()) in DeleteDeadVarargs() local
240 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in DeleteDeadVarargs()
658 Attributes FnAttrs = PAL.getFnAttributes(); in RemoveDeadStuffFromFunction() local
752 if (FnAttrs != Attribute::None) in RemoveDeadStuffFromFunction()
753 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in RemoveDeadStuffFromFunction()
788 Attributes FnAttrs = CallPAL.getFnAttributes(); in RemoveDeadStuffFromFunction() local
815 if (FnAttrs != Attribute::None) in RemoveDeadStuffFromFunction()
816 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in RemoveDeadStuffFromFunction()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp230 AttributeList FnAttrs = F.getAttributes(); in getSubtargetImpl() local
232 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
234 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp846 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
852 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
924 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction() local
928 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/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp136 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
139 FnAttrs.merge(B); in ValidateEndOfModule()
143 if (FnAttrs.hasAlignmentAttr()) { in ValidateEndOfModule()
144 Fn->setAlignment(FnAttrs.getAlignment()); in ValidateEndOfModule()
145 FnAttrs.removeAttribute(Attribute::Alignment); in ValidateEndOfModule()
149 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
153 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
155 FnAttrs.merge(B); in ValidateEndOfModule()
157 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
161 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1249 AttrBuilder FnAttrs = AL.getFnAttributes(); in legalizeCallAttributes() local
1250 FnAttrs.removeAttribute(Attribute::ReadNone); in legalizeCallAttributes()
1251 FnAttrs.removeAttribute(Attribute::ReadOnly); in legalizeCallAttributes()
1254 FnAttrs.remove(A); in legalizeCallAttributes()
1260 AttributeSet::get(Ctx, FnAttrs)); in legalizeCallAttributes()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp3172 unsigned RetAttrs, FnAttrs; in ParseInvoke() local
3185 ParseOptionalAttrs(FnAttrs, 2) || in ParseInvoke()
3245 if (FnAttrs != Attribute::None) in ParseInvoke()
3246 Attrs.push_back(AttributeWithIndex::get(~0, FnAttrs)); in ParseInvoke()
3571 unsigned RetAttrs, FnAttrs; in ParseCall() local
3585 ParseOptionalAttrs(FnAttrs, 2)) in ParseCall()
3641 if (FnAttrs != Attribute::None) in ParseCall()
3642 Attrs.push_back(AttributeWithIndex::get(~0, FnAttrs)); in ParseCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp938 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get() argument
956 else if (FnAttrs.hasAttributes()) in get()
967 AttrSets.push_back(FnAttrs); in get()
DAsmWriter.cpp958 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); in processModule() local
959 if (FnAttrs.hasAttributes()) in processModule()
960 CreateAttributeSetSlot(FnAttrs); in processModule()
/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()
DParseDecl.cpp5599 ParsedAttributes FnAttrs(AttrFactory); in ParseFunctionDeclarator() local
5708 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator()
5745 FnAttrs, EndLoc); in ParseFunctionDeclarator()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.h351 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1182 if (Attributes FnAttrs = CallerPAL.getFnAttributes()) in transformConstExprCastCall() local
1183 attrVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in transformConstExprCastCall()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAsmWriter.cpp1538 Attributes FnAttrs = Attrs.getFnAttributes(); in printFunction() local
1539 if (FnAttrs != Attribute::None) in printFunction()
/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/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2821 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall() local
2823 attrVec.push_back(AttributeSet::get(Callee->getContext(), FnAttrs)); in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4311 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall() local
4320 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()