Lines Matching defs:AS
134 AttributeList AS = Fn->getAttributes();
135 AttrBuilder FnAttrs(AS.getFnAttributes());
136 AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
147 AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
149 Fn->setAttributes(AS);
151 AttributeList AS = CI->getAttributes();
152 AttrBuilder FnAttrs(AS.getFnAttributes());
153 AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
155 AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
157 CI->setAttributes(AS);
159 AttributeList AS = II->getAttributes();
160 AttrBuilder FnAttrs(AS.getFnAttributes());
161 AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
163 AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
165 II->setAttributes(AS);
167 AttributeList AS = CBI->getAttributes();
168 AttrBuilder FnAttrs(AS.getFnAttributes());
169 AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
171 AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
173 CBI->setAttributes(AS);
5489 assert(Fn->getAddressSpace() == AddrSpace && "Created function in wrong AS");
8230 auto AS = std::make_unique<AliasSummary>(GVFlags);
8232 AS->setModulePath(ModulePath);
8238 FwdRef.first->second.push_back(std::make_pair(AS.get(), Loc));
8242 AS->setAliasee(AliaseeVI, Summary);
8246 ID, std::move(AS));