Home
last modified time | relevance | path

Searched refs:AttributeWithIndex (Results 1 – 13 of 13) sorted by relevance

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