Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DAttributes.h327 class AttributeList {
348 static AttributeList get(LLVMContext &C,
350 static AttributeList get(LLVMContext &C,
365 AttributeList() = default;
372 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
387 LLVM_NODISCARD AttributeList
410 LLVM_NODISCARD AttributeList
507 LLVM_NODISCARD AttributeList
513 LLVM_NODISCARD AttributeList
665 static AttributeList getEmptyKey() {
[all …]
H A DFunction.h78 AttributeList AttributeSets; ///< Parameter attributes
224 AttributeList getAttributes() const { return AttributeSets; } in getAttributes()
231 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr()
236 addAttribute(AttributeList::FunctionIndex,
242 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr()
247 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr()
253 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr()
332 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
337 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
587 return AttributeSets.hasAttribute(AttributeList::ReturnIndex, in returnDoesNotAlias()
[all …]
H A DInstrTypes.h1262 AttributeList PAL = getAttributes();
1269 AttributeList PAL = getAttributes();
1277 AttributeList PAL = getAttributes();
1285 AttributeList PAL = getAttributes();
1292 AttributeList PAL = getAttributes();
1299 AttributeList PAL = getAttributes();
1307 AttributeList PAL = getAttributes();
1315 AttributeList PAL = getAttributes();
1322 AttributeList PAL = getAttributes();
1330 AttributeList PAL = getAttributes();
[all …]
H A DModule.h343 AttributeList AttributeList);
355 AttributeList AttributeList, in getOrInsertFunction() argument
361 AttributeList); in getOrInsertFunction()
367 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
372 Constant *getOrInsertFunction(StringRef Name, AttributeList AttributeList,
H A DGlobalVariable.h231 AttributeList getAttributesAsList(unsigned index) const { in getAttributesAsList()
233 return AttributeList(); in getAttributesAsList()
235 return AttributeList::get(getContext(), AS); in getAttributesAsList()
H A DIntrinsics.h31 class AttributeList; variable
72 AttributeList getAttributes(LLVMContext &C, ID id);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAttributes.cpp846 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
872 AttributeList
908 AttributeList
1007 AttributeList AttributeList::get(LLVMContext &C, in get()
1085 AttributeList AttributeList::addParamAttribute(LLVMContext &C, in addParamAttribute()
1131 AttributeList
1147 AttributeList AttributeList::removeAttributes(LLVMContext &C, in removeAttributes()
1167 AttributeList
1175 AttributeList
1288 AttributeList::iterator AttributeList::begin() const { in begin()
[all …]
H A DStatepoint.cpp69 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs()
73 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs()
80 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
H A DFunction.cpp369 AttributeList PAL = getAttributes(); in addAttribute()
375 AttributeList PAL = getAttributes(); in addAttribute()
381 AttributeList PAL = getAttributes(); in addAttributes()
387 AttributeList PAL = getAttributes(); in addParamAttr()
393 AttributeList PAL = getAttributes(); in addParamAttr()
399 AttributeList PAL = getAttributes(); in addParamAttrs()
405 AttributeList PAL = getAttributes(); in removeAttribute()
411 AttributeList PAL = getAttributes(); in removeAttribute()
417 AttributeList PAL = getAttributes(); in removeAttributes()
423 AttributeList PAL = getAttributes(); in removeParamAttr()
[all …]
H A DModule.cpp145 AttributeList AttributeList) { in getOrInsertFunction() argument
153 New->setAttributes(AttributeList); in getOrInsertFunction()
170 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h114 using AttributeListMapType = DenseMap<AttributeList, unsigned>;
116 std::vector<AttributeList> AttributeLists;
177 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID()
220 const std::vector<AttributeList> &getAttributeLists() const { return AttributeLists; } in getAttributeLists()
296 void EnumerateAttributes(AttributeList PAL);
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h101 const AttributeList &Attrs);
108 const AttributeList &Attrs);
115 IRBuilder<> &B, const AttributeList &Attrs);
153 Value *emitCalloc(Value *Num, Value *Size, const AttributeList &Attrs,
H A DFunctionComparator.h334 int cmpAttrs(const AttributeList L, const AttributeList R) const;
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp403 AttributeList A; in fixupFPReturnAndCall()
412 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
414 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
416 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
489 F.removeAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
493 F.addAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp250 AttributeList TransformFunctionAttributes( in TransformFunctionAttributes()
252 LLVMContext& Ctx, AttributeList CallSiteAttrs) { in TransformFunctionAttributes()
273 return AttributeList::get( in TransformFunctionAttributes()
652 AttributeList::ReturnIndex, in buildWrapperFunction()
657 NewF->removeAttributes(AttributeList::FunctionIndex, in buildWrapperFunction()
733 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule()
741 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule()
750 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule()
826 AttributeList::ReturnIndex, in runOnModule()
1099 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp89 KernArgSegment->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in runOnFunction()
90 KernArgSegment->addAttribute(AttributeList::ReturnIndex, in runOnFunction()
225 AttributeList::ReturnIndex, in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp76 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NoAlias)) in setRetDoesNotAlias()
78 F.addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in setRetDoesNotAlias()
102 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NonNull)) in setRetNonNull()
104 F.addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in setRetNonNull()
891 AttributeList AS; in emitMemCpyChk()
892 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
965 const AttributeList &Attrs) { in emitUnaryFloatFnCallHelper()
977 AttributeList::FunctionIndex, in emitUnaryFloatFnCallHelper()
986 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
996 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
[all …]
H A DCallPromotionUtils.cpp398 const AttributeList &CallerPAL = CS.getAttributes(); in promoteCall()
424 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall()
433 CS.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttributes(), in promoteCall()
H A DEntryExitInstrumenter.cpp89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction()
116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
H A DModuleUtils.cpp147 AttributeList())); in declareSanitizerInitFunction()
171 AttributeList())); in createSanitizerCtorAndInitFunctions()
212 Name, AttributeList(), Type::getVoidTy(M.getContext()))); in getOrCreateInitFunction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp42 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CS); in lowerCall()
58 setArgFlags(OrigRet, AttributeList::ReturnIndex, DL, CS); in lowerCall()
67 const AttributeList &Attrs = FuncInfo.getAttributes(); in setArgFlags()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CS.getAttributes(); in DeleteDeadVarargs()
192 PAL = AttributeList::get(Fn.getContext(), PAL.getFnAttributes(), in DeleteDeadVarargs()
745 const AttributeList &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
855 AttributeList NewPAL = in RemoveDeadStuffFromFunction()
856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
883 const AttributeList &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
931 AttributeList NewCallPAL = AttributeList::get( in RemoveDeadStuffFromFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp277 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in buildFrom()
278 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in buildFrom()
279 CB->removeAttribute(AttributeList::FunctionIndex, in buildFrom()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp228 AttributeList FnAttrs = F.getAttributes(); in getSubtargetImpl()
230 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu"); in getSubtargetImpl()
232 FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features"); in getSubtargetImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenModule.h1009 llvm::AttributeList ExtraAttrs = llvm::AttributeList(),
1015 llvm::AttributeList ExtraAttrs = llvm::AttributeList());
1100 llvm::AttributeList &Attrs, unsigned &CallingConv,
1313 llvm::AttributeList ExtraAttrs = llvm::AttributeList(),

12345