| /src/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPKinds.def | 514 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__}) 519 #define AttributeSet(...) \ 520 AttributeSet::get(Ctx, ArrayRef<Attribute>({__VA_ARGS__})) 531 ? AttributeSet( 535 : AttributeSet(EnumAttr(NoUnwind))) 539 ? AttributeSet( 543 : AttributeSet(EnumAttr(NoUnwind))) 547 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), EnumAttr(NoFree), 550 : AttributeSet(EnumAttr(NoUnwind))) 554 ? AttributeSet( [all …]
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 842 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() 843 return AttributeSet(AttributeSetNode::get(C, B)); in get() 846 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get() 847 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get() 850 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 855 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 858 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() 862 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 865 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 866 const AttributeSet AS) const { in addAttributes() [all …]
|
| H A D | AttributeImpl.h | 371 private TrailingObjects<AttributeListImpl, AttributeSet> { 383 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument 386 AttributeListImpl(ArrayRef<AttributeSet> Sets); 404 using iterator = const AttributeSet *; 406 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin() 410 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 | 731 DenseMap<AttributeSet, unsigned> asMap; 790 int getAttributeGroupSlot(AttributeSet AS); 819 using as_iterator = DenseMap<AttributeSet, unsigned>::iterator; 845 void CreateAttributeSetSlot(AttributeSet AS); 1038 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule() 1079 AttributeSet Attrs = Call->getAttributes().getFnAttrs(); in processFunction() 1243 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot() 1337 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot() 2726 void writeParamOperand(const Value *Operand, AttributeSet Attrs); 2741 void writeAttributeSet(const AttributeSet &AttrSet, bool InAttrGroup = false); [all …]
|
| H A D | Function.cpp | 192 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType() 210 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() 218 AttributeSet ParamAttrs = in getPointeeInMemoryValueType()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.h | 330 class AttributeSet { 342 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function 346 AttributeSet() = default; 347 AttributeSet(const AttributeSet &) = default; 348 ~AttributeSet() = default; 350 static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 351 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 353 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } 354 bool operator!=(const AttributeSet &O) const { return !(*this == O); } 358 [[nodiscard]] AttributeSet addAttribute(LLVMContext &C, [all …]
|
| H A D | GlobalVariable.h | 42 AttributeSet Attrs; 228 AttributeSet getAttributes() const { in getAttributes() 238 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList() 243 void setAttributes(AttributeSet A) { in setAttributes()
|
| H A D | AttributeMask.h | 38 AttributeMask(AttributeSet AS) { in AttributeMask()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 194 SmallVector<AttributeSet, 8> ArgAttrs; in deleteDeadVarargs() 749 SmallVector<AttributeSet, 8> ArgAttrVec; in removeDeadStuffFromFunction() 852 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 855 AttributeSet FnAttrs = in removeDeadStuffFromFunction() 894 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 906 AttributeSet Attrs = CallPAL.getParamAttrs(Pi); in removeDeadStuffFromFunction() 913 ArgAttrVec.push_back(AttributeSet::get( in removeDeadStuffFromFunction() 933 AttributeSet FnAttrs = CallPAL.getFnAttrs().removeAttribute( in removeDeadStuffFromFunction()
|
| H A D | Attributor.cpp | 957 AttributeSet AttrSet, bool ForceReplace, in addIfNotExistent() 1115 function_ref<bool(const DescTy &, AttributeSet, in updateAttrMap() argument 1138 AttributeSet AS = AL.getAttributes(AttrIdx); in updateAttrMap() 1162 auto HasAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in hasAttr() 1203 AttributeSet AttrSet, AttributeMask &, in getAttrs() 1223 auto RemoveAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in removeAttrs() 1235 auto RemoveAttrCB = [&](StringRef Attr, AttributeSet AttrSet, in removeAttrs() 1250 auto AddAttrCB = [&](const Attribute &Attr, AttributeSet AttrSet, in manifestAttrs() 2999 SmallVector<AttributeSet, 16> NewArgumentAttributes; in rewriteFunctionSignatures() 3009 AttributeSet()); in rewriteFunctionSignatures() [all …]
|
| H A D | ArgumentPromotion.cpp | 124 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion() 147 ArgAttrVec.push_back(AttributeSet()); in doPromotion() 250 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 516 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall() 538 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall() 557 AttributeSet::get(Ctx, RAttrs), in promoteCall()
|
| H A D | FunctionComparator.cpp | 122 AttributeSet LAS = L.getAttributes(i); in cmpAttrs() 123 AttributeSet RAS = R.getAttributes(i); in cmpAttrs() 124 AttributeSet::iterator LI = LAS.begin(), LE = LAS.end(); in cmpAttrs() 125 AttributeSet::iterator RI = RAS.begin(), RE = RAS.end(); in cmpAttrs()
|
| /src/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 548 AttributeSet Attrs; 549 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() 607 AttributeSet Attrs; 609 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
|
| /src/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.h | 55 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 88 static void collectDeadStringAttrs(AttributeMask &DeadAttrs, AttributeSet &&AS, in collectDeadStringAttrs()
|
| /src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 533 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke() 537 ArgAttributes.push_back(AttributeSet()); in wrapInvoke() 558 C, AttributeSet::get(C, FnAttrs), InvokeAL.getRetAttrs(), ArgAttributes); in wrapInvoke()
|
| /src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 303 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs();
|
| /src/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 273 GV->setAttributes(AttributeSet::get(Context,Attrs)); in validateEndOfModule() 1496 GV->setAttributes(AttributeSet::get(Context, Attrs)); in parseGlobal() 3052 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList() 3288 AttributeSet::get(ArgTy->getContext(), Attrs), in parseArgumentList() 6426 SmallVector<AttributeSet, 8> Attrs; in parseFunctionHeader() 6434 AttributeList::get(Context, AttributeSet::get(Context, FuncAttrs), in parseFunctionHeader() 6435 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader() 7328 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke() 7354 AttributeList::get(Context, AttributeSet::get(Context, FnAttrs), in parseInvoke() 7355 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 4225 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall() 4258 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall() 4283 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall() 4291 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall() 4364 AttributeSet NestAttr; in transformCallThroughTrampoline() 4370 AttributeSet AS = NestAttrs.getParamAttrs(NestArgNo); in transformCallThroughTrampoline() 4381 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerBufferFatPointers.cpp | 1693 SmallVector<AttributeSet> ArgAttrs; in moveFunctionAdaptingType() 1705 AttributeSet ArgAttr = OldAttrs.getParamAttrs(I); in moveFunctionAdaptingType() 1711 AttributeSet RetAttrs = OldAttrs.getRetAttrs(); in moveFunctionAdaptingType()
|
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVOptWInstrs.cpp | 477 const AttributeSet &Attrs = CalleeFn->getAttributes().getRetAttrs(); in isSignExtendedW()
|
| /src/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchOptWInstrs.cpp | 558 const AttributeSet &Attrs = CalleeFn->getAttributes().getRetAttrs(); in isSignExtendedW()
|