Searched refs:AttributeWithIndex (Results 1 - 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DBuildLibCalls.cpp35 AttributeWithIndex AWI[2];
36 AWI[0] = AttributeWithIndex::get(1, Attribute::NoCapture);
37 AWI[1] = AttributeWithIndex::get(~0u, Attribute::ReadOnly |
58 AttributeWithIndex AWI =
59 AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind);
76 AttributeWithIndex AWI[3];
77 AWI[0] = AttributeWithIndex::get(1, Attribute::NoCapture);
78 AWI[1] = AttributeWithIndex::get(2, Attribute::NoCapture);
79 AWI[2] = AttributeWithIndex::get(~0u, Attribute::ReadOnly |
102 AttributeWithIndex AW
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DAttributes.cpp130 SmallVector<AttributeWithIndex, 4> Attrs;
132 AttributeListImpl(const AttributeWithIndex *Attr, unsigned NumAttrs)
153 static void Profile(FoldingSetNodeID &ID, const AttributeWithIndex *Attr,
167 AttrListPtr AttrListPtr::get(const AttributeWithIndex *Attrs, unsigned NumAttrs) {
235 /// getSlot - Return the AttributeWithIndex at the specified slot. This
237 const AttributeWithIndex &AttrListPtr::getSlot(unsigned Slot) const {
249 const SmallVector<AttributeWithIndex, 4> &Attrs = AttrList->Attrs;
261 const SmallVector<AttributeWithIndex, 4> &Attrs = AttrList->Attrs;
284 SmallVector<AttributeWithIndex, 8> NewAttrList;
286 NewAttrList.push_back(AttributeWithIndex
[all...]
H A DModule.cpp191 AttrListPtr AttributeList = AttrListPtr::get((AttributeWithIndex *)0, 0);
234 AttrListPtr::get((AttributeWithIndex *)0, 0));
H A DVerifier.cpp581 const AttributeWithIndex &Attr = Attrs.getSlot(i);
/external/swiftshader/third_party/LLVM/include/llvm/
H A DAttributes.h164 struct AttributeWithIndex { struct in namespace:llvm
170 static AttributeWithIndex get(unsigned Idx, Attributes Attrs) {
171 AttributeWithIndex P;
201 static AttrListPtr get(const AttributeWithIndex *Attr, unsigned NumAttrs);
291 /// getSlot - Return the AttributeWithIndex at the specified slot. This
293 const AttributeWithIndex &getSlot(unsigned Slot) const;
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp236 SmallVector<AttributeWithIndex, 8> AttributesVec;
240 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs));
653 SmallVector<AttributeWithIndex, 8> AttributesVec;
726 AttributesVec.push_back(AttributeWithIndex::get(0, RAttrs));
744 AttributesVec.push_back(AttributeWithIndex::get(Params.size(), Attrs));
753 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs));
792 AttributesVec.push_back(AttributeWithIndex::get(0, RAttrs));
805 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
812 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
816 AttributesVec.push_back(AttributeWithIndex
[all...]
H A DArgumentPromotion.cpp519 SmallVector<AttributeWithIndex, 8> AttributesVec;
524 AttributesVec.push_back(AttributeWithIndex::get(0, attrs));
541 AttributesVec.push_back(AttributeWithIndex::get(Params.size(), attrs));
594 AttributesVec.push_back(AttributeWithIndex::get(~0, attrs));
649 AttributesVec.push_back(AttributeWithIndex::get(0, attrs));
661 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
725 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
730 AttributesVec.push_back(AttributeWithIndex::get(~0, attrs));
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1122 SmallVector<AttributeWithIndex, 8> attrVec;
1134 attrVec.push_back(AttributeWithIndex::get(0, RAttrs));
1149 attrVec.push_back(AttributeWithIndex::get(i + 1, PAttrs));
1177 attrVec.push_back(AttributeWithIndex::get(i + 1, PAttrs));
1183 attrVec.push_back(AttributeWithIndex::get(~0, FnAttrs));
1284 SmallVector<AttributeWithIndex, 8> NewAttrs;
1292 NewAttrs.push_back(AttributeWithIndex::get(0, Attr));
1304 NewAttrs.push_back(AttributeWithIndex::get(NestIdx, NestAttr));
1314 (AttributeWithIndex::get(Idx + (Idx >= NestIdx), Attr));
1322 NewAttrs.push_back(AttributeWithIndex
[all...]
/external/swiftshader/third_party/LLVM/lib/AsmParser/
H A DLLParser.cpp2679 SmallVector<AttributeWithIndex, 8> Attrs;
2682 Attrs.push_back(AttributeWithIndex::get(0, RetAttrs));
2687 Attrs.push_back(AttributeWithIndex::get(i+1, ArgList[i].Attrs));
2691 Attrs.push_back(AttributeWithIndex::get(~0, FuncAttrs));
3216 SmallVector<AttributeWithIndex, 8> Attrs;
3218 Attrs.push_back(AttributeWithIndex::get(0, RetAttrs));
3239 Attrs.push_back(AttributeWithIndex::get(i+1, ArgList[i].Attrs));
3246 Attrs.push_back(AttributeWithIndex::get(~0, FnAttrs));
3612 SmallVector<AttributeWithIndex, 8> Attrs;
3614 Attrs.push_back(AttributeWithIndex
[all...]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
H A DBitcodeReader.cpp428 SmallVector<AttributeWithIndex, 8> Attrs;
505 Attrs.push_back(AttributeWithIndex::get(0, RetAttribute));
508 Attrs.push_back(AttributeWithIndex::get(~0U, FnAttribute));
510 Attrs.push_back(AttributeWithIndex::get(Record[i], Record[i+1]));
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp168 const AttributeWithIndex &PAWI = A.getSlot(i);
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVReader.cpp107 typedef std::pair < unsigned, AttributeSet > AttributeWithIndex; typedef in namespace:SPIRV

Completed in 276 milliseconds