Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def735 AttributeSet(), AttributeSet()))
739 AttributeSet(), AttributeSet()))
743 AttributeSet(), AttributeSet()))
747 AttributeSet(), AttributeSet()))
754 AttributeSet(), AttributeSet()))
759 AttributeSet(), AttributeSet()))
764 AttributeSet(), AttributeSet()))
769 AttributeSet(), AttributeSet()))
874 AttributeSet(), AttributeSet(), AttributeSet(),
875 AttributeSet(), AttributeSet()))
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp623 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
627 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
631 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
639 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
646 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
659 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
667 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
675 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
779 AttributeSet::iterator AttributeSet::begin() const { in begin()
783 AttributeSet::iterator AttributeSet::end() const { in end()
[all …]
H A DAttributeImpl.h284 private TrailingObjects<AttributeListImpl, AttributeSet> {
296 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument
299 AttributeListImpl(ArrayRef<AttributeSet> Sets);
317 using iterator = const AttributeSet *;
319 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin()
323 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
H A DAsmWriter.cpp691 DenseMap<AttributeSet, unsigned> asMap;
745 int getAttributeGroupSlot(AttributeSet AS);
799 void CreateAttributeSetSlot(AttributeSet AS);
988 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule()
1165 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot()
1251 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot()
2580 void printArgument(const Argument *FA, AttributeSet Attrs);
2697 AttributeSet Attrs) { in writeParamOperand()
3677 AttributeSet AS = Attrs.getFnAttrs(); in printFunction()
3732 AttributeSet ArgAttrs = Attrs.getParamAttrs(I); in printFunction()
[all …]
H A DTypeFinder.cpp198 for (AttributeSet AS : AL) in incorporateAttributes()
H A DFunction.cpp160 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType()
178 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize()
186 AttributeSet ParamAttrs = in getPointeeInMemoryValueType()
H A DVerifier.cpp209 void Write(const AttributeSet *AS) { in Write()
559 void verifyAttributeTypes(AttributeSet Attrs, const Value *V);
560 void verifyParameterAttrs(AttributeSet Attrs, Type *Ty, const Value *V);
1725 void Verifier::verifyAttributeTypes(AttributeSet Attrs, const Value *V) { in verifyAttributeTypes()
1753 void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, in verifyParameterAttrs()
1939 AttributeSet RetAttrs = Attrs.getRetAttrs(); in verifyFunctionAttrs()
1952 AttributeSet ArgAttrs = Attrs.getParamAttrs(i); in verifyFunctionAttrs()
2310 AttributeSet ArgAttrs = Attrs.getParamAttrs(5 + i); in verifyStatepoint()
3291 AttributeSet ArgAttrs = Attrs.getParamAttrs(Idx); in visitCallBase()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h290 class AttributeSet {
306 AttributeSet() = default;
307 AttributeSet(const AttributeSet &) = default;
308 ~AttributeSet() = default;
343 LLVM_NODISCARD AttributeSet
397 static AttributeSet getEmptyKey() {
414 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; }
436 friend class AttributeSet;
736 AttributeSet getRetAttrs() const;
739 AttributeSet getFnAttrs() const;
[all …]
H A DGlobalVariable.h42 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()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp26 AttributeSet FnAttrs = AttributeSet::get( in TEST()
28 AttributeSet RetAttrs; // None in TEST()
29 AttributeSet ArgAttrs[2] = { in TEST()
30 AttributeSet::get(Context, AttrBuilder(Context).addStructRetAttr(ArgTy)), in TEST()
31 AttributeSet::get(Context, AttrBuilder(Context).addByValAttr(ArgTy)), in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp68 const AttributeSet &AS = GV.getAttributes(); in visitGlobalVariable()
97 void visitAttributeSet(const AttributeSet &AS, in visitAttributeSet()
130 for (const AttributeSet &AS : AL) in visitAttributeList()
134 void visitAttributeSet(const AttributeSet &AS) { in visitAttributeSet()
141 AttributeSet
147 return AttributeSet::get(C, B); in convertAttributeRefToAttributeSet()
152 std::vector<std::pair<unsigned, AttributeSet>> SetVec; in convertAttributeRefVecToAttributeList()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DAttributesTest.cpp67 AL = AL.addFnAttributes(C, AttrBuilder(C, AttributeSet::get(C, B))); in TEST()
92 AttributeSet AS = AttributeSet::get(C, B_align_readonly); in TEST()
98 AS = AttributeSet::get(C, B_align_readonly); in TEST()
203 AttributeSet AS1 = AttributeSet::get( in TEST()
205 AttributeSet AS2 = AttributeSet::get( in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 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 DArgumentPromotion.cpp160 SmallVector<AttributeSet, 8> ArgAttrVec; in doPromotion()
178 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
256 ArgAttrVec.push_back(AttributeSet()); in doPromotion()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp491 SmallVector<AttributeSet, 4> NewArgAttrs; in promoteCall()
512 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall()
531 AttributeSet::get(Ctx, RAttrs), in promoteCall()
H A DFunctionComparator.cpp122 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()
/llvm-project-15.0.7/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
/llvm-project-15.0.7/llvm/include/llvm/AsmParser/
H A DLLParser.h495 AttributeSet Attrs;
496 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo()
550 AttributeSet Attrs;
552 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.h55 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h244 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs();
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3348 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall()
3378 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); in transformConstExprCastCall()
3389 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall()
3414 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall()
3422 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
3509 AttributeSet NestAttr; in transformCallThroughTrampoline()
3515 AttributeSet AS = NestAttrs.getParamAttrs(NestArgNo); in transformCallThroughTrampoline()
3526 std::vector<AttributeSet> NewArgAttrs; in transformCallThroughTrampoline()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp206 GV->setAttributes(AttributeSet::get(Context,Attrs)); in validateEndOfModule()
1288 GV->setAttributes(AttributeSet::get(Context, Attrs)); in parseGlobal()
2532 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList()
2663 AttributeSet::get(ArgTy->getContext(), Attrs), in parseArgumentList()
5687 SmallVector<AttributeSet, 8> Attrs; in parseFunctionHeader()
5696 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader()
6418 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke()
6447 AttributeList::get(Context, AttributeSet::get(Context, FnAttrs), in parseInvoke()
6743 SmallVector<AttributeSet, 8> ArgAttrs; in parseCallBr()
6772 AttributeList::get(Context, AttributeSet::get(Context, FnAttrs), in parseCallBr()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp538 SmallVector<AttributeSet, 8> ArgAttributes; in wrapInvoke()
542 ArgAttributes.push_back(AttributeSet()); in wrapInvoke()
565 C, AttributeSet::get(C, FnAttrs), InvokeAL.getRetAttrs(), ArgAttributes); in wrapInvoke()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp308 SmallDenseSet<uint16_t> AttributeSet; in verifyAbbrevSection() local
310 auto Result = AttributeSet.insert(Attribute.Attr); in verifyAbbrevSection()

12