Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/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 …]
DCFGBuilder.cpp26 FunctionType *FTy = TypeBuilder<void(), false>::get(*Context); in CFGHolder()
/external/swiftshader/third_party/LLVM/unittests/Support/
DTypeBuilderTest.cpp21 …EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, true>::get(getGlobalContext()))); in TEST()
22 …EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, false>::get(getGlobalContext()))… in TEST()
25 (TypeBuilder<void*, false>::get(getGlobalContext()))); in TEST()
27 (TypeBuilder<const void*, false>::get(getGlobalContext()))); in TEST()
29 (TypeBuilder<volatile void*, false>::get(getGlobalContext()))); in TEST()
31 (TypeBuilder<const volatile void*, false>::get( in TEST()
36 …EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<int8_t, false>::get(getGlobalContext()… in TEST()
37 …EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<uint8_t, false>::get(getGlobalContext(… in TEST()
38 …EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<int16_t, false>::get(getGlobalContext… in TEST()
39 …EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<uint16_t, false>::get(getGlobalContex… in TEST()
[all …]
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/include/llvm/Support/
DTypeBuilder.h77 template<typename T, bool cross_compilable> class TypeBuilder {};
96 template<typename T, bool cross> class TypeBuilder<const T, cross>
97 : public TypeBuilder<T, cross> {};
98 template<typename T, bool cross> class TypeBuilder<volatile T, cross>
99 : public TypeBuilder<T, cross> {};
100 template<typename T, bool cross> class TypeBuilder<const volatile T, cross>
101 : public TypeBuilder<T, cross> {};
104 template<typename T, bool cross> class TypeBuilder<T*, cross> {
107 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context)); in get()
112 template<typename T, bool cross> class TypeBuilder<T&, cross> {};
[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/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp299 TypeBuilder<int(int), false>::get(Context), in TEST_F()
305 TypeBuilder<int(), false>::get(Context), in TEST_F()
311 ConstantInt::get(TypeBuilder<int, false>::get(Context), 7)); in TEST_F()
326 cast<FunctionType>(TypeBuilder<void(void), false>::get(Context)); in TEST_F()
383 cast<FunctionType>(TypeBuilder<int(), false>::get(Context)); in TEST_F()
398 Builder.CreateRet(ConstantInt::get(TypeBuilder<int, false>::get(Context),42)); in TEST_F()
549 Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context), in TEST_F()
553 Value *Val = ConstantInt::get(TypeBuilder<int, false>::get(Context), 1); in TEST_F()
566 Val = ConstantInt::get(TypeBuilder<int, false>::get(Context), 2); in TEST_F()
DJITEventListenerTest.cpp80 TypeBuilder<int32_t(int32_t), false>::get(getGlobalContext()), in buildFunction()
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h134 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
153 class TypeBuilder<DummyStruct, XCompile> {
157 TypeBuilder<types::i<32>[256], XCompile>::get(Context)); in get()
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp374 template<bool xcompile> class TypeBuilder<PathProfilingFunctionTable, class
379 TypeBuilder<types::i<32>, xcompile>::get(C), // type in get()
380 TypeBuilder<types::i<32>, xcompile>::get(C), // array size in get()
381 TypeBuilder<types::i<8>*, xcompile>::get(C), // array/hash ptr in get()
386 typedef TypeBuilder<PathProfilingFunctionTable, true>
1303 Type* voidPtr = TypeBuilder<types::i<8>*, true>::get(*Context); in runOnFunction()
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h126 struct TypeBuilder { struct
138 explicit TypeBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TypeBuilder() argument
142 TypeBuilder &operator=(const TypeBuilder &); argument
155 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/swiftshader/third_party/llvm-7.0/llvm/tools/lli/
Dlli.cpp300 TypeBuilder<int64_t(void), false>::get(Context), in addCygMingExtraModule()
304 TypeBuilder<int32_t(void), false>::get(Context), in addCygMingExtraModule()
/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();
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DExtendingLLVM.rst256 #. ``llvm/include/llvm/IR/TypeBuilder.h``:
302 #. ``llvm/include/llvm/IR/TypeBuilder.h``:
DProgrammersManual.rst2916 statically, you can use ``TypeBuilder<...>::get()``, defined in
2917 ``llvm/Support/TypeBuilder.h``, to retrieve them. ``TypeBuilder`` has two forms
2919 library use. ``TypeBuilder<T, true>`` requires that ``T`` be independent of the
2922 and pointers, functions, arrays, etc. built of those. ``TypeBuilder<T, false>``
2928 FunctionType *ft = TypeBuilder<types::i<8>(types::i<32>*), true>::get();