| /openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPKinds.def | 492 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__}) 497 #define AttributeSet(...) \ 498 AttributeSet::get(Ctx, ArrayRef<Attribute>({__VA_ARGS__})) 509 ? AttributeSet( 513 : AttributeSet(EnumAttr(NoUnwind))) 517 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), EnumAttr(NoFree), 520 : AttributeSet(EnumAttr(NoUnwind))) 524 ? AttributeSet( 528 : AttributeSet(EnumAttr(NoUnwind))) 532 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Attributes.cpp | 693 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() 694 return AttributeSet(AttributeSetNode::get(C, B)); in get() 697 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get() 698 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get() 701 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 706 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 709 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() 713 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 716 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 717 const AttributeSet AS) const { in addAttributes() [all …]
|
| H A D | AttributeImpl.h | 293 private TrailingObjects<AttributeListImpl, AttributeSet> { 305 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument 308 AttributeListImpl(ArrayRef<AttributeSet> Sets); 326 using iterator = const AttributeSet *; 328 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin() 332 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
|
| H A D | TypeFinder.cpp | 198 for (AttributeSet AS : AL) in incorporateAttributes()
|
| H A D | AsmWriter.cpp | 709 DenseMap<AttributeSet, unsigned> asMap; 763 int getAttributeGroupSlot(AttributeSet AS); 791 using as_iterator = DenseMap<AttributeSet, unsigned>::iterator; 817 void CreateAttributeSetSlot(AttributeSet AS); 1006 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule() 1047 AttributeSet Attrs = Call->getAttributes().getFnAttrs(); in processFunction() 1183 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot() 1269 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot() 2581 void writeParamOperand(const Value *Operand, AttributeSet Attrs); 2596 void writeAttributeSet(const AttributeSet &AttrSet, bool InAttrGroup = false); [all …]
|
| H A D | Verifier.cpp | 210 void Write(const AttributeSet *AS) { in Write() 561 void verifyAttributeTypes(AttributeSet Attrs, const Value *V); 562 void verifyParameterAttrs(AttributeSet Attrs, Type *Ty, const Value *V); 1759 void Verifier::verifyAttributeTypes(AttributeSet Attrs, const Value *V) { in verifyAttributeTypes() 1787 void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, in verifyParameterAttrs() 1973 AttributeSet RetAttrs = Attrs.getRetAttrs(); in verifyFunctionAttrs() 1986 AttributeSet ArgAttrs = Attrs.getParamAttrs(i); in verifyFunctionAttrs() 2352 AttributeSet ArgAttrs = Attrs.getParamAttrs(5 + i); in verifyStatepoint() 3344 AttributeSet ArgAttrs = Attrs.getParamAttrs(Idx); in visitCallBase()
|
| H A D | Function.cpp | 160 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType() 178 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() 186 AttributeSet ParamAttrs = in getPointeeInMemoryValueType()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Attributes.h | 295 class AttributeSet { 307 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function 311 AttributeSet() = default; 312 AttributeSet(const AttributeSet &) = default; 313 ~AttributeSet() = default; 315 static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 316 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 318 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } 319 bool operator!=(const AttributeSet &O) const { return !(*this == O); } 323 [[nodiscard]] AttributeSet addAttribute(LLVMContext &C, [all …]
|
| H A D | GlobalVariable.h | 42 AttributeSet Attrs; 222 AttributeSet getAttributes() const { in getAttributes() 232 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList() 237 void setAttributes(AttributeSet A) { in setAttributes()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceAttributes.cpp | 61 AttributeSet AS = GV.getAttributes(); in visitGlobalVariable() 65 GV.setAttributes(AttributeSet::get(Context, AttrsToPreserve)); in visitGlobalVariable() 79 AttributeSet visitAttributeIndex(AttributeList AL, unsigned Index) { in visitAttributeIndex() 85 return AttributeSet::get(Context, AttributesToPreserve); in visitAttributeIndex() 89 SmallVector<std::pair<unsigned, AttributeSet>> NewAttrList; in visitAttributeList() 96 AttributeSet AttrSet = visitAttributeIndex(AL, SetIdx); in visitAttributeList() 104 AttributeSet FnAttrSet = in visitAttributeList() 112 void visitAttributeSet(const AttributeSet &AS, AttrBuilder &AttrsToPreserve) { in visitAttributeSet()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 187 SmallVector<AttributeSet, 8> ArgAttrs; in deleteDeadVarargs() 736 SmallVector<AttributeSet, 8> ArgAttrVec; in removeDeadStuffFromFunction() 839 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 842 AttributeSet FnAttrs = in removeDeadStuffFromFunction() 880 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 892 AttributeSet Attrs = CallPAL.getParamAttrs(Pi); in removeDeadStuffFromFunction() 899 ArgAttrVec.push_back(AttributeSet::get( in removeDeadStuffFromFunction() 919 AttributeSet FnAttrs = CallPAL.getFnAttrs().removeAttribute( in removeDeadStuffFromFunction()
|
| H A D | ArgumentPromotion.cpp | 160 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion() 178 ArgAttrVec.push_back(AttributeSet()); in doPromotion() 256 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 503 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall() 524 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall() 543 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()
|
| /openbsd-src/gnu/llvm/llvm/tools/bugpoint-passes/ |
| H A D | TestPasses.cpp | 146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 519 AttributeSet Attrs; 520 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() 578 AttributeSet Attrs; 580 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.h | 55 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVSExtWRemoval.cpp | 176 const AttributeSet &Attrs = CalleeFn->getAttributes().getRetAttrs(); in isSignExtendedW()
|
| /openbsd-src/gnu/llvm/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 183 GV->setAttributes(AttributeSet::get(Context,Attrs)); in validateEndOfModule() 1333 GV->setAttributes(AttributeSet::get(Context, Attrs)); in parseGlobal() 2744 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList() 2875 AttributeSet::get(ArgTy->getContext(), Attrs), in parseArgumentList() 2911 AttributeSet::get(ArgTy->getContext(), Attrs), in parseArgumentList() 5971 SmallVector<AttributeSet, 8> Attrs; in parseFunctionHeader() 5979 AttributeList::get(Context, AttributeSet::get(Context, FuncAttrs), in parseFunctionHeader() 5980 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader() 6714 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke() 6740 AttributeList::get(Context, AttributeSet::get(Context, FnAttrs), in parseInvoke() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3546 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall() 3576 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); in transformConstExprCastCall() 3587 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall() 3612 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall() 3620 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall() 3698 AttributeSet NestAttr; in transformCallThroughTrampoline() 3704 AttributeSet AS = NestAttrs.getParamAttrs(NestArgNo); in transformCallThroughTrampoline() 3715 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 538 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke() 542 ArgAttributes.push_back(AttributeSet()); in wrapInvoke() 563 C, AttributeSet::get(C, FnAttrs), InvokeAL.getRetAttrs(), ArgAttributes); in wrapInvoke()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 256 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs();
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFVerifier.cpp | 307 SmallDenseSet<uint16_t> AttributeSet; in verifyAbbrevSection() local 309 auto Result = AttributeSet.insert(Attribute.Attr); in verifyAbbrevSection()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2418 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); in ConstructAttributeList() 2429 llvm::AttributeSet::get(getLLVMContext(), SRETAttrs); in ConstructAttributeList() 2437 llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList() 2475 ArgAttrs[IRArgs.first] = llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList() 2490 llvm::AttributeSet::get( in ConstructAttributeList() 2652 getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), Attrs)); in ConstructAttributeList() 2658 getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs), in ConstructAttributeList() 2659 llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs); in ConstructAttributeList()
|