HomeSort by relevance Sort by last modified time
    Searched refs:TypeBuilder (Results 1 - 5 of 5) sorted by null

  /external/llvm/include/llvm/IR/
TypeBuilder.h 1 //===---- llvm/TypeBuilder.h - Builder for LLVM types -----------*- C++ -*-===//
10 // This file defines the TypeBuilder class, which is used as a convenient way to
24 /// TypeBuilder - This provides a uniform API for looking up types
27 /// ieee_float, ppc_fp128, etc. TypeBuilder<T, false> allows T to be
30 /// these. TypeBuilder<T, true> removes native C types from this set
49 /// Function::Create(TypeBuilder<types::i<8>(MyType*), true>::get(), ...)
51 /// complain that TypeBuilder<MyType, true>::get() doesn't exist. To fix this,
57 /// template<bool xcompile> class TypeBuilder<MyType, xcompile> {
63 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
64 /// TypeBuilder<types::i<32>*, xcompile>::get(Context)
    [all...]
  /external/llvm/unittests/IR/
TypeBuilderTest.cpp 1 //===- llvm/unittest/TypeBuilderTest.cpp - TypeBuilder tests --------------===//
10 #include "llvm/IR/TypeBuilder.h"
20 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, true>::get(getGlobalContext())));
21 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, false>::get(getGlobalContext())));
24 (TypeBuilder<void*, false>::get(getGlobalContext())));
26 (TypeBuilder<const void*, false>::get(getGlobalContext())));
28 (TypeBuilder<volatile void*, false>::get(getGlobalContext())));
30 (TypeBuilder<const volatile void*, false>::get(
35 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<int8_t, false>::get(getGlobalContext())));
36 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<uint8_t, false>::get(getGlobalContext())))
    [all...]
  /external/llvm/unittests/ExecutionEngine/Orc/
OrcTestCommon.h 22 #include "llvm/IR/TypeBuilder.h"
67 TypeBuilder<FuncType, false>::get(M->getContext()),
85 // TypeBuilder specialization for DummyStruct.
87 class TypeBuilder<DummyStruct, XCompile> {
91 TypeBuilder<types::i<32>[256], XCompile>::get(Context), nullptr);
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTestBase.h 27 #include "llvm/IR/TypeBuilder.h"
51 TypeBuilder<FuncType, false>::get(Context),
112 TypeBuilder<FuncType, false>::get(Context),
139 Type *GlobalTy = TypeBuilder<types::i<32>, true>::get(Context);
  /external/llvm/tools/lli/
lli.cpp 34 #include "llvm/IR/TypeBuilder.h"
347 TypeBuilder<int64_t(void), false>::get(Context),
351 TypeBuilder<int32_t(void), false>::get(Context),

Completed in 407 milliseconds