Home
last modified time | relevance | path

Searched refs:TypeBuilder (Results 1 – 19 of 19) sorted by relevance

/external/llvm/unittests/IR/
DTypeBuilderTest.cpp20 EXPECT_EQ(Type::getVoidTy(Context), (TypeBuilder<void, true>::get(Context))); in TEST()
21 EXPECT_EQ(Type::getVoidTy(Context), (TypeBuilder<void, false>::get(Context))); in TEST()
24 (TypeBuilder<void *, false>::get(Context))); in TEST()
26 (TypeBuilder<const void *, false>::get(Context))); in TEST()
28 (TypeBuilder<volatile void *, false>::get(Context))); in TEST()
30 (TypeBuilder<const volatile void *, false>::get(Context))); in TEST()
36 (TypeBuilder<int8_t, false>::get(Context))); in TEST()
38 (TypeBuilder<uint8_t, false>::get(Context))); in TEST()
40 (TypeBuilder<int16_t, false>::get(Context))); in TEST()
42 (TypeBuilder<uint16_t, false>::get(Context))); in TEST()
[all …]
/external/llvm/include/llvm/IR/
DTypeBuilder.h85 template<typename T, bool cross_compilable> class TypeBuilder {};
104 template<typename T, bool cross> class TypeBuilder<const T, cross>
105 : public TypeBuilder<T, cross> {};
106 template<typename T, bool cross> class TypeBuilder<volatile T, cross>
107 : public TypeBuilder<T, cross> {};
108 template<typename T, bool cross> class TypeBuilder<const volatile T, cross>
109 : public TypeBuilder<T, cross> {};
112 template<typename T, bool cross> class TypeBuilder<T*, cross> {
115 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context)); in get()
120 template<typename T, bool cross> class TypeBuilder<T&, cross> {};
[all …]
/external/python/parse_type/tests/
Dtest_cardinality.py9 from parse_type import Cardinality, TypeBuilder, build_type_dict
210 parse_opt_number = TypeBuilder.with_zero_or_one(parse_number)
214 parse_opt_number = TypeBuilder.with_zero_or_one(parse_number)
219 parse_opt_number = TypeBuilder.with_optional(parse_number)
224 parse_color = TypeBuilder.make_choice(["red", "green", "blue"])
225 parse_opt_color = TypeBuilder.with_optional(parse_color)
229 parse_numbers = TypeBuilder.with_zero_or_more(parse_number)
233 parse_numbers = TypeBuilder.with_zero_or_more(parse_number)
237 parse_color = TypeBuilder.make_choice(["red", "green", "blue"])
238 parse_colors = TypeBuilder.with_zero_or_more(parse_color)
[all …]
Dtest_builder.py16 from parse_type import TypeBuilder, build_type_dict
49 parse_nword = TypeBuilder.make_enum({"one": 1, "two": 2, "three": 3})
82 parse_color = TypeBuilder.make_enum(Color)
131 parse_choice = TypeBuilder.make_choice(["one", "two", "three"])
150 parse_choice = TypeBuilder.make_choice(["one", "two", "three"],
163 parse_choice = TypeBuilder.make_choice(["One", "TWO", "three"],
183 parse_choice = TypeBuilder.make_choice(["one", "two", "three"],
197 parse_choice = TypeBuilder.make_choice(["ONE", "two", "Three"],
216 parse_choice2 = TypeBuilder.make_choice2(["zero", "one", "two"],
237 parse_choice2 = TypeBuilder.make_choice2(["ZERO", "one", "Two"],
[all …]
Dtest_cardinality_field0.py21 from parse_type import TypeBuilder, build_type_dict
46 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
64 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
82 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
103 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
Dparse_type_test.py4 from parse_type import TypeBuilder
22 parse_yesno = TypeBuilder.make_enum({
35 parse_color = TypeBuilder.make_enum(Color)
39 parse_person_choice = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
/external/python/parse_type/
DREADME.rst115 from parse_type import TypeBuilder
116 parse_numbers = TypeBuilder.with_many(parse_number, listsep=",")
132 from parse_type import TypeBuilder
134 parse_optional_number = TypeBuilder.with_optional(parse_number)
153 from parse_type import TypeBuilder
155 parse_enum_yesno = TypeBuilder.make_enum({"yes": True, "no": False})
170 from parse_type import TypeBuilder
178 parse_enum_color = TypeBuilder.make_enum(Color)
199 from parse_type import TypeBuilder
201 parse_choice_yesno = TypeBuilder.make_choice(["yes", "no"])
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h71 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
90 class TypeBuilder<DummyStruct, XCompile> {
94 TypeBuilder<types::i<32>[256], XCompile>::get(Context), nullptr); in get()
/external/python/parse_type/parse_type/
Dbuilder.py69 Cardinality, TypeBuilder as CardinalityTypeBuilder
74 class TypeBuilder(CardinalityTypeBuilder): class
290 parse_anything.pattern = TypeBuilder.anything_pattern
Dcardinality_field.py13 from parse_type.cardinality import Cardinality, TypeBuilder
131 type_variant = TypeBuilder.with_cardinality(cardinality,
D__init__.py9 from parse_type.builder import TypeBuilder, build_type_dict
Dcardinality.py87 class TypeBuilder(object): class
/external/llvm-project/flang/lib/Lower/
DConvertType.cpp178 class TypeBuilder { class
181 explicit TypeBuilder( in TypeBuilder() function in __anonef1683680111::TypeBuilder
482 return TypeBuilder{context, defaults}.genFIRTy(tc, kind); in getFIRType()
489 return TypeBuilder{context, defaults}.genFIRTy(tc); in getFIRType()
496 return TypeBuilder{context, defaults}.gen(dataRef); in translateDataRefToFIRType()
503 return TypeBuilder{context, defaults}.gen(*expr); in translateSomeExprToFIRType()
510 return TypeBuilder{context, defaults}.gen(symbol); in translateSymbolToFIRType()
517 return TypeBuilder{context, defaults}.gen(var); in translateVariableToFIRType()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h51 TypeBuilder<FuncType, false>::get(Context), in startFunction()
112 TypeBuilder<FuncType, false>::get(Context), in insertExternalReferenceToFunction()
139 Type *GlobalTy = TypeBuilder<types::i<32>, true>::get(Context); in insertGlobalInt32()
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h12 struct TypeBuilder;
115 typedef TypeBuilder Builder;
144 struct TypeBuilder { struct
160 explicit TypeBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TypeBuilder() argument
164 TypeBuilder &operator=(const TypeBuilder &); argument
178 TypeBuilder builder_(_fbb); argument
/external/llvm/tools/lli/
Dlli.cpp330 TypeBuilder<int64_t(void), false>::get(Context), in addCygMingExtraModule()
334 TypeBuilder<int32_t(void), false>::get(Context), in addCygMingExtraModule()
/external/libyuv/files/tools/ubsan/
Dvptr_blacklist.txt30 type:*TypeBuilder*
/external/llvm/docs/
DExtendingLLVM.rst256 #. ``llvm/include/llvm/IR/TypeBuilder.h``:
302 #. ``llvm/include/llvm/IR/TypeBuilder.h``:
DProgrammersManual.rst2327 statically, you can use ``TypeBuilder<...>::get()``, defined in
2328 ``llvm/Support/TypeBuilder.h``, to retrieve them. ``TypeBuilder`` has two forms
2330 library use. ``TypeBuilder<T, true>`` requires that ``T`` be independent of the
2333 and pointers, functions, arrays, etc. built of those. ``TypeBuilder<T, false>``
2339 FunctionType *ft = TypeBuilder<types::i<8>(types::i<32>*), true>::get();