Home
last modified time | relevance | path

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

12345

/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/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-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);
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h35 class AttrBuilder; variable
259 static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
293 removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
374 friend class AttrBuilder;
419 const AttrBuilder &B);
440 const AttrBuilder &B) const;
467 const AttrBuilder &B) const {
484 LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
509 LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
754 class AttrBuilder {
[all …]
DAutoUpgrade.h19 class AttrBuilder; variable
99 void UpgradeAttributes(AttrBuilder &B);
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.h92 class AttrBuilder : public AbstractOpAttrs {
94 AttrBuilder() in AttrBuilder() function
97 ~AttrBuilder() override {} in ~AttrBuilder()
98 explicit AttrBuilder(const char* op) in AttrBuilder() function
116 AttrBuilder& NumInputs(int n);
119 AttrBuilder& Set(StringPiece attr_name, T&& value) { in Set()
128 AttrBuilder& Set(StringPiece attr_name, const AttrValue& value) { in Set()
169 void CopyAttributes(const AttrBuilder& other);
211 Status AttrBuilder::Get(StringPiece attr_name, int* value) const;
213 Status AttrBuilder::Get(StringPiece attr_name, float* value) const;
[all …]
Dattr_builder.cc140 Status AttrBuilder::Get(StringPiece attr_name, TYPE* value) const { \
159 AttrBuilder& AttrBuilder::NumInputs(int n) { in NumInputs()
165 void AttrBuilder::FillAttrValueMap(AttrValueMap* m) const { in FillAttrValueMap()
205 void AttrBuilder::FillAttrValueMapWithoutDefaults(AttrValueMap* m) const { in FillAttrValueMapWithoutDefaults()
219 void AttrBuilder::AddAttrIfNotPresent(StringPiece attr_name, in AddAttrIfNotPresent()
224 const NodeDef& AttrBuilder::BuildNodeDef() { in BuildNodeDef()
237 void AttrBuilder::CopyAttributes(const AttrBuilder& other) { in CopyAttributes()
283 tensorflow::Fprint128 AttrBuilder::CacheKey(const StringPiece device) { in CacheKey()
292 tensorflow::Fprint128 AttrBuilder::BuildCacheKeyForDevice( in BuildCacheKeyForDevice()
303 void AttrBuilder::InitializeNodeDef() { in InitializeNodeDef()
[all …]
Dattr_builder_test.cc74 AttrBuilder a("op_name"); in TEST()
94 TEST(AttrBuilder, FillAttrValueMapWithoutDefaults_MatMul) { in TEST() argument
95 AttrBuilder a("MatMul"); in TEST()
106 TEST(AttrBuilder, FillAttrValueMapWithoutDefaults_UnknownOp) { in TEST() argument
107 AttrBuilder a("SomeUnknownOp"); in TEST()
Deager_operation.h151 AttrBuilder* MutableAttrs() { return &attrs_; } in MutableAttrs()
152 const AttrBuilder& Attrs() const { return attrs_; } in Attrs()
221 AttrBuilder attrs_;
Dkernel_and_device_test.cc109 NodeDef ndef(AttrBuilder("MatMul") in BM_KernelAndDeviceInit()
130 NodeDef ndef(AttrBuilder("MatMul") in BM_KernelAndDeviceRun()
/external/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 …]
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp657 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
668 AttrBuilder B; in addAttribute()
675 AttrBuilder B; in addAttribute()
688 AttrBuilder B(AS); in addAttributes()
698 AttrBuilder B(*this); in removeAttribute()
706 AttrBuilder B(*this); in removeAttribute()
712 const AttrBuilder &Attrs) const { in removeAttributes()
713 AttrBuilder B(*this); in removeAttributes()
849 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, const AttrBuilder &B) { in get()
1206 const AttrBuilder &B) { in get()
[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 …]
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp26 Context, AttrBuilder().addAttribute(Attribute::NoUnwind)); in TEST()
30 AttrBuilder().addAttribute(Attribute::StructRet)), in TEST()
31 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
/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-project/llvm/unittests/IR/
DAttributesTest.cpp60 AttrBuilder B; in TEST()
76 AttrBuilder B_align_readonly; in TEST()
79 AttrBuilder B_align; in TEST()
81 AttrBuilder B_stackalign_optnone; in TEST()
84 AttrBuilder B_stackalign; in TEST()
151 AttrBuilder B; in TEST()
/external/llvm-project/llvm/docs/
DHowToUseAttributes.rst62 ``AttrBuilder``
67 ``AttributeList`` objects. The ``AttrBuilder`` class allows you to add and
71 An ``AttrBuilder`` object is *not* designed to be passed around by value. It
74 Note: It is advised that you do *not* use the ``AttrBuilder::addRawValue()``
75 method or the ``AttrBuilder(uint64_t Val)`` constructor. These are for
/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/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Djit_pch.hpp127 const llvm::AttrBuilder& b) in GetFuncAttribSet()
135 const llvm::AttrBuilder& b) in GetFuncAttribSet()
/external/llvm-project/clang/include/clang/CodeGen/
DCodeGenABITypes.h33 class AttrBuilder; variable
132 llvm::AttrBuilder &attrs);
/external/llvm/bindings/go/llvm/
DIRBindings.cpp27 AttrBuilder B(PA); in LLVMAddFunctionAttr2()
44 AttrBuilder B(PA); in LLVMRemoveFunctionAttr2()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad.cc121 explicit BiasAddGradientFunction(AttrBuilder f_attrs) in BiasAddGradientFunction()
155 AttrBuilder forward_attrs_;
/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,

12345