Searched refs:TypeBuilder (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/IR/ |
D | TypeBuilderTest.cpp | 20 …EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, true>::get(getGlobalContext()))); in TEST() 21 …EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, false>::get(getGlobalContext()))… in TEST() 24 (TypeBuilder<void*, false>::get(getGlobalContext()))); in TEST() 26 (TypeBuilder<const void*, false>::get(getGlobalContext()))); in TEST() 28 (TypeBuilder<volatile void*, false>::get(getGlobalContext()))); in TEST() 30 (TypeBuilder<const volatile void*, false>::get( in TEST() 35 …EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<int8_t, false>::get(getGlobalContext()… in TEST() 36 …EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<uint8_t, false>::get(getGlobalContext(… in TEST() 37 …EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<int16_t, false>::get(getGlobalContext… in TEST() 38 …EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<uint16_t, false>::get(getGlobalContex… in TEST() [all …]
|
/external/llvm/include/llvm/IR/ |
D | TypeBuilder.h | 77 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/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 52 TypeBuilder<FuncType, false>::get(Context), in startFunction() 114 TypeBuilder<FuncType, false>::get(Context), in insertExternalReferenceToFunction() 141 Type *GlobalTy = TypeBuilder<types::i<32>, true>::get(Context); in insertGlobalInt32()
|
/external/llvm/tools/lli/ |
D | lli.cpp | 365 TypeBuilder<int64_t(void), false>::get(Context), in addCygMingExtraModule() 369 TypeBuilder<int32_t(void), false>::get(Context), in addCygMingExtraModule()
|
/external/llvm/docs/ |
D | ExtendingLLVM.rst | 256 #. ``llvm/include/llvm/IR/TypeBuilder.h``: 302 #. ``llvm/include/llvm/IR/TypeBuilder.h``:
|
D | ProgrammersManual.rst | 2130 statically, you can use ``TypeBuilder<...>::get()``, defined in 2131 ``llvm/Support/TypeBuilder.h``, to retrieve them. ``TypeBuilder`` has two forms 2133 library use. ``TypeBuilder<T, true>`` requires that ``T`` be independent of the 2136 and pointers, functions, arrays, etc. built of those. ``TypeBuilder<T, false>`` 2142 FunctionType *ft = TypeBuilder<types::i<8>(types::i<32>*), true>::get();
|