|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Attributes.h 91 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
References
include/llvm/Transforms/IPO/Attributor.h 1380 Attrs.emplace_back(Attribute::get(Ctx, getAttrKind()));
lib/IR/Attributes.cpp 147 return get(Context, Alignment, A.value());
152 return get(Context, StackAlignment, A.value());
158 return get(Context, Dereferenceable, Bytes);
164 return get(Context, DereferenceableOrNull, Bytes);
176 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg));
803 Attr = Attribute::get(C, Kind);
1094 Attrs.emplace_back(Index, Attribute::get(C, K));
lib/IR/Core.cpp 151 return wrap(Attribute::get(Ctx, AttrKind, Val));
lib/Transforms/IPO/Attributor.cpp 2946 Attrs.emplace_back(Attribute::get(Ctx, Attribute::NoCapture));
3809 Attrs.push_back(Attribute::get(Ctx, Attribute::ReadNone));
3811 Attrs.push_back(Attribute::get(Ctx, Attribute::ReadOnly));
3813 Attrs.push_back(Attribute::get(Ctx, Attribute::WriteOnly));
lib/Transforms/IPO/WholeProgramDevirt.cpp 1136 M.getContext(), ArrayRef<Attribute>{Attribute::get(
lib/Transforms/InstCombine/InstCombineCalls.cpp 4292 Attribute::get(Ctx, Attribute::NonNull));
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 601 Attribute::get(Ctx, Attribute::NonNull));
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 2387 R.addAttribute(Attribute::get(Ctx, Attribute::Dereferenceable,
2390 R.addAttribute(Attribute::get(Ctx, Attribute::DereferenceableOrNull,
unittests/IR/AttributesTest.cpp 20 Attribute AttrA = Attribute::get(C, Attribute::AlwaysInline);
21 Attribute AttrB = Attribute::get(C, Attribute::AlwaysInline);
35 Attribute Align4 = Attribute::get(C, Attribute::Alignment, 4);
36 Attribute Align5 = Attribute::get(C, Attribute::Alignment, 5);
37 Attribute Deref4 = Attribute::get(C, Attribute::Dereferenceable, 4);
38 Attribute Deref5 = Attribute::get(C, Attribute::Dereferenceable, 5);
45 EXPECT_FALSE(ByVal < Attribute::get(C, Attribute::ZExt));
168 std::pair<unsigned, Attribute> Attrs[] = { { AttributeList::ReturnIndex, Attribute::get(C, Attribute::SExt) },
169 { AttributeList::FunctionIndex, Attribute::get(C, Attribute::ReadOnly) } };