Home
last modified time | relevance | path

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

123456

/external/llvm/include/llvm/IR/
DAttributes.h173 class AttributeSet {
193 static AttributeSet get(LLVMContext &C,
195 static AttributeSet get(LLVMContext &C,
199 static AttributeSet getImpl(LLVMContext &C,
203 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet() function
206 AttributeSet() : pImpl(nullptr) {} in AttributeSet() function
213 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
214 static AttributeSet get(LLVMContext &C, unsigned Index,
216 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
220 AttributeSet addAttribute(LLVMContext &C, unsigned Index,
[all …]
DFunction.h58 AttributeSet AttributeSets; ///< Parameter attributes
165 AttributeSet getAttributes() const { return AttributeSets; }
168 void setAttributes(AttributeSet attrs) { AttributeSets = attrs; }
173 AttributeSet::FunctionIndex, N));
179 getContext(), AttributeSet::FunctionIndex, N));
186 AttributeSet::FunctionIndex, Kind));
191 AttributeSet::FunctionIndex, Kind, Value));
202 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
205 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
210 return AttributeSets.getAttribute(AttributeSet::FunctionIndex, Kind);
[all …]
/external/llvm/unittests/IR/
DAttributesTest.cpp24 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()
37 AttributeSet ASs[] = { in TEST()
38 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
39 AttributeSet::get(C, 1, Attribute::SExt) in TEST()
42 AttributeSet SetA = AttributeSet::get(C, ASs); in TEST()
43 AttributeSet SetB = SetA.removeAttributes(C, 1, ASs[1]); in TEST()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp42 AttributeSet AS[2]; in EmitStrLen()
43 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrLen()
45 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrLen()
49 "strlen", AttributeSet::get(M->getContext(), AS), in EmitStrLen()
68 AttributeSet AS = in EmitStrChr()
69 AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrChr()
74 AttributeSet::get(M->getContext(), in EmitStrChr()
91 AttributeSet AS[3]; in EmitStrNCmp()
92 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrNCmp()
93 AS[1] = AttributeSet::get(M->getContext(), 2, Attribute::NoCapture); in EmitStrNCmp()
[all …]
/external/llvm/lib/IR/
DAttributes.cpp606 AttributeSet(const_cast<AttributeSetImpl *>(this)).dump(); in dump()
613 AttributeSet
614 AttributeSet::getImpl(LLVMContext &C, in getImpl()
634 return AttributeSet(PA); in getImpl()
637 AttributeSet AttributeSet::get(LLVMContext &C, in get()
641 return AttributeSet(); in get()
671 AttributeSet AttributeSet::get(LLVMContext &C, in get()
676 return AttributeSet(); in get()
681 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, in get()
684 return AttributeSet(); in get()
[all …]
/external/llvm/bindings/go/llvm/
DIRBindings.cpp26 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/emma/core/java12/com/vladium/emma/report/html/doc/
DAttributeSet.java22 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()
DISimpleElement.java24 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;
DHTMLTable.java34 super (Tag.TABLE, AttributeSet.create ()); in HTMLTable()
36 final AttributeSet attrs = getAttributes (); in HTMLTable()
99 super (tag, AttributeSet.create ()); in Cell()
118 super (Tag.TR, AttributeSet.create ()); in Row()
DIElement.java30 return new ElementImpl (tag, AttributeSet.create ()); in create()
33 public static IElement create (final Tag tag, final AttributeSet attrs) in create()
110 ElementImpl (final Tag tag, final AttributeSet attrs) in ElementImpl()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DEditTextTest.java16 import android.util.AttributeSet;
33 AttributeSet attrs = attributeSetWithMaxLength(maxLength); in givenInitializingWithAttributeSet_whenMaxLengthDefined_thenRestrictTextLengthToMaxLength()
44 AttributeSet attrs = attributeSetWithoutMaxLength(); in givenInitializingWithAttributeSet_whenMaxLengthNotDefined_thenTextLengthShouldHaveNoRestrictions()
80 private AttributeSet attributeSetWithMaxLength(int maxLength) { in attributeSetWithMaxLength()
81 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithMaxLength()
86 private AttributeSet attributeSetWithoutMaxLength() { in attributeSetWithoutMaxLength()
87 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithoutMaxLength()
DDialogPreferenceTest.java6 import android.util.AttributeSet;
48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
65 public TestDialogPreference(Context context, AttributeSet attrs, int defStyle) { in TestDialogPreference()
69 public TestDialogPreference(Context context, AttributeSet attrs) { in TestDialogPreference()
/external/llvm/docs/
DHowToUseAttributes.rst41 ``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/Bitcode/Writer/
DValueEnumerator.h37 class AttributeSet; variable
72 typedef DenseMap<AttributeSet, unsigned> AttributeGroupMapType;
74 std::vector<AttributeSet> AttributeGroups;
76 typedef DenseMap<AttributeSet, unsigned> AttributeMapType;
78 std::vector<AttributeSet> Attribute;
139 unsigned getAttributeID(AttributeSet PAL) const { in getAttributeID()
146 unsigned getAttributeGroupID(AttributeSet PAL) const { in getAttributeGroupID()
169 const std::vector<AttributeSet> &getAttributes() const { in getAttributes()
172 const std::vector<AttributeSet> &getAttributeGroups() const { in getAttributeGroups()
201 void EnumerateAttributes(AttributeSet PAL);
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h131 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/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp22 SmallVector<AttributeSet, 4> Attrs; in TEST()
24 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
27 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
30 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
32 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp249 AttributeSet PAL = CS.getAttributes(); in DeleteDeadVarargs()
251 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs()
254 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs()
255 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs()
257 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs()
749 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction()
750 const AttributeSet &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
772 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in RemoveDeadStuffFromFunction()
846 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
854 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
[all …]
DArgumentPromotion.cpp637 SmallVector<AttributeSet, 8> AttributesVec; in DoPromotion()
638 const AttributeSet &PAL = F->getAttributes(); in DoPromotion()
641 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
642 AttributesVec.push_back(AttributeSet::get(F->getContext(), in DoPromotion()
658 AttributeSet attrs = PAL.getParamAttributes(ArgIndex); in DoPromotion()
662 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in DoPromotion()
720 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DoPromotion()
721 AttributesVec.push_back(AttributeSet::get(FTy->getContext(), in DoPromotion()
742 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); in DoPromotion()
763 const AttributeSet &CallPAL = CS.getAttributes(); in DoPromotion()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DVolumePreference.java22 import android.util.AttributeSet;
36 public VolumePreference(Context context, AttributeSet attrs) { in VolumePreference()
42 public VolumePreference(Context context, AttributeSet attrs, int defStyle) { in VolumePreference()
48 private void setupLayout(Context context, AttributeSet attrs) { in setupLayout()
DHelpTopicView.java21 import android.util.AttributeSet;
32 public HelpTopicView(Context context, AttributeSet attrs, int defStyle) { in HelpTopicView()
37 public HelpTopicView(Context context, AttributeSet attrs) { in HelpTopicView()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java6 import android.util.AttributeSet;
18 protected AttributeSet attrs;
39 public void __constructor__(Context context, AttributeSet attributeSet) { in __constructor__()
43 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { in __constructor__()
58 public AttributeSet getAttrs() { in getAttrs()
/external/replicaisland/src/com/replica/replicaisland/
DYesNoDialogPreference.java21 import android.util.AttributeSet;
30 public YesNoDialogPreference(Context context, AttributeSet attrs) { in YesNoDialogPreference()
35 public YesNoDialogPreference(Context context, AttributeSet attrs, in YesNoDialogPreference()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h340 AttributeSet Attrs = F.getAttributes(), NewAttrs; in setFunctionAttributes()
343 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
347 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
351 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
356 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
361 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
371 Call->addAttribute(llvm::AttributeSet::FunctionIndex, in setFunctionAttributes()
375 NewAttrs = Attrs.addAttributes(Ctx, AttributeSet::FunctionIndex, NewAttrs); in setFunctionAttributes()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPickerButton.java20 import android.util.AttributeSet;
34 public NumberPickerButton(Context context, AttributeSet attrs, int defStyle) { in NumberPickerButton()
38 public NumberPickerButton(Context context, AttributeSet attrs) { in NumberPickerButton()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp412 AttributeSet A; in fixupFPReturnAndCall()
421 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
423 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
425 A = A.addAttribute(C, AttributeSet::FunctionIndex, in fixupFPReturnAndCall()
503 AttributeSet A; in removeUseSoftFloat()
505 A = A.addAttribute(F.getContext(), AttributeSet::FunctionIndex, in removeUseSoftFloat()
507 F.removeAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat()
511 F.addAttributes(AttributeSet::FunctionIndex, A); in removeUseSoftFloat()

123456