| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPKinds.def | 520 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__}) 526 #define AttributeSet(...) \ 527 AttributeSet::get(Ctx, ArrayRef<Attribute>({__VA_ARGS__})) 538 ? AttributeSet( 542 : AttributeSet(EnumAttr(NoUnwind))) 546 ? AttributeSet( 550 : AttributeSet(EnumAttr(NoUnwind))) 554 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), EnumAttr(NoFree), 557 : AttributeSet(EnumAttr(NoUnwind))) 561 ? AttributeSet( [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 921 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() 922 return AttributeSet(AttributeSetNode::get(C, B)); in get() 925 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get() 926 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get() 929 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 934 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 937 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() 941 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 944 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 945 const AttributeSet AS) const { in addAttributes() [all …]
|
| H A D | AttributeImpl.h | 369 private TrailingObjects<AttributeListImpl, AttributeSet> { 381 AttributeListImpl(ArrayRef<AttributeSet> Sets); 399 using iterator = const AttributeSet *; 405 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
|
| H A D | TypeFinder.cpp | 209 for (AttributeSet AS : AL) in incorporateAttributes()
|
| H A D | AsmWriter.cpp | 789 DenseMap<AttributeSet, unsigned> asMap; 848 int getAttributeGroupSlot(AttributeSet AS); 877 using as_iterator = DenseMap<AttributeSet, unsigned>::iterator; 903 void CreateAttributeSetSlot(AttributeSet AS); 1096 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule() 1137 AttributeSet Attrs = Call->getAttributes().getFnAttrs(); in processFunction() 1308 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot() 1402 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot() 2889 void writeParamOperand(const Value *Operand, AttributeSet Attrs); 2904 void writeAttributeSet(const AttributeSet &AttrSet, bool InAttrGroup = false); [all …]
|
| H A D | Function.cpp | 185 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType() 203 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() 211 AttributeSet ParamAttrs = in getPointeeInMemoryValueType() 351 AttributeSet Argument::getAttributes() const { in getAttributes()
|
| H A D | Intrinsics.cpp | 743 AttributeSet Intrinsic::getFnAttributes(LLVMContext &C, ID id) { in getFnAttributes() 745 return AttributeSet(); in getFnAttributes()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.h | 361 class AttributeSet { 373 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function 377 AttributeSet() = default; 378 AttributeSet(const AttributeSet &) = default; 379 ~AttributeSet() = default; 381 LLVM_ABI static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 382 LLVM_ABI static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 384 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } 385 bool operator!=(const AttributeSet &O) const { return !(*this == O); } 389 [[nodiscard]] LLVM_ABI AttributeSet [all …]
|
| H A D | GlobalVariable.h | 45 AttributeSet Attrs; 248 AttributeSet getAttributes() const { in getAttributes() 258 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList() 263 void setAttributes(AttributeSet A) { in setAttributes()
|
| H A D | Intrinsics.h | 32 class AttributeSet; variable 94 LLVM_ABI AttributeSet getFnAttributes(LLVMContext &C, ID id);
|
| H A D | AttributeMask.h | 38 AttributeMask(AttributeSet AS) { in AttributeMask()
|
| H A D | Argument.h | 189 LLVM_ABI AttributeSet getAttributes() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 189 SmallVector<AttributeSet, 8> ArgAttrs; in deleteDeadVarargs() 742 SmallVector<AttributeSet, 8> ArgAttrVec; in removeDeadStuffFromFunction() 859 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 862 AttributeSet FnAttrs = in removeDeadStuffFromFunction() 901 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 913 AttributeSet Attrs = CallPAL.getParamAttrs(Pi); in removeDeadStuffFromFunction() 920 ArgAttrVec.push_back(AttributeSet::get( in removeDeadStuffFromFunction() 940 AttributeSet FnAttrs = CallPAL.getFnAttrs().removeAttribute( in removeDeadStuffFromFunction()
|
| H A D | Attributor.cpp | 958 AttributeSet AttrSet, bool ForceReplace, in addIfNotExistent() 1123 function_ref<bool(const DescTy &, AttributeSet, in updateAttrMap() argument 1146 AttributeSet AS = AL.getAttributes(AttrIdx); in updateAttrMap() 1170 auto HasAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in hasAttr() 1211 AttributeSet AttrSet, AttributeMask &, in getAttrs() 1231 auto RemoveAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in removeAttrs() 1243 auto RemoveAttrCB = [&](StringRef Attr, AttributeSet AttrSet, in removeAttrs() 1258 auto AddAttrCB = [&](const Attribute &Attr, AttributeSet AttrSet, in manifestAttrs() 2988 SmallVector<AttributeSet, 16> NewArgumentAttributes; in rewriteFunctionSignatures() 2998 AttributeSet()); in rewriteFunctionSignatures() [all …]
|
| H A D | ArgumentPromotion.cpp | 126 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion() 157 ArgAttrVec.push_back(AttributeSet()); in doPromotion() 265 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 518 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall() 541 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall() 561 AttributeSet::get(Ctx, RAttrs), in promoteCall()
|
| H A D | FunctionComparator.cpp | 128 AttributeSet LAS = L.getAttributes(i); in cmpAttrs() 129 AttributeSet RAS = R.getAttributes(i); in cmpAttrs() 130 AttributeSet::iterator LI = LAS.begin(), LE = LAS.end(); in cmpAttrs() 131 AttributeSet::iterator RI = RAS.begin(), RE = RAS.end(); in cmpAttrs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 552 AttributeSet Attrs; 553 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() 610 AttributeSet Attrs; 612 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.h | 55 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 89 static void collectDeadStringAttrs(AttributeMask &DeadAttrs, AttributeSet &&AS, in collectDeadStringAttrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 537 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke() 541 ArgAttributes.push_back(AttributeSet()); in wrapInvoke() 562 C, AttributeSet::get(C, FnAttrs), InvokeAL.getRetAttrs(), ArgAttributes); in wrapInvoke()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 263 GV->setAttributes(AttributeSet::get(Context,Attrs)); in validateEndOfModule() 1484 GV->setAttributes(AttributeSet::get(Context, Attrs)); in parseGlobal() 3084 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList() 3385 AttributeSet::get(ArgTy->getContext(), Attrs), in parseArgumentList() 6728 SmallVector<AttributeSet, 8> Attrs; in parseFunctionHeader() 6736 AttributeList::get(Context, AttributeSet::get(Context, FuncAttrs), in parseFunctionHeader() 6737 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader() 7642 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke() 7668 AttributeList::get(Context, AttributeSet::get(Context, FnAttrs), in parseInvoke() 7669 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 309 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs();
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 4508 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall() 4542 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall() 4567 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall() 4575 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall() 4645 AttributeSet NestAttr; in transformCallThroughTrampoline() 4651 AttributeSet AS = NestAttrs.getParamAttrs(NestArgNo); in transformCallThroughTrampoline() 4662 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
|