Home
last modified time | relevance | path

Searched refs:AttrListPtr (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/lib/VMCore/
DAttributes.cpp167 AttrListPtr AttrListPtr::get(const AttributeWithIndex *Attrs, unsigned NumAttrs) { in get()
170 return AttrListPtr(); in get()
199 return AttrListPtr(PAL); in get()
207 AttrListPtr::AttrListPtr(AttributeListImpl *LI) : AttrList(LI) { in AttrListPtr() function in AttrListPtr
211 AttrListPtr::AttrListPtr(const AttrListPtr &P) : AttrList(P.AttrList) { in AttrListPtr() function in AttrListPtr
215 const AttrListPtr &AttrListPtr::operator=(const AttrListPtr &RHS) { in operator =()
224 AttrListPtr::~AttrListPtr() { in ~AttrListPtr()
231 unsigned AttrListPtr::getNumSlots() const { in getNumSlots()
237 const AttributeWithIndex &AttrListPtr::getSlot(unsigned Slot) const { in getSlot()
246 Attributes AttrListPtr::getAttributes(unsigned Idx) const { in getAttributes()
[all …]
DModule.cpp153 AttrListPtr AttributeList) { in getOrInsertFunction()
186 AttrListPtr AttributeList) { in getOrInsertTargetIntrinsic()
203 AttrListPtr AttributeList = AttrListPtr::get((AttributeWithIndex *)0, 0); in getOrInsertFunction()
213 AttrListPtr AttributeList, in getOrInsertFunction()
246 AttrListPtr::get((AttributeWithIndex *)0, 0)); in getOrInsertFunction()
DFunction.cpp244 AttrListPtr PAL = getAttributes(); in addAttribute()
250 AttrListPtr PAL = getAttributes(); in removeAttribute()
DVerifier.cpp292 void VerifyFunctionAttrs(FunctionType *FT, const AttrListPtr &Attrs,
558 const AttrListPtr &Attrs, in VerifyFunctionAttrs()
600 static bool VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) { in VerifyAttributeCount()
636 const AttrListPtr &Attrs = F.getAttributes(); in visitFunction()
1113 const AttrListPtr &Attrs = CS.getAttributes(); in VerifyCallSite()
DCore.cpp1268 const AttrListPtr PAL = Func->getAttributes(); in LLVMAddFunctionAttr()
1269 const AttrListPtr PALnew = PAL.addAttr(~0U, PA); in LLVMAddFunctionAttr()
1275 const AttrListPtr PAL = Func->getAttributes(); in LLVMRemoveFunctionAttr()
1276 const AttrListPtr PALnew = PAL.removeAttr(~0U, PA); in LLVMRemoveFunctionAttr()
1282 const AttrListPtr PAL = Func->getAttributes(); in LLVMGetFunctionAttr()
/external/llvm/include/llvm/
DAttributes.h187 class AttrListPtr {
192 AttrListPtr() : AttrList(0) {} in AttrListPtr() function
193 AttrListPtr(const AttrListPtr &P);
194 const AttrListPtr &operator=(const AttrListPtr &RHS);
195 ~AttrListPtr();
202 static AttrListPtr get(const AttributeWithIndex *Attr, unsigned NumAttrs);
207 static AttrListPtr get(const Iter &I, const Iter &E) { in get()
208 if (I == E) return AttrListPtr(); // Empty list. in get()
215 AttrListPtr addAttr(unsigned Idx, Attributes Attrs) const;
220 AttrListPtr removeAttr(unsigned Idx, Attributes Attrs) const;
[all …]
DIntrinsics.h29 class AttrListPtr; variable
61 AttrListPtr getAttributes(ID id);
DFunction.h88 AttrListPtr AttributeList; ///< Parameter attributes
165 const AttrListPtr &getAttributes() const { return AttributeList; }
169 void setAttributes(const AttrListPtr &attrs) { AttributeList = attrs; }
DModule.h276 AttrListPtr AttributeList);
288 AttrListPtr AttributeList,
297 AttrListPtr AttributeList);
DInstructions.h843 AttrListPtr AttributeList; ///< parameter attributes for call
941 const AttrListPtr &getAttributes() const { return AttributeList; }
945 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
2233 AttrListPtr AttributeList;
2294 const AttrListPtr &getAttributes() const { return AttributeList; }
2298 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h32 class AttrListPtr; variable
56 std::vector<AttrListPtr> Attributes;
97 unsigned getAttributeID(const AttrListPtr &PAL) const { in getAttributeID()
120 const std::vector<AttrListPtr> &getAttributes() const { in getAttributes()
145 void EnumerateAttributes(const AttrListPtr &PAL);
DValueEnumerator.cpp386 void ValueEnumerator::EnumerateAttributes(const AttrListPtr &PAL) { in EnumerateAttributes()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp41 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2), in EmitStrLen()
63 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(&AWI, 1), in EmitStrChr()
83 Value *StrNCmp = M->getOrInsertFunction("strncmp", AttrListPtr::get(AWI, 3), in EmitStrNCmp()
106 Value *StrCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), in EmitStrCpy()
124 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), in EmitStrNCpy()
144 AttrListPtr::get(&AWI, 1), in EmitMemCpyChk()
166 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), in EmitMemChr()
191 Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3), in EmitMemCmp()
210 IRBuilder<> &B, const AttrListPtr &Attrs) { in EmitUnaryFloatFnCall()
262 Value *PutS = M->getOrInsertFunction("puts", AttrListPtr::get(AWI, 2), in EmitPutS()
[all …]
/external/llvm/unittests/VMCore/
DPassManagerTest.cpp429 AttrListPtr func_test1_PAL; in makeLLVMModule()
437 AttrListPtr func_test2_PAL; in makeLLVMModule()
445 AttrListPtr func_test3_PAL; in makeLLVMModule()
453 AttrListPtr func_test4_PAL; in makeLLVMModule()
473 int32_3->setTailCall(false);AttrListPtr int32_3_PAL; in makeLLVMModule()
488 int32_6->setTailCall(false);AttrListPtr int32_6_PAL; in makeLLVMModule()
503 int32_9->setTailCall(false);AttrListPtr int32_9_PAL; in makeLLVMModule()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h145 std::vector<AttrListPtr> MAttributes;
224 AttrListPtr getAttributes(unsigned i) const { in getAttributes()
227 return AttrListPtr(); in getAttributes()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp234 AttrListPtr PAL = CS.getAttributes(); in DeleteDeadVarargs()
241 PAL = AttrListPtr::get(AttributesVec.begin(), AttributesVec.end()); in DeleteDeadVarargs()
654 const AttrListPtr &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
756 AttrListPtr NewPAL = AttrListPtr::get(AttributesVec.begin(), in RemoveDeadStuffFromFunction()
784 const AttrListPtr &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
819 AttrListPtr NewCallPAL = AttrListPtr::get(AttributesVec.begin(), in RemoveDeadStuffFromFunction()
DPruneEH.cpp148 const AttrListPtr &PAL = F->getAttributes(); in runOnSCC()
149 const AttrListPtr &NPAL = PAL.addAttr(~0, NewAttributes); in runOnSCC()
DArgumentPromotion.cpp518 const AttrListPtr &PAL = F->getAttributes(); in DoPromotion()
619 NF->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion()
645 const AttrListPtr &CallPAL = CS.getAttributes(); in DoPromotion()
738 cast<InvokeInst>(New)->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion()
743 cast<CallInst>(New)->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion()
/external/llvm/include/llvm/Support/
DCallSite.h180 const AttrListPtr &getAttributes() const { in getAttributes()
183 void setAttributes(const AttrListPtr &PAL) { in setAttributes()
/external/llvm/lib/Target/Blackfin/
DBlackfinIntrinsicInfo.cpp100 AttrListPtr AList = getAttributes((bfinIntrinsic::ID) IntrID); in getDeclaration()
/external/llvm/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.cpp109 AttrListPtr AList = getAttributes((mblazeIntrinsic::ID) IntrID); in getDeclaration()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h72 const AttrListPtr &Attrs);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp930 const AttrListPtr &CallerPAL = CS.getAttributes(); in transformConstExprCastCall()
1114 const AttrListPtr &NewCallerPAL = AttrListPtr::get(attrVec.begin(), in transformConstExprCastCall()
1172 const AttrListPtr &Attrs = CS.getAttributes(); in transformCallThroughTrampoline()
1186 const AttrListPtr &NestAttrs = NestF->getAttributes(); in transformCallThroughTrampoline()
1284 const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(), in transformCallThroughTrampoline()
/external/llvm/lib/Transforms/Scalar/
DObjCARC.cpp1506 AttrListPtr Attributes; in getRetainRVCallee()
1523 AttrListPtr Attributes; in getAutoreleaseRVCallee()
1537 AttrListPtr Attributes; in getReleaseCallee()
1553 AttrListPtr Attributes; in getRetainCallee()
1569 AttrListPtr Attributes; in getAutoreleaseCallee()
3278 AttrListPtr Attributes; in getStoreStrongCallee()
3299 AttrListPtr Attributes; in getRetainAutoreleaseCallee()
3315 AttrListPtr Attributes; in getRetainAutoreleaseRVCallee()
/external/llvm/lib/Target/CBackend/
DCBackend.cpp169 const AttrListPtr &PAL = AttrListPtr());
175 const AttrListPtr &PAL,
385 const AttrListPtr &PAL, in printStructReturnPointerFunctionType()
476 bool IgnoreName, const AttrListPtr &PAL) { in printType()
2135 const AttrListPtr &PAL = F->getAttributes(); in printFunctionSignature()
2927 const AttrListPtr &PAL = I.getAttributes(); in visitCallInst()

12