Home
last modified time | relevance | path

Searched refs:AttrIdx (Results 1 – 12 of 12) sorted by relevance

/external/clang/tools/libclang/
DCXComment.cpp211 CXString clang_HTMLStartTag_getAttrName(CXComment CXC, unsigned AttrIdx) { in clang_HTMLStartTag_getAttrName() argument
213 if (!HST || AttrIdx >= HST->getNumAttrs()) in clang_HTMLStartTag_getAttrName()
216 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
219 CXString clang_HTMLStartTag_getAttrValue(CXComment CXC, unsigned AttrIdx) { in clang_HTMLStartTag_getAttrValue() argument
221 if (!HST || AttrIdx >= HST->getNumAttrs()) in clang_HTMLStartTag_getAttrValue()
224 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
/external/llvm-project/clang/tools/libclang/
DCXComment.cpp210 CXString clang_HTMLStartTag_getAttrName(CXComment CXC, unsigned AttrIdx) { in clang_HTMLStartTag_getAttrName() argument
212 if (!HST || AttrIdx >= HST->getNumAttrs()) in clang_HTMLStartTag_getAttrName()
215 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
218 CXString clang_HTMLStartTag_getAttrValue(CXComment CXC, unsigned AttrIdx) { in clang_HTMLStartTag_getAttrValue() argument
220 if (!HST || AttrIdx >= HST->getNumAttrs()) in clang_HTMLStartTag_getAttrValue()
223 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
/external/llvm-project/clang/include/clang-c/
DDocumentation.h329 CXString clang_HTMLStartTag_getAttrName(CXComment Comment, unsigned AttrIdx);
339 CXString clang_HTMLStartTag_getAttrValue(CXComment Comment, unsigned AttrIdx);
/external/clang/include/clang-c/
DDocumentation.h325 CXString clang_HTMLStartTag_getAttrName(CXComment Comment, unsigned AttrIdx);
335 CXString clang_HTMLStartTag_getAttrValue(CXComment Comment, unsigned AttrIdx);
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp239 uint32_t AttrIdx = AbbrevDecl->findAttributeIndex(Attr); in getAttributeValue() local
240 if (AttrIdx == -1U) in getAttributeValue()
250 for (uint32_t i = 0; i < AttrIdx; ++i) { in getAttributeValue()
255 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); in getAttributeValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp82 unsigned AttrIdx) { in setAttributes() argument
83 IsSExt = CS->paramHasAttr(AttrIdx, Attribute::SExt); in setAttributes()
84 IsZExt = CS->paramHasAttr(AttrIdx, Attribute::ZExt); in setAttributes()
85 IsInReg = CS->paramHasAttr(AttrIdx, Attribute::InReg); in setAttributes()
86 IsSRet = CS->paramHasAttr(AttrIdx, Attribute::StructRet); in setAttributes()
87 IsNest = CS->paramHasAttr(AttrIdx, Attribute::Nest); in setAttributes()
88 IsByVal = CS->paramHasAttr(AttrIdx, Attribute::ByVal); in setAttributes()
89 IsInAlloca = CS->paramHasAttr(AttrIdx, Attribute::InAlloca); in setAttributes()
90 IsReturned = CS->paramHasAttr(AttrIdx, Attribute::Returned); in setAttributes()
91 IsSwiftSelf = CS->paramHasAttr(AttrIdx, Attribute::SwiftSelf); in setAttributes()
[all …]
DTargetLowering.cpp100 unsigned AttrIdx) { in setAttributes() argument
101 isSExt = CS->paramHasAttr(AttrIdx, Attribute::SExt); in setAttributes()
102 isZExt = CS->paramHasAttr(AttrIdx, Attribute::ZExt); in setAttributes()
103 isInReg = CS->paramHasAttr(AttrIdx, Attribute::InReg); in setAttributes()
104 isSRet = CS->paramHasAttr(AttrIdx, Attribute::StructRet); in setAttributes()
105 isNest = CS->paramHasAttr(AttrIdx, Attribute::Nest); in setAttributes()
106 isByVal = CS->paramHasAttr(AttrIdx, Attribute::ByVal); in setAttributes()
107 isInAlloca = CS->paramHasAttr(AttrIdx, Attribute::InAlloca); in setAttributes()
108 isReturned = CS->paramHasAttr(AttrIdx, Attribute::Returned); in setAttributes()
109 isSwiftSelf = CS->paramHasAttr(AttrIdx, Attribute::SwiftSelf); in setAttributes()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp167 AttributeList &Attrs, int AttrIdx) { in addIfNotExistent() argument
171 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
172 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
174 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent()
179 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
180 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
182 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent()
187 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
188 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
190 Attrs = Attrs.removeAttribute(Ctx, AttrIdx, Kind); in addIfNotExistent()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp46 unsigned AttrIdx = 0; in HexagonEvaluator() local
51 AttrIdx++; in HexagonEvaluator()
70 if (Attrs.hasAttribute(AttrIdx, Attribute::SExt)) in HexagonEvaluator()
72 else if (Attrs.hasAttribute(AttrIdx, Attribute::ZExt)) in HexagonEvaluator()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp363 AttributeList &Attrs, int AttrIdx) { in addIfNotExistent() argument
367 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
368 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
370 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent()
375 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
376 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
378 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent()
383 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent()
384 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind))) in addIfNotExistent()
386 Attrs = Attrs.removeAttribute(Ctx, AttrIdx, Kind); in addIfNotExistent()
[all …]
/external/llvm/include/llvm/CodeGen/
DFastISel.h56 void setAttributes(ImmutableCallSite *CS, unsigned AttrIdx);
/external/llvm/include/llvm/Target/
DTargetLowering.h2481 void setAttributes(ImmutableCallSite *CS, unsigned AttrIdx);