/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
D | OMPKinds.def | 566 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__}) 569 #define AttributeSet(...) \ 570 AttributeSet::get(Ctx, ArrayRef<Attribute>({__VA_ARGS__})) 580 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(ReadOnly), 584 : AttributeSet(EnumAttr(NoUnwind))) 587 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), 591 : AttributeSet(EnumAttr(NoUnwind))) 594 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(WriteOnly), 598 : AttributeSet(EnumAttr(NoUnwind))) 602 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync), [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Attributes.h | 203 class AttributeSet { 224 static AttributeSet get(LLVMContext &C, 226 static AttributeSet get(LLVMContext &C, 230 static AttributeSet getImpl(LLVMContext &C, 234 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet() function 237 AttributeSet() : pImpl(nullptr) {} in AttributeSet() function 244 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs); 245 static AttributeSet get(LLVMContext &C, unsigned Index, 247 static AttributeSet get(LLVMContext &C, unsigned Index, 249 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); [all …]
|
D | Function.h | 66 AttributeSet AttributeSets; ///< Parameter attributes 172 AttributeSet getAttributes() const { return AttributeSets; } in getAttributes() 175 void setAttributes(AttributeSet Attrs) { AttributeSets = Attrs; } in setAttributes() 179 addAttribute(AttributeSet::FunctionIndex, Kind); in addFnAttr() 184 addAttribute(AttributeSet::FunctionIndex, 189 addAttribute(AttributeSet::FunctionIndex, Attr); in addFnAttr() 194 removeAttribute(AttributeSet::FunctionIndex, Kind); in removeFnAttr() 200 getContext(), AttributeSet::FunctionIndex, Kind)); in removeFnAttr() 231 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute() 234 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Attributes.h | 203 class AttributeSet { 223 static AttributeSet get(LLVMContext &C, 225 static AttributeSet get(LLVMContext &C, 229 static AttributeSet getImpl(LLVMContext &C, 233 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet() function 236 AttributeSet() : pImpl(nullptr) {} in AttributeSet() function 243 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs); 244 static AttributeSet get(LLVMContext &C, unsigned Index, 246 static AttributeSet get(LLVMContext &C, unsigned Index, 248 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); [all …]
|
D | Function.h | 58 AttributeSet AttributeSets; ///< Parameter attributes 163 AttributeSet getAttributes() const { return AttributeSets; } 166 void setAttributes(AttributeSet Attrs) { AttributeSets = Attrs; } 171 AttributeSet::FunctionIndex, N)); 177 getContext(), AttributeSet::FunctionIndex, Kind)); 184 AttributeSet::FunctionIndex, Kind)); 189 AttributeSet::FunctionIndex, Kind, Value)); 203 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind); 208 return getAttribute(AttributeSet::FunctionIndex, Kind); 211 return getAttribute(AttributeSet::FunctionIndex, Kind); [all …]
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 682 AttributeSet(const_cast<AttributeSetImpl *>(this)).dump(); in dump() 689 AttributeSet 690 AttributeSet::getImpl(LLVMContext &C, in getImpl() 710 return AttributeSet(PA); in getImpl() 713 AttributeSet AttributeSet::get(LLVMContext &C, in get() 717 return AttributeSet(); in get() 748 AttributeSet AttributeSet::get(LLVMContext &C, in get() 753 return AttributeSet(); in get() 758 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, in get() 761 return AttributeSet(); in get() [all …]
|
/external/llvm/unittests/IR/ |
D | AttributesTest.cpp | 24 AttributeSet ASs[] = { in TEST() 25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST() 26 AttributeSet::get(C, 2, Attribute::SExt) in TEST() 29 AttributeSet SetA = AttributeSet::get(C, ASs); in TEST() 30 AttributeSet SetB = AttributeSet::get(C, ASs); in TEST() 46 AttributeSet ASs[] = { in TEST() 47 AttributeSet::get(C, 2, Attribute::ZExt), in TEST() 48 AttributeSet::get(C, 1, Attribute::SExt) in TEST() 51 AttributeSet SetA = AttributeSet::get(C, ASs); in TEST() 52 AttributeSet SetB = SetA.removeAttributes(C, 1, ASs[1]); in TEST()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | AttributeSetBuilderTest.java | 10 import android.util.AttributeSet; 29 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnTheResourceValue() 39 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue() 49 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId() 59 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId() 69 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in shouldCopeWithDefiningLocalIds() 79 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue() 89 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() 99 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() 108 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.h | 214 class AttributeSet { 226 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function 230 AttributeSet() = default; 231 AttributeSet(const AttributeSet &) = default; 232 ~AttributeSet() = default; 234 static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 235 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 237 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } 238 bool operator!=(const AttributeSet &O) const { return !(*this == O); } 242 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, [all …]
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 26 const AttributeSet PAL = Func->getAttributes(); in LLVMAddFunctionAttr2() 28 const AttributeSet PALnew = in LLVMAddFunctionAttr2() 29 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMAddFunctionAttr2() 30 AttributeSet::get(Func->getContext(), in LLVMAddFunctionAttr2() 31 AttributeSet::FunctionIndex, B)); in LLVMAddFunctionAttr2() 37 const AttributeSet PAL = Func->getAttributes(); in LLVMGetFunctionAttr2() 38 return PAL.Raw(AttributeSet::FunctionIndex); in LLVMGetFunctionAttr2() 43 const AttributeSet PAL = Func->getAttributes(); in LLVMRemoveFunctionAttr2() 45 const AttributeSet PALnew = in LLVMRemoveFunctionAttr2() 46 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMRemoveFunctionAttr2() [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Attributes.h | 239 class AttributeSet { 251 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function 255 AttributeSet() = default; 256 AttributeSet(const AttributeSet &) = default; 257 ~AttributeSet() = default; 259 static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 260 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 262 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } 263 bool operator!=(const AttributeSet &O) const { return !(*this == O); } 267 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Attributes.cpp | 589 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() 590 return AttributeSet(AttributeSetNode::get(C, B)); in get() 593 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get() 594 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get() 597 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 602 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 605 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() 609 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 612 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 613 const AttributeSet AS) const { in addAttributes() [all …]
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
D | AttributeSet.java | 22 abstract class AttributeSet implements IContent class 26 public static AttributeSet create () in create() 37 public abstract AttributeSet set (Attribute attr, String value); in set() 38 public abstract AttributeSet set (Attribute attr, int value); in set() 45 AttributeSet () {} in AttributeSet() method in AttributeSet 50 private static final class AttributeSetImpl extends AttributeSet 88 public AttributeSet set (final Attribute attr, final String value) // null removes? in set() 95 public AttributeSet set (final Attribute attr, final int value) in set()
|
D | ISimpleElement.java | 24 AttributeSet getAttributes (); in getAttributes() 30 return new SimpleElementImpl (tag, AttributeSet.create ()); in create() 33 public static ISimpleElement create (final Tag tag, final AttributeSet attrs) in create() 60 public AttributeSet getAttributes () in getAttributes() 79 SimpleElementImpl (final Tag tag, final AttributeSet attrs) in SimpleElementImpl() 90 protected final AttributeSet m_attrs;
|
/external/llvm-project/llvm/lib/IR/ |
D | Attributes.cpp | 657 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() 658 return AttributeSet(AttributeSetNode::get(C, B)); in get() 661 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get() 662 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get() 665 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 670 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 673 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() 677 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute() 680 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 681 const AttributeSet AS) const { in addAttributes() [all …]
|
/external/llvm/docs/ |
D | HowToUseAttributes.rst | 41 ``AttributeSet`` 44 The ``AttributeSet`` class replaces the old ``AttributeList`` class. The 45 ``AttributeSet`` stores a collection of Attribute objects for each kind of 48 are at index ``AttributeSet::FunctionIndex``; the return type's attributes are 49 at index ``AttributeSet::ReturnIndex``; and the function's parameters' 51 Most methods on the ``AttributeSet`` class take an index parameter. 53 An ``AttributeSet`` is also a uniqued and immutable object. You create an 54 ``AttributeSet`` through the ``AttributeSet::get`` methods. You can add and 55 remove attributes, which result in the creation of a new ``AttributeSet``. 57 An ``AttributeSet`` object is designed to be passed around by value. [all …]
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 131 AttributeSet Attr = in getVoidRetI8XEntryPoint() 132 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getVoidRetI8XEntryPoint() 149 AttributeSet Attr = AttributeSet(); 152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex, 168 AttributeSet Attr = in getI8XRetI8XXI8XEntryPoint() 169 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getI8XRetI8XXI8XEntryPoint()
|
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 25 AttributeSet FnAttrs = AttributeSet::get( in TEST() 27 AttributeSet RetAttrs; // None in TEST() 28 AttributeSet ArgAttrs[2] = { in TEST() 29 AttributeSet::get(Context, in TEST() 31 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
|
/external/llvm-project/llvm/tools/llvm-reduce/deltas/ |
D | ReduceAttributes.cpp | 68 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() 161 sort(SetVec, [](const std::pair<unsigned, AttributeSet> &LHS, in convertAttributeRefVecToAttributeList() 162 const std::pair<unsigned, AttributeSet> &RHS) { in convertAttributeRefVecToAttributeList()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 39 class AttributeSet; variable 105 typedef DenseMap<AttributeSet, unsigned> AttributeGroupMapType; 107 std::vector<AttributeSet> AttributeGroups; 109 typedef DenseMap<AttributeSet, unsigned> AttributeMapType; 111 std::vector<AttributeSet> Attribute; 169 unsigned getAttributeID(AttributeSet PAL) const { in getAttributeID() 176 unsigned getAttributeGroupID(AttributeSet PAL) const { in getAttributeGroupID() 209 const std::vector<AttributeSet> &getAttributes() const { in getAttributes() 212 const std::vector<AttributeSet> &getAttributeGroups() const { in getAttributeGroups() 286 void EnumerateAttributes(AttributeSet PAL);
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlaybackControlView.java | 19 import android.util.AttributeSet; 42 public PlaybackControlView(Context context, AttributeSet attrs) { in PlaybackControlView() 46 public PlaybackControlView(Context context, AttributeSet attrs, int defStyleAttr) { in PlaybackControlView() 51 Context context, AttributeSet attrs, int defStyleAttr, AttributeSet playbackAttrs) { in PlaybackControlView()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 169 AttributeSet PAL = CS.getAttributes(); in DeleteDeadVarargs() 171 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs() 174 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs() 175 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs() 177 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs() 684 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction() 685 const AttributeSet &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction() 707 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in RemoveDeadStuffFromFunction() 782 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction() 790 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction() [all …]
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 23 SmallVector<AttributeSet, 4> Attrs; in TEST() 25 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST() 28 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST() 31 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST() 33 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | jit_pch.hpp | 126 static inline llvm::AttributeSet GetFuncAttribSet(llvm::LLVMContext& ctx, in GetFuncAttribSet() 129 return llvm::AttributeSet::get(ctx, b); in GetFuncAttribSet() 133 static const auto Attrib_FunctionIndex = llvm::AttributeSet::FunctionIndex; 134 static inline llvm::AttributeSet GetFuncAttribSet(llvm::LLVMContext& ctx, in GetFuncAttribSet() 137 return llvm::AttributeSet::get(ctx, Attrib_FunctionIndex, b); in GetFuncAttribSet()
|
/external/oboe/samples/audio-device/src/main/java/com/google/oboe/samples/audio_device/ |
D | AudioDeviceSpinner.java | 24 import android.util.AttributeSet; 47 public AudioDeviceSpinner(Context context, AttributeSet attrs){ in AudioDeviceSpinner() 52 public AudioDeviceSpinner(Context context, AttributeSet attrs, int defStyleAttr){ in AudioDeviceSpinner() 57 public AudioDeviceSpinner(Context context, AttributeSet attrs, int defStyleAttr, int mode){ in AudioDeviceSpinner() 62 public AudioDeviceSpinner(Context context, AttributeSet attrs, int defStyleAttr, in AudioDeviceSpinner() 67 public AudioDeviceSpinner(Context context, AttributeSet attrs, int defStyleAttr, in AudioDeviceSpinner()
|