Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h506 class AttributeList {
527 LLVM_ABI static AttributeList
529 LLVM_ABI static AttributeList
534 LLVM_ABI static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
539 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
541 static AttributeList getImpl(LLVMContext &C, ArrayRef<AttributeSet> AttrSets);
543 AttributeList setAttributesAtIndex(LLVMContext &C, unsigned Index,
547 AttributeList() = default;
554 LLVM_ABI static AttributeList get(LLVMContext &C,
555 ArrayRef<AttributeList> Attrs);
[all …]
H A DTypeFinder.h36 DenseSet<AttributeList> VisitedAttributes;
81 void incorporateAttributes(AttributeList AL);
H A DModule.h389 AttributeList AttributeList);
397 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction() argument
402 AttributeList); in getOrInsertFunction()
409 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
415 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
H A DGlobalVariable.h255 AttributeList getAttributesAsList(unsigned index) const { in getAttributesAsList()
257 return AttributeList(); in getAttributesAsList()
259 return AttributeList::get(getContext(), AS); in getAttributesAsList()
H A DIntrinsics.h31 class AttributeList; variable
91 LLVM_ABI AttributeList getAttributes(LLVMContext &C, ID id, FunctionType *FT);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1434 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()
1474 AttributeList(const_cast<AttributeListImpl *>(this)).dump(); in dump()
1482 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
1506 return AttributeList(PA); in getImpl()
1509 AttributeList
1510 AttributeList::get(LLVMContext &C, in get()
1542 AttributeList
1543 AttributeList::get(LLVMContext &C, in get()
1570 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1611 AttributeList AttributeList::get(LLVMContext &C, unsigned Index, in get()
[all …]
H A DStatepoint.cpp24 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h43 AttributeList AttributeList);
50 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc() argument
55 AttributeList); in getOrInsertLibFunc()
61 return getOrInsertLibFunc(M, TLI, TheLibFunc, AttributeList{}, RetTy, in getOrInsertLibFunc()
68 LibFunc TheLibFunc, AttributeList AttributeList,
226 const AttributeList &Attrs);
233 const AttributeList &Attrs);
242 const AttributeList &Attrs);
250 const AttributeList &Attrs);
H A DFunctionComparator.h31 class AttributeList; variable
333 int cmpAttrs(const AttributeList L, const AttributeList R) const;
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp50 AttributeList fnAttrs = in EmitAtomicLibcall()
51 AttributeList::get(ctx, AttributeList::FunctionIndex, fnAttrBuilder); in EmitAtomicLibcall()
112 AttributeList Attr; in EmitAtomicLoadLibcall()
151 AttributeList Attr; in EmitAtomicStoreLibcall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs()
192 PAL = AttributeList::get(F.getContext(), PAL.getFnAttrs(), in deleteDeadVarargs()
743 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction()
867 AttributeList NewPAL = in removeDeadStuffFromFunction()
868 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
894 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
943 AttributeList NewCallPAL = in removeDeadStuffFromFunction()
944 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp130 AttributeList PAL = F->getAttributes(); in doPromotion()
199 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
229 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion()
293 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp86 const AttributeList &Attrs, in addArgFlagsFromAttributes()
137 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CB); in lowerCall()
181 setArgFlags(Info.OrigRet, AttributeList::ReturnIndex, DL, CB); in lowerCall()
223 const AttributeList &Attrs = FuncInfo.getAttributes(); in setArgFlags()
235 assert(OpIdx >= AttributeList::FirstArgIndex); in setArgFlags()
236 unsigned ParamIdx = OpIdx - AttributeList::FirstArgIndex; in setArgFlags()
262 } else if (OpIdx >= AttributeList::FirstArgIndex) { in setArgFlags()
264 FuncInfo.getParamStackAlign(OpIdx - AttributeList::FirstArgIndex)) in setArgFlags()
1067 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, F); in insertSRetIncomingArgument()
1086 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, CB); in insertSRetOutgoingArgument()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp67 Function *buildExitThunk(FunctionType *FnTy, AttributeList Attrs);
90 void getThunkType(FunctionType *FT, AttributeList AttrList,
94 void getThunkRetType(FunctionType *FT, AttributeList AttrList,
100 void getThunkArgTypes(FunctionType *FT, AttributeList AttrList,
113 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkType()
145 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkArgTypes()
224 FunctionType *FT, AttributeList AttrList, raw_ostream &Out, in getThunkRetType()
389 AttributeList Attrs) { in buildExitThunk()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h118 const AttributeList &FuncAttributes) const override { in getOptimalMemOpType()
122 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { in isIntDivCheap()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.h18 class AttributeList; variable
60 SMEAttrs(const AttributeList &L);
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCCallLowering.cpp84 setArgFlags(OrigArg, AttributeList::ReturnIndex, DL, F); in lowerReturn()
128 setArgFlags(OrigArg, I + AttributeList::FirstArgIndex, DL, F); in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h34 class AttributeList; variable
376 const AttributeList &Attrs,
496 void getReturnInfo(CallingConv::ID CallConv, Type *RetTy, AttributeList Attrs,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp266 AttributeList Attr = AttributeList::get(Ctx, AttributeList::FunctionIndex, in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1451 AttributeList AttributeList) { in getOrInsertLibFunc() argument
1455 FunctionCallee C = M->getOrInsertFunction(Name, T, AttributeList); in getOrInsertLibFunc()
1524 return getOrInsertLibFunc(M, TLI, TheLibFunc, T, AttributeList()); in getOrInsertLibFunc()
1695 AttributeList AS; in emitMemCpyChk()
1696 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
1701 AttributeList::get(M->getContext(), AS), VoidPtrTy, in emitMemCpyChk()
1866 const AttributeList &Attrs, in emitUnaryFloatFnCallHelper()
1889 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1902 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1915 const AttributeList &Attrs, in emitBinaryFloatFnCallHelper()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.h1316 llvm::AttributeList ExtraAttrs = llvm::AttributeList(),
1325 llvm::AttributeList ExtraAttrs = llvm::AttributeList(),
1427 llvm::AttributeList &Attrs, unsigned &CallingConv,
1434 llvm::AttributeList &Attrs);
1833 llvm::AttributeList ExtraAttrs = llvm::AttributeList(),
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h557 AttributeList getAttrList(LLVMContext *C, ArrayRef<unsigned> ArgNos,
559 AttributeList AL = AttributeList()) const {
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/
H A DM68kCallLowering.cpp110 setArgFlags(OrigArg, AttributeList::ReturnIndex, DL, F); in lowerReturn()
135 setArgFlags(OrigArg, I + AttributeList::FirstArgIndex, DL, F); in lowerFormalArguments()

1234567