Home
last modified time | relevance | path

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

123

/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/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.h85 class AttrBuilder {
87 explicit AttrBuilder(const char* op) in AttrBuilder() function
94 AttrBuilder& NumInputs(int n);
97 AttrBuilder& Set(StringPiece attr_name, T&& value) { in Set()
151 AttrBuilder& AttrBuilder::Set(StringPiece attr_name, int&& value);
153 AttrBuilder& AttrBuilder::Set(StringPiece attr_name, float&& value);
155 AttrBuilder& AttrBuilder::Set(StringPiece attr_name, bool&& value);
157 AttrBuilder& AttrBuilder::Set(StringPiece attr_name,
Dattr_builder.cc126 AttrBuilder& AttrBuilder::Set(StringPiece attr_name, value_type&& value) { \
139 AttrBuilder& AttrBuilder::NumInputs(int n) { in NumInputs()
145 void AttrBuilder::FillAttrValueMap(AttrValueMap* m, in FillAttrValueMap()
183 const NodeDef& AttrBuilder::BuildNodeDef() { in BuildNodeDef()
235 tensorflow::Fprint128 AttrBuilder::CacheKey(const string& device) { in CacheKey()
244 tensorflow::Fprint128 AttrBuilder::BuildCacheKeyForDevice( in BuildCacheKeyForDevice()
282 void AttrBuilder::MayBeInitializeNodeDef() { in MayBeInitializeNodeDef()
Deager_operation.h44 tensorflow::AttrBuilder* MutableAttrs() { return &attrs_; } in MutableAttrs()
45 const tensorflow::AttrBuilder& Attrs() const { return attrs_; } in Attrs()
72 tensorflow::AttrBuilder attrs_;
Dkernel_and_device_test.cc112 NodeDef ndef(AttrBuilder("MatMul") in BM_KernelAndDeviceInit()
135 NodeDef ndef(AttrBuilder("MatMul") in BM_KernelAndDeviceRun()
Dattr_builder_test.cc73 AttrBuilder a("op_name"); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.h36 class AttrBuilder; variable
225 static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
255 const AttrBuilder &AttrsToRemove) const;
332 friend class AttrBuilder;
374 const AttrBuilder &B);
393 const AttrBuilder &B) const;
418 const AttrBuilder &B) const {
435 const AttrBuilder &AttrsToRemove) const;
458 const AttrBuilder &AttrsToRemove) const {
682 class AttrBuilder {
[all …]
DFunction.h349 void addAttributes(unsigned i, const AttrBuilder &Attrs);
358 void addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
367 void removeAttributes(unsigned i, const AttrBuilder &Attrs);
376 void removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
DArgument.h110 void addAttrs(AttrBuilder &B);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp511 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
522 AttrBuilder B; in addAttribute()
529 AttrBuilder B; in addAttribute()
542 AttrBuilder B(AS); in addAttributes()
552 AttrBuilder B(*this); in removeAttribute()
560 AttrBuilder B(*this); in removeAttribute()
566 const AttrBuilder &Attrs) const { in removeAttributes()
567 AttrBuilder B(*this); in removeAttributes()
681 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, const AttrBuilder &B) { in get()
980 const AttrBuilder &B) { in get()
[all …]
DFunction.cpp168 void Argument::addAttrs(AttrBuilder &B) { in addAttrs()
367 void Function::addAttributes(unsigned i, const AttrBuilder &Attrs) { in addAttributes()
385 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in addParamAttrs()
403 void Function::removeAttributes(unsigned i, const AttrBuilder &Attrs) { in removeAttributes()
421 void Function::removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in removeParamAttrs()
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp24 Context, AttrBuilder().addAttribute(Attribute::NoUnwind)); in TEST()
28 AttrBuilder().addAttribute(Attribute::StructRet)), in TEST()
29 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp55 AttrBuilder B; in TEST()
71 AttrBuilder B_align_readonly; in TEST()
74 AttrBuilder B_align; in TEST()
76 AttrBuilder B_stackalign_optnone; in TEST()
79 AttrBuilder B_stackalign; in TEST()
146 AttrBuilder B; 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/swiftshader/third_party/llvm-7.0/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/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,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h144 std::map<unsigned, AttrBuilder> NumberedAttrBuilders;
265 bool ParseStringAttribute(AttrBuilder &B);
271 bool ParseOptionalParamAttrs(AttrBuilder &B);
272 bool ParseOptionalReturnAttrs(AttrBuilder &B);
335 bool ParseFnAttributeValuePairs(AttrBuilder &B,
/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp50 llvm::AttrBuilder B; in ac_add_attr_dereferenceable()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp211 AttrBuilder B; in addReadAttrs()
492 AttrBuilder B; in addArgumentAttrs()
557 AttrBuilder B; in addArgumentAttrs()
657 AttrBuilder B, R; in addArgumentAttrs()
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()
/external/llvm/unittests/IR/
DInstructionsTest.cpp517 AttrBuilder AB; in TEST()
535 AttrBuilder AB; in TEST()
563 AttrBuilder AB; in TEST()

123