Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DAttributes.h32 class AttrBuilder; variable
211 friend class AttrBuilder;
248 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
292 const AttrBuilder &Attrs) const;
443 class AttrBuilder {
453 AttrBuilder()
456 explicit AttrBuilder(uint64_t Val)
461 AttrBuilder(const Attribute &A)
466 AttrBuilder(AttributeSet AS, unsigned Idx);
471 AttrBuilder &addAttribute(Attribute::AttrKind Val);
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h32 class AttrBuilder; variable
211 friend class AttrBuilder;
249 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
293 const AttrBuilder &Attrs) const;
445 class AttrBuilder {
455 AttrBuilder()
458 AttrBuilder(const Attribute &A)
463 AttrBuilder(AttributeSet AS, unsigned Idx);
468 AttrBuilder &addAttribute(Attribute::AttrKind Val);
471 AttrBuilder &addAttribute(Attribute A);
[all …]
/external/llvm/lib/IR/
DAttributes.cpp759 const AttrBuilder &B) { in get()
859 llvm::AttrBuilder B; in addAttribute()
877 AttrBuilder B(getSlotAttributes(I), *IdxI); in addAttribute()
924 AttrBuilder B(AS, Index); in addAttributes()
981 AttrBuilder B(AS, Index); in removeAttributes()
999 const AttrBuilder &Attrs) const { in removeAttributes()
1022 AttrBuilder B(AS, Index); in removeAttributes()
1036 llvm::AttrBuilder B; in addDereferenceableAttr()
1044 llvm::AttrBuilder B; in addDereferenceableOrNullAttr()
1053 llvm::AttrBuilder B; in addAllocSizeAttr()
[all …]
DCore.cpp1834 AttrBuilder B(PA); in LLVMAddFunctionAttr()
1875 AttrBuilder B; in LLVMAddTargetDependentFunctionAttr()
1885 AttrBuilder B(PA); in LLVMRemoveFunctionAttr()
1959 AttrBuilder B(PA); in LLVMAddAttribute()
1965 AttrBuilder B(PA); in LLVMRemoveAttribute()
1977 AttrBuilder B; in LLVMSetParamAlignment()
2186 AttrBuilder B(PA); in LLVMAddInstrAttribute()
2196 AttrBuilder B(PA); in LLVMRemoveInstrAttribute()
2206 AttrBuilder B; in LLVMSetInstrParamAlignment()
DFunction.cpp195 AttrBuilder B(AS, AS.getSlotIndex(0)); in addAttr()
205 AttrBuilder B(AS, AS.getSlotIndex(0)); in removeAttr()
DVerifier.cpp1404 Assert(!AttrBuilder(Attrs, Idx) in verifyParameterAttrs()
2664 static AttrBuilder getParameterABIAttributes(int I, AttributeSet Attrs) { in getParameterABIAttributes()
2669 AttrBuilder Copy; in getParameterABIAttributes()
2709 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall()
2710 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp26 AttrBuilder().addAttribute(Attribute::StructRet))); in TEST()
29 AttrBuilder().addAttribute(Attribute::ByVal))); in TEST()
32 AttrBuilder().addAttribute(Attribute::NoUnwind))); in TEST()
/external/llvm/docs/
DHowToUseAttributes.rst63 ``AttrBuilder``
68 ``AttributeSet`` objects. The ``AttrBuilder`` class allows you to add and
72 An ``AttrBuilder`` object is *not* designed to be passed around by value. It
75 Note: It is advised that you do *not* use the ``AttrBuilder::addRawValue()``
76 method or the ``AttrBuilder(uint64_t Val)`` constructor. These are for
/external/llvm/bindings/go/llvm/
DIRBindings.cpp27 AttrBuilder B(PA); in LLVMAddFunctionAttr2()
44 AttrBuilder B(PA); in LLVMRemoveFunctionAttr2()
/external/llvm/lib/AsmParser/
DLLParser.h140 std::map<unsigned, AttrBuilder> NumberedAttrBuilders;
225 bool ParseStringAttribute(AttrBuilder &B);
231 bool ParseOptionalParamAttrs(AttrBuilder &B);
232 bool ParseOptionalReturnAttrs(AttrBuilder &B);
289 bool ParseFnAttributeValuePairs(AttrBuilder &B,
DLLParser.cpp112 AttrBuilder B; in ValidateEndOfModule()
120 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
140 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
151 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
977 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, in ParseFnAttributeValuePairs()
1337 bool LLParser::ParseStringAttribute(AttrBuilder &B) { in ParseStringAttribute()
1348 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) { in ParseOptionalParamAttrs()
1437 bool LLParser::ParseOptionalReturnAttrs(AttrBuilder &B) { in ParseOptionalReturnAttrs()
2105 AttrBuilder ArgAttrs; in ParseParameterList()
2208 AttrBuilder Attrs; in ParseArgumentList()
[all …]
/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp43 llvm::AttrBuilder B; in ac_add_attr_dereferenceable()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp703 AttrBuilder B(PAL, i + 1); in RemoveDeadStuffFromFunction()
793 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction()
856 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
873 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
DFunctionAttrs.cpp211 AttrBuilder B; in addReadAttrs()
492 AttrBuilder B; in addArgumentAttrs()
557 AttrBuilder B; in addArgumentAttrs()
657 AttrBuilder B, R; in addArgumentAttrs()
DArgumentPromotion.cpp686 AttrBuilder B(attrs, ArgIndex); in DoPromotion()
801 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
863 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
/external/llvm/unittests/IR/
DInstructionsTest.cpp517 AttrBuilder AB; in TEST()
535 AttrBuilder AB; in TEST()
563 AttrBuilder AB; in TEST()
/external/llvm/lib/CodeGen/
DAnalysis.cpp541 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall()
543 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp188 AttrBuilder attrBuilder; in CompileVS()
390 AttrBuilder attrBuilder; in CompileFS()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2652 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall()
2693 if (AttrBuilder(CallerPAL.getParamAttributes(i + 1), i + 1). in transformConstExprCastCall()
2763 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall()
2785 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall()
2813 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall()
2962 AttrBuilder B(Attr, Idx); in transformCallThroughTrampoline()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp763 llvm::AttrBuilder B; in lp_add_attr_dereferenceable()
/external/clang/lib/CodeGen/
DCGCall.cpp1610 llvm::AttrBuilder &FuncAttrs, in AddAttributesFromFunctionProtoType()
1623 llvm::AttrBuilder FuncAttrs; in ConstructAttributeList()
1624 llvm::AttrBuilder RetAttrs; in ConstructAttributeList()
1854 llvm::AttrBuilder SRETAttrs; in ConstructAttributeList()
1865 llvm::AttrBuilder Attrs; in ConstructAttributeList()
1877 llvm::AttrBuilder Attrs; in ConstructAttributeList()
2228 llvm::AttrBuilder Attrs; in EmitFunctionProlog()
2264 llvm::AttrBuilder Attrs; in EmitFunctionProlog()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1129 AttributeSet::get(AS.getContext(), Index, AttrBuilder(Attr))); in legalizeCallAttributes()
2191 AttrBuilder R; in RemoveNonValidAttrAtIndex()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2533 AttrBuilder B; in visitCallSite()
3585 AttrBuilder B; in runOnFunction()
DDataFlowSanitizer.cpp697 AttrBuilder B; in runOnModule()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1293 static void decodeLLVMAttributesForBitcode(AttrBuilder &B, in decodeLLVMAttributesForBitcode()
1346 AttrBuilder B; in parseAttributeBlock()
1534 AttrBuilder B; in parseAttributeGroupBlock()

12