Home
last modified time | relevance | path

Searched refs:AttrBuilder (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h31 class AttrBuilder; variable
206 friend class AttrBuilder;
244 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
288 const AttrBuilder &Attrs) const;
440 class AttrBuilder {
450 AttrBuilder()
453 AttrBuilder(const Attribute &A)
458 AttrBuilder(AttributeSet AS, unsigned Idx);
463 AttrBuilder &addAttribute(Attribute::AttrKind Val);
466 AttrBuilder &addAttribute(Attribute A);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h36 class AttrBuilder; variable
234 static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
268 removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
346 friend class AttrBuilder;
388 const AttrBuilder &B);
409 const AttrBuilder &B) const;
436 const AttrBuilder &B) const {
453 LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
478 LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
706 class AttrBuilder {
[all …]
DAutoUpgrade.h19 class AttrBuilder; variable
97 void UpgradeFramePointerAttributes(AttrBuilder &B);
DFunction.h368 void addAttributes(unsigned i, const AttrBuilder &Attrs);
377 void addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
386 void removeAttributes(unsigned i, const AttrBuilder &Attrs);
395 void removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
DArgument.h120 void addAttrs(AttrBuilder &B);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp589 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
600 AttrBuilder B; in addAttribute()
607 AttrBuilder B; in addAttribute()
620 AttrBuilder B(AS); in addAttributes()
630 AttrBuilder B(*this); in removeAttribute()
638 AttrBuilder B(*this); in removeAttribute()
644 const AttrBuilder &Attrs) const { in removeAttributes()
645 AttrBuilder B(*this); in removeAttributes()
768 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, const AttrBuilder &B) { in get()
1081 const AttrBuilder &B) { in get()
[all …]
DFunction.cpp193 void Argument::addAttrs(AttrBuilder &B) { in addAttrs()
411 void Function::addAttributes(unsigned i, const AttrBuilder &Attrs) { in addAttributes()
429 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in addParamAttrs()
447 void Function::removeAttributes(unsigned i, const AttrBuilder &Attrs) { in removeAttributes()
465 void Function::removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in removeParamAttrs()
DAttributeImpl.h195 static AttributeSetNode *get(LLVMContext &C, const AttrBuilder &B);
DVerifier.cpp1657 AttrBuilder IncompatibleAttrs = AttributeFuncs::typeIncompatible(Ty); in verifyParameterAttrs()
1658 Assert(!AttrBuilder(Attrs).overlaps(IncompatibleAttrs), in verifyParameterAttrs()
3064 static AttrBuilder getParameterABIAttributes(int I, AttributeList Attrs) { in getParameterABIAttributes()
3069 AttrBuilder Copy; in getParameterABIAttributes()
3112 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()
3113 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h143 std::map<unsigned, AttrBuilder> NumberedAttrBuilders;
265 bool ParseStringAttribute(AttrBuilder &B);
275 bool ParseOptionalParamAttrs(AttrBuilder &B);
276 bool ParseOptionalReturnAttrs(AttrBuilder &B);
339 bool ParseFnAttributeValuePairs(AttrBuilder &B,
DLLParser.cpp128 AttrBuilder B; in ValidateEndOfModule()
135 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule()
152 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule()
160 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule()
168 AttrBuilder FnAttrs(AS.getFnAttributes()); in ValidateEndOfModule()
175 AttrBuilder Attrs(GV->getAttributes()); in ValidateEndOfModule()
1142 AttrBuilder Attrs; in ParseGlobal()
1185 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, in ParseFnAttributeValuePairs()
1580 bool LLParser::ParseStringAttribute(AttrBuilder &B) { in ParseStringAttribute()
1591 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) { in ParseOptionalParamAttrs()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp413 AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo)); in promoteCall()
433 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp835 AttrBuilder RAttrs(PAL.getRetAttributes()); in RemoveDeadStuffFromFunction()
887 AttrBuilder RAttrs(CallPAL.getRetAttributes()); in RemoveDeadStuffFromFunction()
910 AttrBuilder(Attrs).removeAttribute(Attribute::Returned))); in RemoveDeadStuffFromFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RetpolineThunks.cpp208 AttrBuilder B; in createThunkFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp566 AttrBuilder CallerAttrs(F->getAttributes(), AttributeList::ReturnIndex); in attributesPermitTailCall()
567 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in attributesPermitTailCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURewriteOutArguments.cpp374 AttrBuilder RetAttrs; in runOnFunction()
DAMDGPULibCalls.cpp1724 AttrBuilder B; in setFastFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16HardFloat.cpp485 AttrBuilder B; in removeUseSoftFloat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp416 AttrBuilder FnAttrs(InvokeAL.getFnAttributes()); in wrapInvoke()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCommandFlags.inc386 AttrBuilder NewAttrs;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp358 AttrBuilder ReadOnlyNoneAttrs;
664 AttrBuilder().addAttribute("split-stack")); in buildWrapperFunction()
DMemorySanitizer.cpp3323 AttrBuilder B; in visitCallSite()
4653 AttrBuilder B; in sanitizeFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1246 AttrBuilder FnAttrs = AL.getFnAttributes(); in legalizeCallAttributes()
2386 AttrBuilder R; in RemoveNonValidAttrAtIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4587 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
4632 if (AttrBuilder(CallerPAL.getParamAttributes(i)) in transformConstExprCastCall()
4694 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
4712 AttrBuilder AB(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1307 static void addRawAttributeValue(AttrBuilder &B, uint64_t Val) { in addRawAttributeValue()
1333 static void decodeLLVMAttributesForBitcode(AttrBuilder &B, in decodeLLVMAttributesForBitcode()
1392 AttrBuilder B; in parseAttributeBlock()
1606 AttrBuilder B; in parseAttributeGroupBlock()

12