HomeSort by: relevance | last modified time | path
    Searched defs:TypeIndex (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
PointerUnion.h 67 /// Find the index of a type in a list of types. TypeIndex<T, Us...>::Index
70 template <typename T, typename ...Us> struct TypeIndex;
71 template <typename T, typename ...Us> struct TypeIndex<T, T, Us...> {
75 struct TypeIndex<T, U, Us...> {
76 static constexpr int Index = 1 + TypeIndex<T, Us...>::Index;
78 template <typename T> struct TypeIndex<T> {
178 constexpr int Index = pointer_union_detail::TypeIndex<T, PTs...>::Index;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
TFUtils.h 59 int typeIndex() const { return TypeIndex; }
64 TypeIndex == Other.TypeIndex && Shape == Other.Shape;
75 return getDataType<T>() == TypeIndex;
79 TensorSpec(const std::string &Name, int Port, int TypeIndex,
88 int TypeIndex = 0;
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
TypeIndex.h 1 //===- TypeIndex.h ----------------------------------------------*- C++ -*-===//
95 class TypeIndex {
103 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {}
104 explicit TypeIndex(uint32_t Index) : Index(Index) {}
105 explicit TypeIndex(SimpleTypeKind Kind)
107 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode)
122 static TypeIndex fromArrayIndex(uint32_t Index) {
123 return TypeIndex(Index + FirstNonSimpleIndex);
126 static TypeIndex fromDecoratedArrayIndex(bool IsItem, uint32_t Index) {
127 return TypeIndex((Index + FirstNonSimpleIndex)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
IROutliner.cpp 577 unsigned TypeIndex = 0;
600 Group.SwiftErrorArgument = TypeIndex;
607 Region.AggArgToConstant.insert(std::make_pair(TypeIndex, CST));
608 TypeIndex++;
616 Region.ExtractedArgToAgg.insert(std::make_pair(OriginalIndex, TypeIndex));
617 Region.AggArgToExtracted.insert(std::make_pair(TypeIndex, OriginalIndex));
619 TypeIndex++;
627 Group.NumAggregateInputs = TypeIndex;
649 unsigned TypeIndex = Group.NumAggregateInputs;
669 for (unsigned Jdx = TypeIndex; Jdx < ArgumentSize; Jdx++)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FastISel.cpp 1932 unsigned TypeIndex, OpIndex;
1935 case MVT::i8: TypeIndex = 0; break;
1936 case MVT::i16: TypeIndex = 1; break;
1937 case MVT::i32: TypeIndex = 2; break;
1938 case MVT::i64: TypeIndex = 3;
1952 const DivRemEntry &TypeEntry = OpTable[TypeIndex];

Completed in 44 milliseconds