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

  /external/llvm/include/llvm/Support/
TypeBuilder.h 1 //===---- llvm/Support/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
45 /// Function::Create(TypeBuilder<types::i<8>(MyType*), true>::get(), ...)
47 /// complain that TypeBuilder<MyType, true>::get() doesn't exist. To fix this,
51 /// template<bool xcompile> class TypeBuilder<MyType, xcompile> {
57 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
58 /// TypeBuilder<types::i<32>*, xcompile>::get(Context)
    [all...]
  /external/llvm/unittests/Support/
TypeBuilderTest.cpp 1 //===- llvm/unittest/Support/TypeBuilderTest.cpp - TypeBuilder tests -----===//
10 #include "llvm/Support/TypeBuilder.h"
21 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, true>::get(getGlobalContext())));
22 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, false>::get(getGlobalContext())));
25 (TypeBuilder<void*, false>::get(getGlobalContext())));
27 (TypeBuilder<const void*, false>::get(getGlobalContext())));
29 (TypeBuilder<volatile void*, false>::get(getGlobalContext())));
31 (TypeBuilder<const volatile void*, false>::get(
36 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<int8_t, false>::get(getGlobalContext())));
37 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<uint8_t, false>::get(getGlobalContext())))
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
PathProfiling.cpp 62 #include "llvm/Support/TypeBuilder.h"
374 template<bool xcompile> class TypeBuilder<PathProfilingFunctionTable,
379 TypeBuilder<types::i<32>, xcompile>::get(C), // type
380 TypeBuilder<types::i<32>, xcompile>::get(C), // array size
381 TypeBuilder<types::i<8>*, xcompile>::get(C), // array/hash ptr
386 typedef TypeBuilder<PathProfilingFunctionTable, true>
    [all...]

Completed in 164 milliseconds