OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TypeBuilder
(Results
1 - 6
of
6
) 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/unittests/ExecutionEngine/JIT/
JITTest.cpp
29
#include "llvm/Support/
TypeBuilder
.h"
311
TypeBuilder
<int(int), false>::get(Context),
317
TypeBuilder
<int(), false>::get(Context),
323
ConstantInt::get(
TypeBuilder
<int, false>::get(Context), 7));
338
cast<FunctionType>(
TypeBuilder
<void(void), false>::get(Context));
395
cast<FunctionType>(
TypeBuilder
<int(), false>::get(Context));
410
Builder.CreateRet(ConstantInt::get(
TypeBuilder
<int, false>::get(Context),42));
561
Function *F = Function::Create(
TypeBuilder
<int(void), false>::get(Context),
565
Value *Val = ConstantInt::get(
TypeBuilder
<int, false>::get(Context), 1);
578
Val = ConstantInt::get(
TypeBuilder
<int, false>::get(Context), 2)
[
all
...]
JITEventListenerTest.cpp
18
#include "llvm/Support/
TypeBuilder
.h"
80
TypeBuilder
<int32_t(int32_t), false>::get(getGlobalContext()),
JITEventListenerTestCommon.h
23
#include "llvm/Support/
TypeBuilder
.h"
105
TypeBuilder
<int32_t(int32_t), false>::get(GlobalContext),
/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 207 milliseconds