OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TypeBuilder
(Results
1 - 3
of
3
) 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
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/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/lib/Transforms/Instrumentation/
PathProfiling.cpp
57
#include "llvm/IR/
TypeBuilder
.h"
373
template<bool xcompile> class
TypeBuilder
<PathProfilingFunctionTable,
378
TypeBuilder
<types::i<32>, xcompile>::get(C), // type
379
TypeBuilder
<types::i<32>, xcompile>::get(C), // array size
380
TypeBuilder
<types::i<8>*, xcompile>::get(C), // array/hash ptr
385
typedef
TypeBuilder
<PathProfilingFunctionTable, true>
[
all
...]
Completed in 73 milliseconds