Searched refs:AttributesVec (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 236 SmallVector<AttributeWithIndex, 8> AttributesVec; in DeleteDeadVarargs() local 238 AttributesVec.push_back(PAL.getSlot(i)); in DeleteDeadVarargs() 240 AttributesVec.push_back(AttributeWithIndex::get(~0, FnAttrs)); in DeleteDeadVarargs() 241 PAL = AttrListPtr::get(AttributesVec.begin(), AttributesVec.end()); in DeleteDeadVarargs() 653 SmallVector<AttributeWithIndex, 8> AttributesVec; in RemoveDeadStuffFromFunction() local 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() 756 AttrListPtr NewPAL = AttrListPtr::get(AttributesVec.begin(), in RemoveDeadStuffFromFunction() 757 AttributesVec.end()); in RemoveDeadStuffFromFunction() [all …]
|
D | ArgumentPromotion.cpp | 519 SmallVector<AttributeWithIndex, 8> AttributesVec; in DoPromotion() local 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() 619 NF->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion() 620 AttributesVec.end())); in DoPromotion() 621 AttributesVec.clear(); 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() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 171 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs() local 173 AttributesVec.push_back(PAL.getSlotAttributes(i)); in DeleteDeadVarargs() 175 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs() 177 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs() 684 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction() local 706 AttributesVec. in RemoveDeadStuffFromFunction() 798 AttributesVec.push_back(AttributeSet::get(NRetTy->getContext(), RAttrs)); in RemoveDeadStuffFromFunction() 801 AttributesVec.push_back(AttributeSet::get(F->getContext(), in RemoveDeadStuffFromFunction() 805 AttributeSet NewPAL = AttributeSet::get(F->getContext(), AttributesVec); in RemoveDeadStuffFromFunction() 832 AttributesVec.clear(); in RemoveDeadStuffFromFunction() [all …]
|
D | ArgumentPromotion.cpp | 663 SmallVector<AttributeSet, 8> AttributesVec; in DoPromotion() local 668 AttributesVec.push_back(AttributeSet::get(F->getContext(), in DoPromotion() 687 AttributesVec. in DoPromotion() 746 AttributesVec.push_back(AttributeSet::get(FTy->getContext(), in DoPromotion() 767 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); in DoPromotion() 768 AttributesVec.clear(); in DoPromotion() 788 AttributesVec.push_back(AttributeSet::get(F->getContext(), in DoPromotion() 802 AttributesVec. in DoPromotion() 864 AttributesVec. in DoPromotion() 871 AttributesVec.push_back(AttributeSet::get(Call->getContext(), in DoPromotion() [all …]
|