Home
last modified time | relevance | path

Searched refs:AttributeSet (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def636 ParamAttrs(AttributeSet(), AttributeSet(EnumAttr(NoCapture),
662 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
673 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
676 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
691 AttributeSet(), AttributeSet()))
695 AttributeSet(), AttributeSet()))
699 AttributeSet(), AttributeSet()))
703 AttributeSet(), AttributeSet()))
808 AttributeSet(), AttributeSet(), AttributeSet(),
809 AttributeSet(), AttributeSet()))
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h266 class AttributeSet {
282 AttributeSet() = default;
283 AttributeSet(const AttributeSet &) = default;
284 ~AttributeSet() = default;
319 LLVM_NODISCARD AttributeSet
370 static AttributeSet getEmptyKey() {
387 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; }
409 friend class AttributeSet;
626 AttributeSet getRetAttributes() const;
629 AttributeSet getFnAttributes() const;
[all …]
H A DGlobalVariable.h43 AttributeSet Attrs;
223 AttributeSet getAttributes() const { in getAttributes()
233 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList()
238 void setAttributes(AttributeSet A) { in setAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp590 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
594 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
598 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
606 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
613 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
628 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
636 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
644 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
737 AttributeSet::iterator AttributeSet::begin() const { in begin()
741 AttributeSet::iterator AttributeSet::end() const { in end()
[all …]
H A DAttributeImpl.h281 private TrailingObjects<AttributeListImpl, AttributeSet> {
293 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument
296 AttributeListImpl(ArrayRef<AttributeSet> Sets);
314 using iterator = const AttributeSet *;
316 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin()
320 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
H A DAsmWriter.cpp694 DenseMap<AttributeSet, unsigned> asMap;
748 int getAttributeGroupSlot(AttributeSet AS);
802 void CreateAttributeSetSlot(AttributeSet AS);
991 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); in processModule()
1168 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot()
1254 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot()
2624 void printArgument(const Argument *FA, AttributeSet Attrs);
2740 AttributeSet Attrs) { in writeParamOperand()
3687 AttributeSet AS = Attrs.getFnAttributes(); in printFunction()
3741 AttributeSet ArgAttrs = Attrs.getParamAttributes(I); in printFunction()
[all …]
H A DVerifier.cpp210 void Write(const AttributeSet *AS) { in Write()
543 void verifyAttributeTypes(AttributeSet Attrs, const Value *V);
544 void verifyParameterAttrs(AttributeSet Attrs, Type *Ty, const Value *V);
1656 void Verifier::verifyAttributeTypes(AttributeSet Attrs, const Value *V) { in verifyAttributeTypes()
1684 void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, in verifyParameterAttrs()
1864 AttributeSet RetAttrs = Attrs.getRetAttributes(); in verifyFunctionAttrs()
1877 AttributeSet ArgAttrs = Attrs.getParamAttributes(i); in verifyFunctionAttrs()
2171 AttributeSet ArgAttrs = Attrs.getParamAttributes(5 + i); in verifyStatepoint()
3162 AttributeSet ArgAttrs = Attrs.getParamAttributes(Idx); in visitCallBase()
H A DFunction.cpp161 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs, Type *ArgTy) { in getMemoryParamAllocType()
179 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize()
187 AttributeSet ParamAttrs = in getPointeeInMemoryValueType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp189 SmallVector<AttributeSet, 8> ArgAttrs; in DeleteDeadVarargs()
750 SmallVector<AttributeSet, 8> ArgAttrVec; in RemoveDeadStuffFromFunction()
853 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction()
856 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction()
894 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction()
906 AttributeSet Attrs = CallPAL.getParamAttributes(Pi); in RemoveDeadStuffFromFunction()
913 ArgAttrVec.push_back(AttributeSet::get( in RemoveDeadStuffFromFunction()
933 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction()
H A DArgumentPromotion.cpp133 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion()
146 AttributeSet()); in doPromotion()
202 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
278 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
321 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
H A DAttributor.cpp2146 SmallVector<AttributeSet, 16> NewArgumentAttributes; in rewriteFunctionSignatures()
2156 AttributeSet()); in rewriteFunctionSignatures()
2219 SmallVector<AttributeSet, 16> NewArgOperandAttributes; in rewriteFunctionSignatures()
2233 AttributeSet()); in rewriteFunctionSignatures()
H A DWholeProgramDevirt.cpp1359 std::vector<AttributeSet> NewArgAttrs; in applyICallBranchFunnel()
1360 NewArgAttrs.push_back(AttributeSet::get( in applyICallBranchFunnel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp476 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall()
496 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall()
515 AttributeSet::get(Ctx, RAttrs), in promoteCall()
H A DFunctionComparator.cpp114 AttributeSet LAS = L.getAttributes(i); in cmpAttrs()
115 AttributeSet RAS = R.getAttributes(i); in cmpAttrs()
116 AttributeSet::iterator LI = LAS.begin(), LE = LAS.end(); in cmpAttrs()
117 AttributeSet::iterator RI = RAS.begin(), RE = RAS.end(); in cmpAttrs()
H A DCloneFunction.cpp112 SmallVector<AttributeSet, 4> NewArgAttrs(NewFunc->arg_size()); in CloneFunctionInto()
H A DInlineFunction.cpp2101 SmallVector<AttributeSet, 4> VarArgsAttrs; in InlineFunction()
2134 SmallVector<AttributeSet, 8> ArgAttrs; in InlineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h484 AttributeSet Attrs;
485 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo()
538 AttributeSet Attrs;
540 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
H A DValueEnumerator.cpp1040 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp447 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke()
451 ArgAttributes.push_back(AttributeSet()); in wrapInvoke()
471 AttributeList::get(C, AttributeSet::get(C, FnAttrs), in wrapInvoke()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp156 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
164 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
172 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
180 AttributeSet::get(Context, FnAttrs)); in validateEndOfModule()
185 GV->setAttributes(AttributeSet::get(Context,Attrs)); in validateEndOfModule()
1211 GV->setAttributes(AttributeSet::get(Context, Attrs)); in parseGlobal()
2389 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList()
5563 SmallVector<AttributeSet, 8> Attrs; in parseFunctionHeader()
6295 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke()
6621 SmallVector<AttributeSet, 8> ArgAttrs; in parseCallBr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2709 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall()
2734 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); in transformConstExprCastCall()
2743 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall()
2768 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); in transformConstExprCastCall()
2776 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
2863 AttributeSet NestAttr; in transformCallThroughTrampoline()
2869 AttributeSet AS = NestAttrs.getParamAttributes(NestArgNo); in transformCallThroughTrampoline()
2880 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h241 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes();
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2302 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); in ConstructAttributeList()
2313 llvm::AttributeSet::get(getLLVMContext(), SRETAttrs); in ConstructAttributeList()
2321 llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2359 ArgAttrs[IRArgs.first] = llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2374 llvm::AttributeSet::get( in ConstructAttributeList()
2524 llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2530 getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs), in ConstructAttributeList()
2531 llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs); in ConstructAttributeList()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp262 SmallDenseSet<uint16_t> AttributeSet; in verifyAbbrevSection() local
264 auto Result = AttributeSet.insert(Attribute.Attr); in verifyAbbrevSection()

12