Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp138 AttributeSet FnAttrs = F.getAttributes(); in getSubtargetImpl() local
140 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-cpu"); in getSubtargetImpl()
142 FnAttrs.getAttribute(AttributeSet::FunctionIndex, "target-features"); in getSubtargetImpl()
/external/llvm/lib/AsmParser/
DLLParser.cpp98 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
102 FnAttrs.merge(B); in ValidateEndOfModule()
106 if (FnAttrs.hasAlignmentAttr()) { in ValidateEndOfModule()
107 Fn->setAlignment(FnAttrs.getAlignment()); in ValidateEndOfModule()
108 FnAttrs.removeAttribute(Attribute::Alignment); in ValidateEndOfModule()
114 FnAttrs)); in ValidateEndOfModule()
118 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
121 FnAttrs.merge(B); in ValidateEndOfModule()
125 FnAttrs)); in ValidateEndOfModule()
129 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() local
[all …]
/external/clang/lib/Parse/
DParseDeclCXX.cpp2345 ParsedAttributesWithRange FnAttrs(AttrFactory); in ParseCXXClassMemberDeclaration() local
2350 FnAttrs.addAll(attrs.getList()); in ParseCXXClassMemberDeclaration()
2351 FnAttrs.Range = attrs.Range; in ParseCXXClassMemberDeclaration()
2403 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
2486 ProhibitAttributes(FnAttrs); in ParseCXXClassMemberDeclaration()
DParseDecl.cpp5494 ParsedAttributes FnAttrs(AttrFactory); in ParseFunctionDeclarator() local
5603 MaybeParseCXX11Attributes(FnAttrs); in ParseFunctionDeclarator()
5640 FnAttrs, EndLoc); in ParseFunctionDeclarator()
/external/llvm/lib/IR/
DAsmWriter.cpp794 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); in processModule() local
795 if (FnAttrs.hasAttributes(AttributeSet::FunctionIndex)) in processModule()
796 CreateAttributeSetSlot(FnAttrs); in processModule()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2267 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall() local
2269 attrVec.push_back(AttributeSet::get(Callee->getContext(), FnAttrs)); in transformConstExprCastCall()