Home
last modified time | relevance | path

Searched refs:AttributeSet (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DAttributes.h205 class AttributeSet {
221 AttributeSet() = default;
222 AttributeSet(const AttributeSet &) = default;
223 ~AttributeSet() = default;
258 LLVM_NODISCARD AttributeSet
299 static AttributeSet getEmptyKey() {
305 static AttributeSet getTombstoneKey() {
316 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; }
338 friend class AttributeSet;
537 AttributeSet getFnAttributes() const;
[all …]
H A DGlobalVariable.h45 AttributeSet Attrs;
224 AttributeSet getAttributes() const { in getAttributes()
234 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList()
239 void setAttributes(AttributeSet A) { in setAttributes()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAttributes.cpp513 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
517 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
521 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
529 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
536 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
551 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
559 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
567 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
619 AttributeSet::iterator AttributeSet::begin() const { in begin()
623 AttributeSet::iterator AttributeSet::end() const { in end()
[all …]
H A DAttributeImpl.h209 using IndexAttrPair = std::pair<unsigned, AttributeSet>;
217 private TrailingObjects<AttributeListImpl, AttributeSet> {
228 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument
231 AttributeListImpl(LLVMContext &C, ArrayRef<AttributeSet> Sets);
248 using iterator = const AttributeSet *;
250 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin()
254 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
H A DAsmWriter.cpp696 DenseMap<AttributeSet, unsigned> asMap;
739 int getAttributeGroupSlot(AttributeSet AS);
793 void CreateAttributeSetSlot(AttributeSet AS);
964 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); in processModule()
1118 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot()
1203 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot()
2381 void printArgument(const Argument *FA, AttributeSet Attrs);
2496 AttributeSet Attrs) { in writeParamOperand()
3332 AttributeSet AS = Attrs.getFnAttributes(); in printFunction()
3386 AttributeSet ArgAttrs = Attrs.getParamAttributes(I); in printFunction()
[all …]
H A DVerifier.cpp499 void verifyAttributeTypes(AttributeSet Attrs, bool IsFunction,
501 void verifyParameterAttrs(AttributeSet Attrs, Type *Ty, const Value *V);
1534 void Verifier::verifyAttributeTypes(AttributeSet Attrs, bool IsFunction, in verifyAttributeTypes()
1558 void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, in verifyParameterAttrs()
1622 AttributeSet::get(Context, IncompatibleAttrs).getAsString(), in verifyParameterAttrs()
1663 AttributeSet RetAttrs = Attrs.getRetAttributes(); in verifyFunctionAttrs()
1687 AttributeSet ArgAttrs = Attrs.getParamAttributes(i); in verifyFunctionAttrs()
1972 AttributeSet ArgAttrs = Attrs.getParamAttributes(5 + i); in verifyStatepoint()
2840 AttributeSet ArgAttrs = Attrs.getParamAttributes(Idx); in visitCallBase()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp189 SmallVector<AttributeSet, 8> ArgAttrs; in DeleteDeadVarargs()
744 SmallVector<AttributeSet, 8> ArgAttrVec; in RemoveDeadStuffFromFunction()
847 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction()
850 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction()
889 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction()
901 AttributeSet Attrs = CallPAL.getParamAttributes(i); in RemoveDeadStuffFromFunction()
908 ArgAttrVec.push_back(AttributeSet::get( in RemoveDeadStuffFromFunction()
928 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction()
H A DArgumentPromotion.cpp133 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion()
146 AttributeSet()); in doPromotion()
200 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
268 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
311 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
H A DMergeFunctions.cpp468 SmallVector<AttributeSet, 4> NewArgAttrs; in replaceDirectCallers()
473 CS.setAttributes(AttributeList::get(Context, /*FnAttrs=*/AttributeSet(), in replaceDirectCallers()
H A DWholeProgramDevirt.cpp945 std::vector<AttributeSet> NewArgAttrs; in applyICallBranchFunnel()
946 NewArgAttrs.push_back(AttributeSet::get( in applyICallBranchFunnel()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp400 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall()
415 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall()
434 AttributeSet::get(Ctx, RAttrs), in promoteCall()
H A DFunctionComparator.cpp110 AttributeSet LAS = L.getAttributes(i); in cmpAttrs()
111 AttributeSet RAS = R.getAttributes(i); in cmpAttrs()
112 AttributeSet::iterator LI = LAS.begin(), LE = LAS.end(); in cmpAttrs()
113 AttributeSet::iterator RI = RAS.begin(), RE = RAS.end(); in cmpAttrs()
H A DCloneFunction.cpp112 SmallVector<AttributeSet, 4> NewArgAttrs(NewFunc->arg_size()); in CloneFunctionInto()
H A DInlineFunction.cpp1825 SmallVector<AttributeSet, 4> VarArgsAttrs; in InlineFunction()
1858 SmallVector<AttributeSet, 8> ArgAttrs; in InlineFunction()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.h491 AttributeSet Attrs;
492 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo()
544 AttributeSet Attrs;
546 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
H A DLLParser.cpp149 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
157 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
165 AttributeSet::get(Context, FnAttrs)); in ValidateEndOfModule()
170 GV->setAttributes(AttributeSet::get(Context,Attrs)); in ValidateEndOfModule()
1111 GV->setAttributes(AttributeSet::get(Context, Attrs)); in ParseGlobal()
2409 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in ParseParameterList()
2515 AttributeSet::get(ArgTy->getContext(), Attrs), in ParseArgumentList()
5282 SmallVector<AttributeSet, 8> Attrs; in ParseFunctionHeader()
5291 AttributeSet::get(Context, RetAttrs), Attrs); in ParseFunctionHeader()
5922 SmallVector<AttributeSet, 8> ArgAttrs; in ParseInvoke()
[all …]
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h54 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
H A DValueEnumerator.cpp933 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
H A DBitcodeWriter.cpp733 AttributeSet AS = Pair.second; in writeAttributeGroupTable()
776 AttributeSet AS = AL.getAttributes(i); in writeAttributeTable()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp430 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke()
434 ArgAttributes.push_back(AttributeSet()); in wrapInvoke()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp265 SmallDenseSet<uint16_t> AttributeSet; in verifyAbbrevSection() local
267 auto Result = AttributeSet.insert(Attribute.Attr); in verifyAbbrevSection()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp2007 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); in ConstructAttributeList()
2018 llvm::AttributeSet::get(getLLVMContext(), SRETAttrs); in ConstructAttributeList()
2026 llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2041 llvm::AttributeSet::get( in ConstructAttributeList()
2160 llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2166 getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs), in ConstructAttributeList()
2167 llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs); in ConstructAttributeList()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4466 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall()
4494 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall()
4519 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall()
4528 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
4615 AttributeSet NestAttr; in transformCallThroughTrampoline()
4621 AttributeSet AS = NestAttrs.getParamAttributes(NestArgNo); in transformCallThroughTrampoline()
4633 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp255 std::vector<llvm::AttributeSet> ArgumentAttributes( in TransformFunctionAttributes()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1261 AttributeSet::get(Ctx, FnAttrs)); in legalizeCallAttributes()

12