Home
last modified time | relevance | path

Searched refs:AttributeList (Results 1 – 25 of 129) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h337 class AttributeList {
358 static AttributeList get(LLVMContext &C,
360 static AttributeList get(LLVMContext &C,
365 static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
370 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
372 static AttributeList getImpl(LLVMContext &C, ArrayRef<AttributeSet> AttrSets);
375 AttributeList() = default;
382 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
383 static AttributeList get(LLVMContext &C, unsigned Index,
385 static AttributeList get(LLVMContext &C, unsigned Index,
[all …]
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,
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::FunctionIndex, Kind); in getFnAttribute()
[all …]
DInstrTypes.h1110 AttributeList Attrs; ///< parameter attributes for callable
1114 CallBase(AttributeList const &A, FunctionType *FT, ArgsTy &&... Args)
1384 AttributeList getAttributes() const { return Attrs; }
1388 void setAttributes(AttributeList A) { Attrs = A; }
1402 AttributeList PAL = getAttributes();
1409 AttributeList PAL = getAttributes();
1417 AttributeList PAL = getAttributes();
1425 AttributeList PAL = getAttributes();
1432 AttributeList PAL = getAttributes();
1439 AttributeList PAL = getAttributes();
[all …]
DModule.h346 AttributeList AttributeList);
358 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction() argument
363 AttributeList); in getOrInsertFunction()
370 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
376 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
DGlobalVariable.h230 AttributeList getAttributesAsList(unsigned index) const { in getAttributesAsList()
232 return AttributeList(); in getAttributesAsList()
234 return AttributeList::get(getContext(), AS); in getAttributesAsList()
DIntrinsics.h30 class AttributeList; variable
74 AttributeList getAttributes(LLVMContext &C, ID id);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp900 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()
945 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
968 return AttributeList(PA); in getImpl()
971 AttributeList
972 AttributeList::get(LLVMContext &C, in get()
1007 AttributeList
1008 AttributeList::get(LLVMContext &C, in get()
1039 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
[all …]
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()
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 PAL = getAttributes(); in removeAttribute()
[all …]
DModule.cpp144 AttributeList AttributeList) { in getOrInsertFunction() argument
152 New->setAttributes(AttributeList); in getOrInsertFunction()
168 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
/third_party/skia/src/pdf/
DSkDocument_PDF_None.cpp20 SkPDF::AttributeList::AttributeList() = default;
22 SkPDF::AttributeList::~AttributeList() = default;
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::appendStringArray( in appendStringArray()
136 void SkPDF::AttributeList::appendNodeIdArray( in appendNodeIdArray()
/third_party/skia/include/docs/
DSkPDFDocument.h27 class SK_API AttributeList : SkNoncopyable {
29 AttributeList();
30 ~AttributeList();
66 AttributeList fAttributes;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h113 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/
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,
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/Target/Mips/
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/Transforms/Instrumentation/
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 AL; in runOnModule()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86IndirectBranchTracking.cpp93 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()
94 if (Attrs.hasAttribute(AttributeList::FunctionIndex, Attribute::ReturnsTwice)) in IsCallReturnTwice()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
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/
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::FunctionIndex, in emitUnaryFloatFnCallHelper()
1066 const AttributeList &Attrs) { in emitUnaryFloatFnCall()
[all …]
DModuleUtils.cpp117 AttributeList()); in declareSanitizerInitFunction()
138 AttributeList()); in createSanitizerCtorAndInitFunctions()
180 cast<Function>(M.getOrInsertFunction(Name, AttributeList(), in getOrCreateInitFunction()
309 AttributeList::FunctionIndex, in setVectorVariantNames()
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()
DEntryExitInstrumenter.cpp89 F.removeAttribute(AttributeList::FunctionIndex, EntryAttr); in runOnFunction()
116 F.removeAttribute(AttributeList::FunctionIndex, ExitAttr); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
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()

123456