/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 35 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/ |
D | Attributes.cpp | 130 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 …]
|
D | Module.cpp | 191 AttrListPtr AttributeList = AttrListPtr::get((AttributeWithIndex *)0, 0); in getOrInsertFunction() 234 AttrListPtr::get((AttributeWithIndex *)0, 0)); in getOrInsertFunction()
|
D | Verifier.cpp | 581 const AttributeWithIndex &Attr = Attrs.getSlot(i); in VerifyFunctionAttrs()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Attributes.h | 164 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;
|
D | Intrinsics.gen | 7637 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/ |
D | DeadArgumentElimination.cpp | 236 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()
|
D | ArgumentPromotion.cpp | 519 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/ |
D | InstCombineCalls.cpp | 1122 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/ |
D | LLParser.cpp | 2679 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/ |
D | BitcodeReader.cpp | 428 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/ |
D | BitcodeWriter.cpp | 168 const AttributeWithIndex &PAWI = A.getSlot(i); in WriteAttributeTable()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVReader.cpp | 107 typedef std::pair < unsigned, AttributeSet > AttributeWithIndex; typedef
|