/external/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/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 | 203 AttrListPtr AttributeList = AttrListPtr::get((AttributeWithIndex *)0, 0); in getOrInsertFunction() 246 AttrListPtr::get((AttributeWithIndex *)0, 0)); in getOrInsertFunction()
|
D | Verifier.cpp | 566 const AttributeWithIndex &Attr = Attrs.getSlot(i); in VerifyFunctionAttrs()
|
/external/llvm/include/llvm/ |
D | Attributes.h | 165 struct AttributeWithIndex { struct 171 static AttributeWithIndex get(unsigned Idx, Attributes Attrs) { in get() argument 172 AttributeWithIndex P; in get() 202 static AttrListPtr get(const AttributeWithIndex *Attr, unsigned NumAttrs); 294 const AttributeWithIndex &getSlot(unsigned Slot) const;
|
/external/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 | 517 SmallVector<AttributeWithIndex, 8> AttributesVec; in DoPromotion() 522 AttributesVec.push_back(AttributeWithIndex::get(0, attrs)); in DoPromotion() 539 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() 726 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs)); in DoPromotion() 731 AttributesVec.push_back(AttributeWithIndex::get(~0, attrs)); in DoPromotion()
|
/external/clang/lib/CodeGen/ |
D | CGCall.h | 29 struct AttributeWithIndex; 45 typedef llvm::SmallVector<llvm::AttributeWithIndex, 8> AttributeListType;
|
D | CGCall.cpp | 757 PAL.push_back(llvm::AttributeWithIndex::get(Index, in ConstructAttributeList() 770 PAL.push_back(llvm::AttributeWithIndex::get(0, RetAttrs)); in ConstructAttributeList() 838 PAL.push_back(llvm::AttributeWithIndex::get(Index, Attributes)); in ConstructAttributeList() 842 PAL.push_back(llvm::AttributeWithIndex::get(~0, FuncAttrs)); in ConstructAttributeList()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1048 SmallVector<AttributeWithIndex, 8> attrVec; in transformConstExprCastCall() 1060 attrVec.push_back(AttributeWithIndex::get(0, RAttrs)); in transformConstExprCastCall() 1075 attrVec.push_back(AttributeWithIndex::get(i + 1, PAttrs)); in transformConstExprCastCall() 1103 attrVec.push_back(AttributeWithIndex::get(i + 1, PAttrs)); in transformConstExprCastCall() 1109 attrVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in transformConstExprCastCall() 1207 SmallVector<AttributeWithIndex, 8> NewAttrs; in transformCallThroughTrampoline() 1215 NewAttrs.push_back(AttributeWithIndex::get(0, Attr)); in transformCallThroughTrampoline() 1227 NewAttrs.push_back(AttributeWithIndex::get(NestIdx, NestAttr)); in transformCallThroughTrampoline() 1237 (AttributeWithIndex::get(Idx + (Idx >= NestIdx), Attr)); in transformCallThroughTrampoline() 1245 NewAttrs.push_back(AttributeWithIndex::get(~0, Attr)); in transformCallThroughTrampoline()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2655 SmallVector<AttributeWithIndex, 8> Attrs; in ParseFunctionHeader() 2658 Attrs.push_back(AttributeWithIndex::get(0, RetAttrs)); in ParseFunctionHeader() 2663 Attrs.push_back(AttributeWithIndex::get(i+1, ArgList[i].Attrs)); in ParseFunctionHeader() 2667 Attrs.push_back(AttributeWithIndex::get(~0, FuncAttrs)); in ParseFunctionHeader() 3186 SmallVector<AttributeWithIndex, 8> Attrs; in ParseInvoke() 3188 Attrs.push_back(AttributeWithIndex::get(0, RetAttrs)); in ParseInvoke() 3209 Attrs.push_back(AttributeWithIndex::get(i+1, ArgList[i].Attrs)); in ParseInvoke() 3216 Attrs.push_back(AttributeWithIndex::get(~0, FnAttrs)); in ParseInvoke() 3522 SmallVector<AttributeWithIndex, 8> Attrs; in ParseCall() 3524 Attrs.push_back(AttributeWithIndex::get(0, RetAttrs)); in ParseCall() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 390 SmallVector<AttributeWithIndex, 8> Attrs; in ParseAttributeBlock() 467 Attrs.push_back(AttributeWithIndex::get(0, RetAttribute)); in ParseAttributeBlock() 470 Attrs.push_back(AttributeWithIndex::get(~0U, FnAttribute)); in ParseAttributeBlock() 472 Attrs.push_back(AttributeWithIndex::get(Record[i], Record[i+1])); in ParseAttributeBlock()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 131 const AttributeWithIndex &PAWI = A.getSlot(i); in WriteAttributeTable()
|