Home
last modified time | relevance | path

Searched refs:AttributeList (Results 1 - 25 of 123) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DAttributes.h333 /// the AttributeList object. The function attributes are at index
334 /// `AttributeList::FunctionIndex', the return value is at index
335 /// `AttributeList::ReturnIndex', and the attributes for the parameters start at
336 /// index `AttributeList::FirstArgIndex'.
337 class AttributeList { class
357 /// Create an AttributeList with the specified parameters in it.
358 static AttributeList get(LLVMContext &C,
360 static AttributeList get(LLVMContext &C,
363 /// Create an AttributeList from attribute sets for a function, its
365 static AttributeList ge
370 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {} AttributeList() function in llvm::AttributeList
[all...]
H A DFunction.h77 AttributeList AttributeSets; ///< Parameter attributes
223 AttributeList getAttributes() const { return AttributeSets; } in getAttributes()
226 void setAttributes(AttributeList Attrs) { AttributeSets = Attrs; } in setAttributes()
230 addAttribute(AttributeList::FunctionIndex, Kind); in addFnAttr()
235 addAttribute(AttributeList::FunctionIndex, in addFnAttr()
241 addAttribute(AttributeList::FunctionIndex, Attr); in addFnAttr()
246 removeAttribute(AttributeList::FunctionIndex, Kind); in removeFnAttr()
252 getContext(), AttributeList::FunctionIndex, Kind)); in removeFnAttr()
334 return getAttribute(AttributeList::FunctionIndex, Kind); in getFnAttribute()
339 return getAttribute(AttributeList in getFnAttribute()
[all...]
H A DInstrTypes.h1110 AttributeList Attrs; ///< parameter attributes for callable
1114 CallBase(AttributeList const &A, FunctionType *FT, ArgsTy &&... Args) in CallBase()
1384 AttributeList getAttributes() const { return Attrs; } in getAttributes()
1388 void setAttributes(AttributeList A) { Attrs = A; } in setAttributes()
1402 AttributeList PAL = getAttributes(); in addAttribute()
1409 AttributeList PAL = getAttributes(); in addAttribute()
1417 AttributeList PAL = getAttributes(); in addParamAttr()
1425 AttributeList PAL = getAttributes();
1432 AttributeList PAL = getAttributes();
1439 AttributeList PA
[all...]
H A DModule.h346 AttributeList AttributeList);
358 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction()
363 AttributeList); in getOrInsertFunction()
370 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
376 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
357 getOrInsertFunction(StringRef Name, AttributeList AttributeList, Type *RetTy, ArgsTy... Args) getOrInsertFunction() argument
H A DGlobalVariable.h230 AttributeList getAttributesAsList(unsigned index) const { in getAttributesAsList()
232 return AttributeList(); in getAttributesAsList()
234 return AttributeList::get(getContext(), AS); in getAttributesAsList()
H A DIntrinsics.h30 class AttributeList;
74 AttributeList getAttributes(LLVMContext &C, ID id);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DAttributes.cpp11 // AttributeListImpl, and AttributeList classes.
895 /// Map from AttributeList index to the internal array index. Adding one happens
900 return Index == AttributeList::FunctionIndex ? 0 : Index + 1; in attrIdxToArrayIdx()
915 static_assert(attrIdxToArrayIdx(AttributeList::FunctionIndex) == 0U, in AttributeListImpl()
937 AttributeList(const_cast<AttributeListImpl *>(this)).dump(); in dump()
942 // AttributeList Construction and Mutation Methods
945 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
968 return AttributeList(PA); in getImpl()
971 AttributeList
[all...]
H A DStatepoint.cpp60 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs()
64 AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id"); in parseStatepointDirectivesFromAttrs()
71 Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex, in parseStatepointDirectivesFromAttrs()
H A DFunction.cpp119 AttributeList Attrs = getParent()->getAttributes(); in hasByValOrInAllocaAttr()
188 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory()
194 AttributeList AL = getParent()->getAttributes(); in addAttrs()
400 AttributeList PAL = getAttributes(); in addAttribute()
406 AttributeList PAL = getAttributes(); in addAttribute()
412 AttributeList PAL = getAttributes(); in addAttributes()
418 AttributeList PAL = getAttributes(); in addParamAttr()
424 AttributeList PAL = getAttributes(); in addParamAttr()
430 AttributeList PAL = getAttributes(); in addParamAttrs()
436 AttributeList PA in removeAttribute()
[all...]
H A DModule.cpp144 AttributeList AttributeList) { in getOrInsertFunction()
152 New->setAttributes(AttributeList); in getOrInsertFunction()
168 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
143 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttributeList AttributeList) getOrInsertFunction() argument
/third_party/skia/src/pdf/
H A DSkDocument_PDF_None.cpp20 SkPDF::AttributeList::AttributeList() = default;
22 SkPDF::AttributeList::~AttributeList() = default;
H A DSkPDFTag.cpp60 SkPDF::AttributeList::AttributeList() = default;
62 SkPDF::AttributeList::~AttributeList() = default;
64 void SkPDF::AttributeList::appendInt( in appendInt()
74 void SkPDF::AttributeList::appendFloat( in appendFloat()
84 void SkPDF::AttributeList::appendName( in appendName()
94 void SkPDF::AttributeList::appendString( in appendString()
104 void SkPDF::AttributeList::appendFloatArray( in appendFloatArray()
119 void SkPDF::AttributeList
[all...]
/third_party/skia/include/docs/
H A DSkPDFDocument.h27 class SK_API AttributeList : SkNoncopyable { class
29 AttributeList();
30 ~AttributeList();
66 AttributeList fAttributes;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h52 /// include the AttributeList index, so we have to track that in our map.
113 using AttributeListMapType = DenseMap<AttributeList, unsigned>;
115 std::vector<AttributeList> AttributeLists;
176 unsigned getAttributeListID(AttributeList PAL) const { in getAttributeListID()
219 const std::vector<AttributeList> &getAttributeLists() const { return AttributeLists; } in getAttributeLists()
295 void EnumerateAttributes(AttributeList PAL);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h155 const AttributeList &Attrs);
162 const AttributeList &Attrs);
169 IRBuilder<> &B, const AttributeList &Attrs);
176 IRBuilder<> &B, const AttributeList &Attrs);
214 Value *emitCalloc(Value *Num, Value *Size, const AttributeList &Attrs,
H A DFunctionComparator.h333 int cmpAttrs(const AttributeList L, const AttributeList R) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp251 AttributeList TransformFunctionAttributes( in TransformFunctionAttributes()
253 LLVMContext& Ctx, AttributeList CallSiteAttrs) { in TransformFunctionAttributes()
274 return AttributeList::get( in TransformFunctionAttributes()
658 AttributeList::ReturnIndex, in buildWrapperFunction()
663 NewF->removeAttributes(AttributeList::FunctionIndex, in buildWrapperFunction()
736 AttributeList AL; in runOnModule()
737 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in runOnModule()
739 AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex, in runOnModule()
741 AL = AL.addAttribute(M.getContext(), AttributeList::ReturnIndex, in runOnModule()
750 AttributeList A in runOnModule()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp402 AttributeList A; in fixupFPReturnAndCall()
411 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
413 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
415 A = A.addAttribute(C, AttributeList::FunctionIndex, in fixupFPReturnAndCall()
488 F.removeAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
492 F.addAttributes(AttributeList::FunctionIndex, B); in removeUseSoftFloat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp88 KernArgSegment->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in runOnFunction()
89 KernArgSegment->addAttribute(AttributeList::ReturnIndex, in runOnFunction()
223 AttributeList::ReturnIndex, in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp76 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NoAlias)) in setRetDoesNotAlias()
78 F.addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in setRetDoesNotAlias()
110 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NonNull)) in setRetNonNull()
112 F.addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in setRetNonNull()
912 AttributeList AS; in emitMemCpyChk()
913 AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex, in emitMemCpyChk()
917 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
1044 const AttributeList &Attrs) { in emitUnaryFloatFnCallHelper()
1056 AttributeList in emitUnaryFloatFnCallHelper()
[all...]
H A DCallPromotionUtils.cpp398 const AttributeList &CallerPAL = CS.getAttributes(); in promoteCall()
433 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall()
442 CS.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttributes(), in promoteCall()
H A DEntryExitInstrumenter.cpp89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction()
116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
H A DModuleUtils.cpp117 AttributeList()); in declareSanitizerInitFunction()
138 AttributeList()); in createSanitizerCtorAndInitFunctions()
180 cast<Function>(M.getOrInsertFunction(Name, AttributeList(), in getOrCreateInitFunction()
309 AttributeList::FunctionIndex, in setVectorVariantNames()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CS.getAttributes(); in DeleteDeadVarargs()
192 PAL = AttributeList::get(Fn.getContext(), PAL.getFnAttributes(), in DeleteDeadVarargs()
745 const AttributeList &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
855 AttributeList NewPAL = in RemoveDeadStuffFromFunction()
856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
883 const AttributeList &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
931 AttributeList NewCallPAL = AttributeList::get( in RemoveDeadStuffFromFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp93 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()
94 if (Attrs.hasAttribute(AttributeList::FunctionIndex, Attribute::ReturnsTwice)) in IsCallReturnTwice()

Completed in 32 milliseconds

12345