Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h468 class AttributeList {
489 static AttributeList get(LLVMContext &C,
491 static AttributeList get(LLVMContext &C,
496 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
501 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
503 static AttributeList getImpl(LLVMContext &C, ArrayRef<AttributeSet> AttrSets);
505 AttributeList setAttributesAtIndex(LLVMContext &C, unsigned Index,
509 AttributeList() = default;
516 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
517 static AttributeList get(LLVMContext &C, unsigned Index,
[all …]
H A DGlobalVariable.h235 AttributeList getAttributesAsList(unsigned index) const {
237 return AttributeList(); in setAttributes()
239 return AttributeList::get(getContext(), AS); in setAttributes()
H A DModule.h405 AttributeList AttributeList);
413 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction() argument
418 AttributeList); in getOrInsertFunction()
425 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
431 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
H A DTypeFinder.h36 DenseSet<AttributeList> VisitedAttributes;
81 void incorporateAttributes(AttributeList AL);
H A DIntrinsics.h30 class AttributeList; variable
83 AttributeList getAttributes(LLVMContext &C, ID id);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1215 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()
1255 AttributeList(const_cast<AttributeListImpl *>(this)).dump(); in dump()
1263 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
1287 return AttributeList(PA); in getImpl()
1290 AttributeList
1291 AttributeList::get(LLVMContext &C, in get()
1323 AttributeList
1324 AttributeList::get(LLVMContext &C, in get()
1351 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1392 AttributeList AttributeList::get(LLVMContext &C, unsigned Index, in get()
[all …]
H A DStatepoint.cpp24 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs()
H A DModule.cpp170 AttributeList AttributeList) { in getOrInsertFunction() argument
178 New->setAttributes(AttributeList); in getOrInsertFunction()
187 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
/freebsd/contrib/llvm-project/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,
201 const AttributeList &Attrs);
208 const AttributeList &Attrs);
217 const AttributeList &Attrs);
224 IRBuilderBase &B, const AttributeList &Attrs);
H A DFunctionComparator.h30 class AttributeList; variable
329 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/Transforms/IPO/
H A DDeadArgumentElimination.cpp192 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs()
197 PAL = AttributeList::get(F.getContext(), PAL.getFnAttrs(), in deleteDeadVarargs()
750 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction()
860 AttributeList NewPAL = in removeDeadStuffFromFunction()
861 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
888 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
936 AttributeList NewCallPAL = in removeDeadStuffFromFunction()
937 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp128 AttributeList PAL = F->getAttributes(); in doPromotion()
183 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
213 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion()
278 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.h18 class AttributeList; variable
54 SMEAttrs(const AttributeList &L);
H A DAArch64SMEAttributes.cpp61 SMEAttrs::SMEAttrs(const AttributeList &Attrs) { in SMEAttrs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp87 const AttributeList &Attrs, in addArgFlagsFromAttributes()
138 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CB); in lowerCall()
182 setArgFlags(Info.OrigRet, AttributeList::ReturnIndex, DL, CB); in lowerCall()
224 const AttributeList &Attrs = FuncInfo.getAttributes(); in setArgFlags()
236 assert(OpIdx >= AttributeList::FirstArgIndex); in setArgFlags()
237 unsigned ParamIdx = OpIdx - AttributeList::FirstArgIndex; in setArgFlags()
263 } else if (OpIdx >= AttributeList::FirstArgIndex) { in setArgFlags()
265 FuncInfo.getParamStackAlign(OpIdx - AttributeList::FirstArgIndex)) in setArgFlags()
1068 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, F); in insertSRetIncomingArgument()
1087 setArgFlags(DemoteArg, AttributeList::ReturnIndex, DL, CB); in insertSRetOutgoingArgument()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h117 const AttributeList &FuncAttributes) const override { in getOptimalMemOpType()
121 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp70 Function *buildExitThunk(FunctionType *FnTy, AttributeList Attrs);
95 void getThunkType(FunctionType *FT, AttributeList AttrList,
99 void getThunkRetType(FunctionType *FT, AttributeList AttrList,
105 void getThunkArgTypes(FunctionType *FT, AttributeList AttrList,
118 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkType()
150 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkArgTypes()
229 FunctionType *FT, AttributeList AttrList, raw_ostream &Out, in getThunkRetType()
394 AttributeList Attrs) { in buildExitThunk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1302 AttributeList AttributeList) { in getOrInsertLibFunc() argument
1306 FunctionCallee C = M->getOrInsertFunction(Name, T, AttributeList); in getOrInsertLibFunc()
1375 return getOrInsertLibFunc(M, TLI, TheLibFunc, T, AttributeList()); in getOrInsertLibFunc()
1537 AttributeList AS; in emitMemCpyChk()
1538 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
1543 AttributeList::get(M->getContext(), AS), VoidPtrTy, in emitMemCpyChk()
1708 const AttributeList &Attrs, in emitUnaryFloatFnCallHelper()
1731 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1744 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
1757 const AttributeList &Attrs, in emitBinaryFloatFnCallHelper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCCallLowering.cpp87 setArgFlags(OrigArg, AttributeList::ReturnIndex, DL, F); in lowerReturn()
131 setArgFlags(OrigArg, I + AttributeList::FirstArgIndex, DL, F); in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h33 class AttributeList; variable
375 const AttributeList &Attrs,
494 void getReturnInfo(CallingConv::ID CallConv, Type *RetTy, AttributeList Attrs,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp273 AttributeList Attr = AttributeList::get(Ctx, AttributeList::FunctionIndex, in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h541 AttributeList getAttrList(LLVMContext *C, ArrayRef<unsigned> ArgNos,
543 AttributeList AL = AttributeList()) const {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp367 AttributeList NewAttrs = AttributeList::get(Ctx, AttributeList::FunctionIndex, in emitEntryFunction()

123456