Home
last modified time | relevance | path

Searched refs:IndexType (Results 1 – 25 of 122) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h47 class IndexType {
56 IndexType() {} in IndexType() function
81 class IndexRange : public std::pair<IndexType,IndexType> {
84 IndexRange(IndexType Start, IndexType End, bool F = false, bool T = false)
85 : std::pair<IndexType,IndexType>(Start, End), Fixed(F), TiedEnd(T) {}
110 void add(IndexType Start, IndexType End, bool Fixed, bool TiedEnd) { in add()
132 IndexType getPrevIndex(IndexType Idx) const;
133 IndexType getNextIndex(IndexType Idx) const;
186 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
199 HexagonBlockRanges::IndexType HexagonBlockRanges::IndexType::operator++ () {
[all …]
H A DHexagonBlockRanges.cpp50 IndexType E = (end() != IndexType::None) ? end() : start(); in contains()
51 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains()
159 IndexType Idx = IndexType::First; in InstrIndexMap()
181 return IndexType::None; in getIndex()
188 return IndexType::None; in getPrevIndex()
202 return IndexType::None; in getNextIndex()
379 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
388 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
438 DeadMap[R].add(IndexType::Entry, IndexType::Exit, false, false); in computeDeadMap()
455 IndexType AE = (A->end() == IndexType::None) ? A->start() : A->end(); in computeDeadMap()
[all …]
H A DHexagonFrameLowering.cpp2227 using IndexType = HexagonBlockRanges::IndexType; in optimizeSpillSlots() typedef
2338 LastStore[FI] = IndexType::Entry; in optimizeSpillSlots()
2346 LastLoad[FI] = IndexType::None; in optimizeSpillSlots()
2355 IndexType LL = I.second; in optimizeSpillSlots()
2356 if (LL == IndexType::None) in optimizeSpillSlots()
2359 IndexType &LS = LastStore[I.first]; in optimizeSpillSlots()
2360 if (LS != IndexType::None) in optimizeSpillSlots()
2364 LS = IndexType::None; in optimizeSpillSlots()
2367 IndexType LS = I.second; in optimizeSpillSlots()
2368 if (LS == IndexType::None) in optimizeSpillSlots()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DEnumeratedArray.h23 Enumeration LargestEnum = Enumeration::Last, typename IndexType = int,
24 IndexType Size = 1 + static_cast<IndexType>(LargestEnum)>
29 for (IndexType IX = 0; IX < Size; ++IX) { in EnumeratedArray()
34 auto IX = static_cast<const IndexType>(Index);
41 IndexType, Size> &>(*this)[Index]);
43 inline IndexType size() { return Size; } in size()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/variant/variant.variant/
H A Dvariant_size.pass.cpp41 template <class IndexType>
43 using Lim = std::numeric_limits<IndexType>; in test_index_type()
49 template <class IndexType>
51 using Lim = std::numeric_limits<IndexType>; in test_index_internals()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.cpp13 mlir::Type IndexType = mlir::IndexType::get(&Context); variable
21 mlir::TupleType::get(&Context, mlir::TypeRange({IndexType, FloatType}));
37 mlir::Attribute TypeAttr = mlir::TypeAttr::get(IndexType);
H A Dmlir-support.gdb25 # CHECK-LABEL: +print IndexType
26 print IndexType
27 # CHECK: typeID = mlir::TypeID::get<mlir::IndexType>()
57 # CHECK-NEXT: typeID = mlir::TypeID::get<mlir::IndexType>()
129 # CHECK: typeID = mlir::TypeID::get<mlir::IndexType>()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypes.cpp28 bool Type::isIndex() const { return isa<IndexType>(); } in isIndex()
74 return isSignlessInteger() || isa<IndexType>(); in isSignlessIntOrIndex()
78 return isSignlessInteger() || isa<IndexType, FloatType>(); in isSignlessIntOrIndexOrFloat()
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dscf.py23 index_type = IndexType.get()
42 index_type = IndexType.get()
59 index_type = IndexType.get()
H A Dfunc.py82 bar = func.FuncOp("bar", ([], [IndexType.get()]))
89 func.CallOp([IndexType.get()], "bar", [])
H A Dshape.py26 DenseElementsAttr.get(np.array([10, 20], dtype=np.int64), type=IndexType.get()))
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp40 return RankedTensorType::get({rank}, IndexType::get(ctx)); in getExtentTensorType()
405 inferredReturnTypes.assign({IndexType::get(context)}); in inferReturnTypes()
411 return eachHasOnlyOneOfTypes<SizeType, IndexType>(l, r); in isCompatibleReturnTypes()
1088 Type indexTy = IndexType::get(getContext()); in fold()
1275 inferredReturnTypes.assign({IndexType::get(context)}); in inferReturnTypes()
1379 if (op.getType().isa<IndexType>()) { in matchAndRewrite()
1530 Type indexTy = IndexType::get(getContext()); in fold()
1631 Type indexTy = IndexType::get(context); in inferReturnTypes()
1683 return inputs[0].isa<IndexType, SizeType>() && outputs[0].isa<IndexType>(); in areCastCompatible()
1798 if (!block.getArgument(0).getType().isa<IndexType>()) in verify()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFileIndexTests.cpp103 EXPECT_THAT(runFuzzyFind(*FS.buildIndex(IndexType::Light), ""), IsEmpty()); in TEST()
107 EXPECT_THAT(runFuzzyFind(*FS.buildIndex(IndexType::Light), ""), in TEST()
109 EXPECT_THAT(getRefs(*FS.buildIndex(IndexType::Light), SymbolID("1")), in TEST()
117 for (auto Type : {IndexType::Light, IndexType::Heavy}) in TEST()
137 for (auto Type : {IndexType::Light, IndexType::Heavy}) in TEST()
150 auto Symbols = FS.buildIndex(IndexType::Light); in TEST()
156 auto Empty = FS.buildIndex(IndexType::Light); in TEST()
499 runFuzzyFind(*FS.buildIndex(IndexType::Light, DuplicateHandling::Merge), in TEST()
521 runFuzzyFind(*FS.buildIndex(IndexType::Light, DuplicateHandling::Merge), in TEST()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp66 auto IndexType = DBI->isIndirectDebugValue() in replaceWithLocal() local
70 MO.ChangeToTargetIndex(IndexType, LocalId); in replaceWithLocal()
/llvm-project-15.0.7/mlir/lib/Dialect/EmitC/IR/
H A DEmitC.cpp72 return ((input.isa<IntegerType, FloatType, IndexType, emitc::OpaqueType, in areCastCompatible()
74 (output.isa<IntegerType, FloatType, IndexType, emitc::OpaqueType, in areCastCompatible()
89 if (arg.getType().isa<IndexType>()) { in verify()
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_arith_ops_ext.py27 return _is_any_of(type, [IntegerType, IndexType])
54 IndexType.get(context=_get_default_loc_context(loc)),
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dtypes-array-advanced.ll50 ; CHECK: IndexType: unsigned long (0x22)
68 ; CHECK: IndexType: unsigned long (0x22)
75 ; CHECK: IndexType: unsigned long (0x22)
82 ; CHECK: IndexType: unsigned long (0x22)
103 ; CHECK: IndexType: unsigned long (0x22)
163 ; CHECK: IndexType: unsigned long (0x22)
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dtypedefs.td19 // DEF: ::test::IndexType,
31 // DEF-NEXT: .Case(::test::IndexType::getMnemonic()
32 // DEF-NEXT: value = ::test::IndexType::parse(parser);
91 // DECL-LABEL: class IndexType : public ::mlir::Type
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DFileIndex.h42 enum class IndexType { enum
86 buildIndex(IndexType,
H A DFileIndex.cpp270 FileSymbols::buildIndex(IndexType Type, DuplicateHandling DuplicateHandle, in buildIndex()
384 case IndexType::Light: in buildIndex()
391 case IndexType::Heavy: in buildIndex()
443 IndexType::Heavy, DuplicateHandling::PickOne, &IndexVersion); in updatePreamble()
478 IndexType::Light, DuplicateHandling::Merge, &IndexVersion); in updateMain()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DInferIntRangeInterfaceImpls.cpp21 unsigned width = IndexType::kInternalStorageBitWidth; in getIndexRange()
76 if (argRange.umin().getBitWidth() != IndexType::kInternalStorageBitWidth) in inferResultRanges()
/llvm-project-15.0.7/mlir/test/python/ir/
H A Dbuiltin_types.py189 print("index type:", IndexType.get())
226 index = IndexType.get()
470 result_types = [IndexType.get()]
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DLoweringOptions.cpp20 indexBitwidth = dl.getTypeSizeInBits(IndexType::get(ctx)); in LowerToLLVMOptions()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/
H A DUtils.cpp106 if (lhs.getType().isa<IndexType, IntegerType>()) in sgt()
111 if (lhs.getType().isa<IndexType, IntegerType>()) in slt()
/llvm-project-15.0.7/mlir/test/python/dialects/linalg/
H A Dops.py33 @func.FuncOp.from_py_func(IndexType.get(), IndexType.get())

12345