Home
last modified time | relevance | path

Searched refs:AttributeList (Results 1 – 25 of 141) sorted by relevance

123456

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h425 class AttributeList {
466 AttributeList() = default;
473 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
494 LLVM_NODISCARD AttributeList
568 LLVM_NODISCARD AttributeList
615 LLVM_NODISCARD AttributeList
629 LLVM_NODISCARD AttributeList
642 LLVM_NODISCARD AttributeList
678 LLVM_NODISCARD AttributeList
720 LLVM_NODISCARD AttributeList
[all …]
H A DModule.h369 AttributeList AttributeList);
381 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction() argument
386 AttributeList); in getOrInsertFunction()
393 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
399 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
H A DGlobalVariable.h229 AttributeList getAttributesAsList(unsigned index) const { in getAttributesAsList()
231 return AttributeList(); in getAttributesAsList()
233 return AttributeList::get(getContext(), AS); in getAttributesAsList()
H A DTypeFinder.h36 DenseSet<AttributeList> VisitedAttributes;
81 void incorporateAttributes(AttributeList AL);
H A DIntrinsics.h31 class AttributeList; variable
89 AttributeList getAttributes(LLVMContext &C, ID id);
/llvm-project-15.0.7/llvm/unittests/IR/
H A DAttributesTest.cpp28 AttributeList ASs[] = {AttributeList::get(C, 1, Attribute::ZExt), in TEST()
31 AttributeList SetA = AttributeList::get(C, ASs); in TEST()
32 AttributeList SetB = AttributeList::get(C, ASs); in TEST()
53 AttributeList ASs[] = {AttributeList::get(C, 2, Attribute::ZExt), in TEST()
56 AttributeList SetA = AttributeList::get(C, ASs); in TEST()
64 AttributeList AL; in TEST()
103 AttributeList AL; in TEST()
148 AttributeList AL; in TEST()
165 AttributeList EmptyLists[] = {AttributeList(), AttributeList()}; in TEST()
166 AttributeList AL = AttributeList::get(C, EmptyLists); in TEST()
[all …]
H A DLegacyPassManagerTest.cpp453 AttributeList func_test1_PAL; in makeLLVMModule()
461 AttributeList func_test2_PAL; in makeLLVMModule()
469 AttributeList func_test3_PAL; in makeLLVMModule()
477 AttributeList func_test4_PAL; in makeLLVMModule()
499 AttributeList int32_3_PAL; in makeLLVMModule()
515 AttributeList int32_6_PAL; in makeLLVMModule()
531 AttributeList int32_9_PAL; in makeLLVMModule()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp1022 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
1049 AttributeList
1082 AttributeList
1193 AttributeList AttributeList::get(LLVMContext &C, in get()
1219 AttributeList
1291 AttributeList
1321 AttributeList AttributeList::removeAttributesAtIndex( in removeAttributesAtIndex()
1331 AttributeList
1359 AttributeList
1516 AttributeList::iterator AttributeList::begin() const { in begin()
[all …]
H A DStatepoint.cpp24 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs()
H A DModule.cpp145 AttributeList AttributeList) { in getOrInsertFunction() argument
153 New->setAttributes(AttributeList); in getOrInsertFunction()
169 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
/llvm-project-15.0.7/llvm/docs/
H A DHowToUseAttributes.rst41 ``AttributeList``
44 The ``AttributeList`` stores a collection of Attribute objects for each kind of
47 index ``AttributeList::FunctionIndex``; the return type's attributes are at
50 on the ``AttributeList`` class take an index parameter.
52 An ``AttributeList`` is also a uniqued and immutable object. You create an
53 ``AttributeList`` through the ``AttributeList::get`` methods. You can add and
54 remove attributes, which result in the creation of a new ``AttributeList``.
56 An ``AttributeList`` object is designed to be passed around by value.
65 Lastly, we have a "builder" class to help create the ``AttributeList`` object
67 ``AttributeList`` objects. The ``AttrBuilder`` class allows you to add and
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h39 AttributeList AttributeList);
44 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc() argument
49 AttributeList); in getOrInsertLibFunc()
55 return getOrInsertLibFunc(M, TLI, TheLibFunc, AttributeList{}, RetTy, in getOrInsertLibFunc()
62 LibFunc TheLibFunc, AttributeList AttributeList,
197 const AttributeList &Attrs);
204 const AttributeList &Attrs);
213 const AttributeList &Attrs);
220 IRBuilderBase &B, const AttributeList &Attrs);
H A DFunctionComparator.h30 class AttributeList; variable
334 int cmpAttrs(const AttributeList L, const AttributeList R) const;
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.h113 using AttributeListMapType = DenseMap<AttributeList, unsigned>;
115 std::vector<AttributeList> AttributeLists;
174 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID()
218 const std::vector<AttributeList> &getAttributeLists() const { in getAttributeLists()
299 void EnumerateAttributes(AttributeList PAL);
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h112 using AttributeListMapType = DenseMap<AttributeList, unsigned>;
114 std::vector<AttributeList> AttributeLists;
175 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID()
218 const std::vector<AttributeList> &getAttributeLists() const { return AttributeLists; } in getAttributeLists()
297 void EnumerateAttributes(AttributeList PAL);
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp83 void visitAttributeList(const AttributeList &AL, in visitAttributeList()
129 void visitAttributeList(const AttributeList &AL) { in visitAttributeList()
150 AttributeList convertAttributeRefVecToAttributeList( in convertAttributeRefVecToAttributeList()
163 return AttributeList::get(C, SetVec); in convertAttributeRefVecToAttributeList()
/llvm-project-15.0.7/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp12 class AttributeList { class
100 AttributeList::Kind AttributeList::getKind(const IdentifierInfo * Name) { in getKind()
105 return llvm::StringSwitch < AttributeList::Kind > (AttrName) in getKind()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp185 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs()
190 PAL = AttributeList::get(F.getContext(), PAL.getFnAttrs(), in deleteDeadVarargs()
737 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction()
847 AttributeList NewPAL = in removeDeadStuffFromFunction()
848 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
874 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
922 AttributeList NewCallPAL = in removeDeadStuffFromFunction()
923 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp161 AttributeList PAL = F->getAttributes(); in doPromotion()
211 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
226 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion()
280 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp74 const AttributeList &Attrs, in addArgFlagsFromAttributes()
122 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CB); in lowerCall()
147 setArgFlags(Info.OrigRet, AttributeList::ReturnIndex, DL, CB); in lowerCall()
181 const AttributeList &Attrs = FuncInfo.getAttributes(); in setArgFlags()
192 assert(OpIdx >= AttributeList::FirstArgIndex); in setArgFlags()
193 unsigned ParamIdx = OpIdx - AttributeList::FirstArgIndex; in setArgFlags()
211 } else if (OpIdx >= AttributeList::FirstArgIndex) { in setArgFlags()
886 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, F); in insertSRetIncomingArgument()
905 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, CB); in insertSRetOutgoingArgument()
925 AttributeList Attrs, in getReturnInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.h109 const AttributeList &FuncAttributes) const override { in getOptimalMemOpType()
113 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp204 AttributeList Attr; in initialize()
268 AttributeList AL = Attr; in initialize()
276 AttributeList AL = Attr; in initialize()
305 AttributeList AL = Attr; in initialize()
316 AttributeList AL = Attr; in initialize()
331 AttributeList AL = Attr; in initialize()
337 AttributeList AL = Attr; in initialize()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h33 class AttributeList; variable
355 const AttributeList &Attrs,
475 void getReturnInfo(CallingConv::ID CallConv, Type *RetTy, AttributeList Attrs,
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1284 AttributeList AttributeList) { in getOrInsertLibFunc() argument
1288 FunctionCallee C = M->getOrInsertFunction(Name, T, AttributeList); in getOrInsertLibFunc()
1355 return getOrInsertLibFunc(M, TLI, TheLibFunc, T, AttributeList()); in getOrInsertLibFunc()
1509 AttributeList AS; in emitMemCpyChk()
1510 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
1514 AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
1659 const AttributeList &Attrs, in emitUnaryFloatFnCallHelper()
1682 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1695 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1733 const AttributeList &Attrs) { in emitBinaryFloatFnCall()
[all …]
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()

123456