Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h47 class IndexType {
56 IndexType() {} in IndexType() function
57 IndexType(unsigned Idx) : Index(Idx) {} in IndexType() function
59 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr()
63 bool operator== (IndexType Idx) const;
65 bool operator!= (IndexType Idx) const;
66 IndexType operator++ ();
68 bool operator< (IndexType Idx) const;
69 bool operator<= (IndexType Idx) const;
72 bool operator> (IndexType Idx) const;
[all …]
H A DHexagonBlockRanges.cpp36 IndexType S = start(), E = end(), AS = A.start(), AE = A.end(); in overlaps()
50 IndexType E = (end() != IndexType::None) ? end() : start(); in contains()
51 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains()
61 IndexType AS = A.start(), AE = A.end(); in merge()
62 if (AS < start() || start() == IndexType::None) in merge()
64 if (end() < AE || end() == IndexType::None) { in merge()
115 IndexType AS = A.start(), AE = A.end(); in addsub()
116 IndexType BS = B.start(), BE = B.end(); in addsub()
120 if (AE == IndexType::None) in addsub()
126 assert(AE != IndexType::None); in addsub()
[all …]
H A DHexagonFrameLowering.cpp2177 using IndexType = HexagonBlockRanges::IndexType; in optimizeSpillSlots() typedef
2211 std::map<int,IndexType> LastStore, LastLoad; in optimizeSpillSlots()
2285 IndexType Index = IndexMap.getIndex(&In); in optimizeSpillSlots()
2287 if (LastStore[FI] == IndexType::None) in optimizeSpillSlots()
2288 LastStore[FI] = IndexType::Entry; in optimizeSpillSlots()
2292 if (LastStore[FI] != IndexType::None) in optimizeSpillSlots()
2294 else if (LastLoad[FI] != IndexType::None) in optimizeSpillSlots()
2295 RL.add(IndexType::Entry, LastLoad[FI], false, false); in optimizeSpillSlots()
2296 LastLoad[FI] = IndexType::None; in optimizeSpillSlots()
2305 IndexType LL = I.second; in optimizeSpillSlots()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DEnumeratedArray.h24 Enumeration LargestEnum = Enumeration::Last, typename IndexType = int,
25 IndexType Size = 1 + static_cast<IndexType>(LargestEnum)>
42 for (IndexType IX = 0; IX < Size; ++IX) { in EnumeratedArray()
48 for (IndexType IX = 0; IX < Size; ++IX) { in EnumeratedArray()
54 auto IX = static_cast<IndexType>(Index);
61 IndexType, Size> &>(*this)[Index]);
63 IndexType size() const { return Size; } in size()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmdspan16 template<class IndexType, size_t... Extents>
20 template<class IndexType, size_t Rank>
24 template<size_t Rank, class IndexType = size_t>
391 template<class ElementType, class IndexType, size_t... ExtentsPack>
392 mdspan(ElementType*, const extents<IndexType, ExtentsPack...>&)
393 -> mdspan<ElementType, extents<IndexType, ExtentsPack...>>;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2811 MachineMemOperand *MMO, ISD::MemIndexType IndexType)
2813 LSBaseSDNodeBits.AddressingMode = IndexType;
2814 assert(getIndexType() == IndexType && "Value truncated");
2859 MachineMemOperand *MMO, ISD::MemIndexType IndexType)
2861 IndexType) {}
2875 MachineMemOperand *MMO, ISD::MemIndexType IndexType)
2877 IndexType) {}
2895 MachineMemOperand *MMO, ISD::MemIndexType IndexType)
2897 LSBaseSDNodeBits.AddressingMode = IndexType;
2898 assert(getIndexType() == IndexType && "Value truncated");
[all …]
H A DISDOpcodes.h1540 inline bool isIndexTypeSigned(MemIndexType IndexType) { in isIndexTypeSigned() argument
1541 return IndexType == SIGNED_SCALED; in isIndexTypeSigned()
H A DSelectionDAG.h1527 ISD::MemIndexType IndexType);
1530 ISD::MemIndexType IndexType);
1547 ISD::MemIndexType IndexType, ISD::LoadExtType ExtTy);
1550 ISD::MemIndexType IndexType,
1554 ISD::MemIndexType IndexType);
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp406 auto IndexType = DBI->isIndirectDebugValue() in replaceWithLocal() local
410 MO.ChangeToTargetIndex(IndexType, LocalId); in replaceWithLocal()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h171 uint32_t IndexType; ///< Index type
163 uint32_t IndexType; ///< Index type global() member
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h400 ArrayRecord(TypeIndex ElementType, TypeIndex IndexType, uint64_t Size, in ArrayRecord() argument
403 IndexType(IndexType), Size(Size), Name(Name) {} in ArrayRecord()
406 TypeIndex getIndexType() const { return IndexType; } in getIndexType()
411 TypeIndex IndexType; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DVOP3PInstructions.td989 int IndexType = _IndexType;
1060 dag IndexKey = !cond(!eq(IndexType, 0) : (ins),
1061 !eq(IndexType, 8) : (ins IndexKey8bit:$index_key_8bit),
1062 !eq(IndexType, 16): (ins IndexKey16bit:$index_key_16bit));
1075 string IndexKeyAsm = !cond(!eq(IndexType, 0) : "",
1076 !eq(IndexType, 8) : "$index_key_8bit",
1077 !eq(IndexType, 16) : "$index_key_16bit");
1114 dag IndexInPat = !cond(!eq(IndexType, 0) : (ins i32:$src2),
1115 … !eq(IndexType, 8) : (ins (i32 (SWMMACIndex8 i32:$src2, i32:$index_key_8bit))),
1116 … !eq(IndexType, 16): (ins (i32 (SWMMACIndex16 i32:$src2, i32:$index_key_16bit))));
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h87 const TypeDescriptor &IndexType; member
H A Dubsan_handlers.cpp391 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrGISel.td518 SubRegIndex SubRegIdx, Operand IndexType,
521 (UIAddrMode GPR64sp:$Rn, IndexType:$offset)),
523 GPR64sp:$Rn, IndexType:$offset)>;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp377 AT.IndexType, AT.ElementType); in visitKnownRecord()
380 AT.Name, AT.Size, AT.IndexType, AT.ElementType); in visitKnownRecord()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h233 QualType IndexType = QualType()) const;
237 bool assumption, QualType IndexType = QualType()) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h193 using IndexType = uint32_t; member
195 IndexType Index;
198 BlockNode(IndexType Index) : Index(Index) {} in BlockNode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4828 ISD::MemIndexType &IndexType, SDValue &Scale, in getUniformBase() argument
4848 IndexType = ISD::SIGNED_SCALED; in getUniformBase()
4878 IndexType = ISD::SIGNED_SCALED; in getUniformBase()
4900 ISD::MemIndexType IndexType; in visitMaskedScatter() local
4902 bool UniformBase = getUniformBase(Ptr, Base, Index, IndexType, Scale, this, in visitMaskedScatter()
4912 IndexType = ISD::SIGNED_SCALED; in visitMaskedScatter()
4925 Ops, MMO, IndexType, false); in visitMaskedScatter()
5018 ISD::MemIndexType IndexType; in visitMaskedGather() local
5020 bool UniformBase = getUniformBase(Ptr, Base, Index, IndexType, Scale, this, in visitMaskedGather()
5031 IndexType = ISD::SIGNED_SCALED; in visitMaskedGather()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dparallel_backend_tbb.h
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1730 // IndexType is size_t, which depends on the bitness of the target. in lowerTypeArray()
1731 TypeIndex IndexType = getPointerSizeInBytes() == 8 in lowerTypeArray()
1777 ArrayRecord AR(ElementTypeIndex, IndexType, ArraySize, Name); in lowerTypeString()
1793 // IndexType is size_t, which depends on the bitness of the target. in lowerTypeBasic()
1794 TypeIndex IndexType = getPointerSizeInBytes() == 8 in lowerTypeBasic()
1799 ArrayRecord AR(CharType, IndexType, ArraySize, Name); in lowerTypeBasic()
1713 TypeIndex IndexType = getPointerSizeInBytes() == 8 lowerTypeArray() local
1776 TypeIndex IndexType = getPointerSizeInBytes() == 8 lowerTypeString() local
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp269 ArrayInfo.IndexType = BDebug.getArrayIndexTypeId(); in completeType()
275 OS.emitInt32(ArrayInfo.IndexType); in emitType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp201 using HashTable = DenseMap<BlockNode::IndexType, Weight>; in combineWeightsByHashing()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp433 error(IO.mapInteger(Record.IndexType, "IndexType")); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp14102 static bool narrowIndex(SDValue &N, ISD::MemIndexType IndexType, SelectionDAG &DAG) { in narrowIndex() argument
14103 if (isIndexTypeSigned(IndexType)) in narrowIndex()
16356 ISD::MemIndexType &IndexType, in legalizeScatterGatherIndexType() argument
16369 if (!isIndexTypeSigned(IndexType)) in legalizeScatterGatherIndexType()
16380 IndexType = ISD::UNSIGNED_SCALED; in legalizeScatterGatherIndexType()
17064 ISD::MemIndexType IndexType = MGN->getIndexType(); in PerformDAGCombine() local
17069 if (legalizeScatterGatherIndexType(DL, Index, IndexType, DCI)) in PerformDAGCombine()
17074 MGN->getMemOperand(), IndexType, MGN->getExtensionType()); in PerformDAGCombine()
17076 if (narrowIndex(Index, IndexType, DAG)) in PerformDAGCombine()
17081 MGN->getMemOperand(), IndexType, MGN->getExtensionType()); in PerformDAGCombine()
[all …]

12